From 4878798502009b4df8c4640fb51b7461acf328c0 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 12 Feb 2020 18:00:57 +0100 Subject: [PATCH] Always install python-lxml. --- library/roles/ubuntu-deb-general/defaults/main.yml | 2 -- library/roles/ubuntu-deb-general/tasks/packages.yml | 6 ------ 2 files changed, 8 deletions(-) diff --git a/library/roles/ubuntu-deb-general/defaults/main.yml b/library/roles/ubuntu-deb-general/defaults/main.yml index 15e539c4..edeb1e2f 100644 --- a/library/roles/ubuntu-deb-general/defaults/main.yml +++ b/library/roles/ubuntu-deb-general/defaults/main.yml @@ -34,8 +34,6 @@ common_packages: default_python_packages_trusty: - python-software-properties - - python-lxml - - python-boto default_python_packages: - python-lxml diff --git a/library/roles/ubuntu-deb-general/tasks/packages.yml b/library/roles/ubuntu-deb-general/tasks/packages.yml index 488a1b4a..ad434750 100644 --- a/library/roles/ubuntu-deb-general/tasks/packages.yml +++ b/library/roles/ubuntu-deb-general/tasks/packages.yml @@ -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