library/roles/dnet_user_services_perms/tasks/dnet-additional-packages.yml: Ansible 2 compatibility.
This commit is contained in:
parent
064b563c29
commit
f79346cf95
|
@ -1,13 +1,11 @@
|
||||||
---
|
---
|
||||||
- name: Install additional packages, if needed
|
- name: Install additional packages, if needed
|
||||||
apt: pkg={{ item }} state=installed
|
apt: pkg={{ item }} state=installed
|
||||||
with_items: '{{ dnet_additional_packages }}'
|
with_items: '{{ dnet_additional_packages | default ([]) }}'
|
||||||
when: dnet_additional_packages is defined
|
|
||||||
tags: ['dnet', 'pkgs']
|
tags: ['dnet', 'pkgs']
|
||||||
|
|
||||||
- name: Install additional python modules, if needed
|
- name: Install additional python modules, if needed
|
||||||
pip: name={{ item }} state=present
|
pip: name={{ item }} state=present
|
||||||
with_items: '{{ dnet_additional_python_modules }}'
|
with_items: '{{ dnet_additional_python_modules | default ([]) }}'
|
||||||
when: dnet_additional_python_modules is defined
|
|
||||||
tags: ['dnet', 'pkgs']
|
tags: ['dnet', 'pkgs']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue