ansible/roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml

22 lines
425 B
YAML
Raw Normal View History

2019-03-10 11:50:07 +01:00
---
- 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
- name: Install required packages
apt:
2019-03-11 18:02:29 +01:00
name:
- git
- nodejs
- npm
- build-essential
2019-03-10 11:50:07 +01:00
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded