forked from ISTI-ansible-roles/ansible-roles
library/roles/ubuntu-deb-general: Install a couple of python packages needed by some ansible modules.
This commit is contained in:
parent
29281b49e9
commit
2b08e985ac
|
@ -30,6 +30,12 @@ common_packages:
|
||||||
- xmlstarlet
|
- xmlstarlet
|
||||||
- bsdutils
|
- bsdutils
|
||||||
|
|
||||||
|
default_python_packages:
|
||||||
|
- python-software-properties
|
||||||
|
- python-lxml
|
||||||
|
- python-boto
|
||||||
|
|
||||||
|
|
||||||
# Set this variable in your playbook
|
# Set this variable in your playbook
|
||||||
# additional_packages:
|
# additional_packages:
|
||||||
# - pkg1
|
# - pkg1
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Install the basic packages
|
- name: Install the basic packages
|
||||||
apt: pkg=python-software-properties state=installed
|
apt: pkg={{ item }} state=installed
|
||||||
|
with_items: '{{ default_python_packages }}'
|
||||||
tags: packages
|
tags: packages
|
||||||
|
|
||||||
- name: Install software-properties-common if needed
|
- name: Install software-properties-common if needed
|
||||||
|
|
Loading…
Reference in New Issue