ansible/roles/etherpad/tasks/0_apt_dependencies.yml

25 lines
491 B
YAML
Raw Normal View History

---
# For NodeJS package
- name: Configure NodeJS pin
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
2019-02-19 10:49:18 +01:00
src: apt/nodejs.j2
dest: /etc/apt/preferences.d/nodejs
mode: 0644
# Install EtherPad dependencies
- name: Install required packages
apt:
2019-03-11 18:02:29 +01:00
name:
- build-essential
- curl
- git
- nodejs
- npm
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded