ansible/roles/etherpad/tasks/0_apt_dependencies.yml
Hadrien Patte d54421b013
Fix: line length
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-02 13:31:51 +01:00

23 lines
457 B
YAML

---
# For NodeJS package
- name: Configure NodeJS pin
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: apt/nodejs.j2
dest: /etc/apt/preferences.d/nodejs
mode: 0644
# Install EtherPad dependencies
- name: Install required packages
apt:
name: "{{ item }}"
state: present
update_cache: yes
with_items:
- build-essential
- curl
- git
- nodejs
- npm