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

22 lines
467 B
YAML
Raw Normal View History

2019-02-07 13:37:11 +01:00
---
# For NodeJS package
- name: Configure NodeJS pin
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
template:
2019-02-19 10:42:57 +01:00
src: apt/nodejs.j2
2019-02-09 07:58:06 +01:00
dest: /etc/apt/preferences.d/nodejs
2019-02-07 13:37:11 +01:00
mode: 0644
# Install CodiMD dependencies
- name: Install required packages
apt:
2019-02-09 08:01:19 +01:00
name: "{{ item }}"
2019-02-07 13:37:11 +01:00
state: present
update_cache: yes
with_items:
- git
- nodejs
- npm
2019-02-09 08:46:16 +01:00
- build-essential
2019-02-09 08:59:48 +01:00
- zlib1g-dev # uws module