diff --git a/ubuntu-deb-general/defaults/main.yml b/ubuntu-deb-general/defaults/main.yml index a4f5234..0e1afd4 100644 --- a/ubuntu-deb-general/defaults/main.yml +++ b/ubuntu-deb-general/defaults/main.yml @@ -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 diff --git a/ubuntu-deb-general/tasks/packages.yml b/ubuntu-deb-general/tasks/packages.yml index 67e6c0f..44d0b86 100644 --- a/ubuntu-deb-general/tasks/packages.yml +++ b/ubuntu-deb-general/tasks/packages.yml @@ -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