2019-02-05 08:35:45 +01:00
|
|
|
---
|
|
|
|
# For NodeJS package
|
|
|
|
- name: Configure NodeJS pin
|
2019-03-02 13:31:51 +01:00
|
|
|
when:
|
|
|
|
- ansible_distribution == 'Debian'
|
|
|
|
- ansible_distribution_release == 'stretch'
|
2019-02-05 08:35:45 +01:00
|
|
|
template:
|
2019-02-19 10:49:18 +01:00
|
|
|
src: apt/nodejs.j2
|
|
|
|
dest: /etc/apt/preferences.d/nodejs
|
2019-02-05 08:35:45 +01:00
|
|
|
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
|
2019-03-03 09:00:29 +01:00
|
|
|
update_cache: true
|
2019-03-03 19:28:57 +01:00
|
|
|
register: apt_result
|
|
|
|
retries: 3
|
|
|
|
until: apt_result is succeeded
|