ansible-roles/dnet_user_services_perms/tasks/dnet-additional-packages.yml

14 lines
409 B
YAML

---
- name: Install additional packages, if needed
apt: pkg={{ item }} state=installed
with_items: dnet_additional_packages
when: dnet_additional_packages is defined
tags: ['dnet', 'pkgs']
- name: Install additional python modules, if needed
pip: name={{ item }} state=present
with_items: dnet_additional_python_modules
when: dnet_additional_python_modules is defined
tags: ['dnet', 'pkgs']