forked from ISTI-ansible-roles/ansible-roles
Always install python-lxml.
This commit is contained in:
parent
f0c5a54f9d
commit
4878798502
|
@ -34,8 +34,6 @@ common_packages:
|
|||
|
||||
default_python_packages_trusty:
|
||||
- python-software-properties
|
||||
- python-lxml
|
||||
- python-boto
|
||||
|
||||
default_python_packages:
|
||||
- python-lxml
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
- name: Install the basic python packages
|
||||
apt: pkg={{ default_python_packages }} state=present update_cache=yes cache_valid_time=1800
|
||||
when: not is_trusty
|
||||
tags: packages
|
||||
|
||||
- name: Install the basic python packages on trusty
|
||||
|
@ -13,11 +12,6 @@
|
|||
when: is_trusty | bool
|
||||
tags: packages
|
||||
|
||||
- name: Install python-lxml on bionic
|
||||
apt: pkg=python-lxml state=present update_cache=yes cache_valid_time=1800
|
||||
when: is_bionic | bool
|
||||
tags: packages
|
||||
|
||||
- name: Install software-properties-common if needed
|
||||
apt: pkg=software-properties-common state=present update_cache=yes cache_valid_time=1800
|
||||
when: is_ubuntu | bool
|
||||
|
|
Loading…
Reference in New Issue