library/roles/ubuntu-deb-general: Install a couple of python packages needed by some ansible modules.

This commit is contained in:
Andrea Dell'Amico 2017-02-22 18:18:10 +01:00
parent 29281b49e9
commit 2b08e985ac
2 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,12 @@ common_packages:
- xmlstarlet
- bsdutils
default_python_packages:
- python-software-properties
- python-lxml
- python-boto
# Set this variable in your playbook
# additional_packages:
# - pkg1

View File

@ -1,6 +1,7 @@
---
- name: Install the basic packages
apt: pkg=python-software-properties state=installed
apt: pkg={{ item }} state=installed
with_items: '{{ default_python_packages }}'
tags: packages
- name: Install software-properties-common if needed