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

23 lines
451 B
YAML
Raw Normal View History

---
# For NodeJS package
- name: Configure NodeJS pin
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
template:
src: 'apt/nodejs'
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