From b467764f15f1fb06c9c43813095ebb08d0d28754 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 7 Jun 2018 15:32:53 +0100 Subject: [PATCH] vars: Do not install devel packages by default There is no good reason why we need to install devel packages in the containers or the host. If devel packages are required to build pip packages then the individual roles should pull them in instead. Dropping these packages makes the containers slightly smaller and also drops the time it takes to bootstrap them. Change-Id: I813b4800dd3ce22f5f5d7d7cd0ac4fce5661b1e3 --- vars/redhat-7-host.yml | 6 +----- vars/redhat-7.yml | 3 --- vars/suse-42-host.yml | 1 - vars/suse-42.yml | 3 --- vars/ubuntu-16.04-host.yml | 2 -- vars/ubuntu-16.04.yml | 4 ---- vars/ubuntu-18.04-host.yml | 2 -- vars/ubuntu-18.04.yml | 4 ---- 8 files changed, 1 insertion(+), 24 deletions(-) diff --git a/vars/redhat-7-host.yml b/vars/redhat-7-host.yml index 01dfc1b0..19087599 100644 --- a/vars/redhat-7-host.yml +++ b/vars/redhat-7-host.yml @@ -27,14 +27,10 @@ lxc_hosts_distro_packages: - git - libseccomp - libselinux - - libselinux-devel - lxc - - lxc-devel - - lxc-libs - lxc-templates - - policycoreutils-python - python2-lxc - - selinux-policy-devel + - selinux-policy-devel # needed to compile selinux module - unzip - xz diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index 3cfc977e..1869356d 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -38,13 +38,10 @@ _lxc_cache_distro_packages: - gcc - iproute - iputils - - libffi-devel - openssh-server - openssl - - openssl-devel - policycoreutils - python2 - - python-devel - rsync - setup - sudo diff --git a/vars/suse-42-host.yml b/vars/suse-42-host.yml index 39d5049e..1e39f8d8 100644 --- a/vars/suse-42-host.yml +++ b/vars/suse-42-host.yml @@ -34,7 +34,6 @@ lxc_hosts_distro_packages: - git-core - libseccomp2 - lxc - - liblxc-devel - python-lxc-python2 - xz diff --git a/vars/suse-42.yml b/vars/suse-42.yml index 24d333a3..00bceaa7 100644 --- a/vars/suse-42.yml +++ b/vars/suse-42.yml @@ -40,13 +40,10 @@ _lxc_cache_distro_packages: - gcc - iproute2 - iputils - - libffi-devel - - libopenssl-devel - netcfg - openssh - openssl - python - - python-devel - python-xml - rsync - sudo diff --git a/vars/ubuntu-16.04-host.yml b/vars/ubuntu-16.04-host.yml index ed38ab40..689b7f27 100644 --- a/vars/ubuntu-16.04-host.yml +++ b/vars/ubuntu-16.04-host.yml @@ -35,9 +35,7 @@ lxc_hosts_distro_packages: - language-pack-en - liblxc1 - lxc - - lxc-dev - lxc-templates - - python-dev - python-lxc - python3-lxc - systemd-container diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index 18581397..7bc4ce41 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -39,15 +39,11 @@ _lxc_cache_distro_packages: - gcc - iproute2 - iputils-ping - - libffi-dev - - libssl-dev - locales - netbase - openssh-server - openssl - python2.7 - - python-dev - - python3-dev - rsync - sudo - systemd diff --git a/vars/ubuntu-18.04-host.yml b/vars/ubuntu-18.04-host.yml index 64e030f3..a5d6eaa9 100644 --- a/vars/ubuntu-18.04-host.yml +++ b/vars/ubuntu-18.04-host.yml @@ -35,9 +35,7 @@ lxc_hosts_distro_packages: - language-pack-en - liblxc1 - lxc - - lxc-dev - lxc-templates - - python-dev - python-lxc - python3-lxc - systemd-container diff --git a/vars/ubuntu-18.04.yml b/vars/ubuntu-18.04.yml index 1d82703e..e3988c6c 100644 --- a/vars/ubuntu-18.04.yml +++ b/vars/ubuntu-18.04.yml @@ -39,15 +39,11 @@ _lxc_cache_distro_packages: - gcc - iproute2 - iputils-ping - - libffi-dev - - libssl-dev - locales - netbase - openssh-server - openssl - python2.7 - - python-dev - - python3-dev - rsync - sudo - systemd