21 lines
467 B
YAML
21 lines
467 B
YAML
---
|
|
# For NodeJS package
|
|
- name: Configure NodeJS pin
|
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
|
template:
|
|
src: apt/nodejs.j2
|
|
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
|
|
- build-essential
|
|
- zlib1g-dev # uws module
|