Limit the npm installation to Debian hosts only

This commit is contained in:
Jose M 2019-11-26 11:28:22 +01:00
parent 85db46bbd8
commit c17424b463

View File

@ -133,9 +133,15 @@
- autoconf - autoconf
- libtool - libtool
- tar - tar
- npm
state: present state: present
- name: Explicitly installing npm for Debian hosts
package:
name: npm
state: present
when:
- ansible_distribution == "Debian"
- name: Ensure Git is present in the host - name: Ensure Git is present in the host
package: package:
name: git name: git