ansible/roles/codimd/tasks/0_apt_dependencies.yml
Alexandre Iooss fd7efc6775 Fix YML
2019-02-09 08:01:19 +01:00

19 lines
411 B
YAML

---
# 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 CodiMD dependencies
- name: Install required packages
apt:
name: "{{ item }}"
state: present
update_cache: yes
with_items:
- git
- nodejs
- npm