openstack-ansible-lxc_hosts/vars
Jonathan Rosser e64184a3da Simplify inserting apt keys into LXC image
Bionic requires a functioning gpg-agent to run apt-key add. This means
that gpg-agent must be working properly in the chroot when the lxc image
preparation script runs.

Previous changes [1] have enabled apt-key to communicate with gpg-agent
during the lxc_hosts role checks, however the cache prep fails almost
every time when lxc_hosts is used within other role checks.

This is not a new issue, debian-installer is affected too [2].

This change adopts the same route as d-i, and simply copies the host
/etc/apt/trusted.gpg.d directory to the LXC image, removing the
need for apt-key and in turn gpg-agent.

[1] https://review.openstack.org/#/c/588629/
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774

Change-Id: Ia511881f675cd88ecc58360b18531f0dac486b70
2018-08-06 08:52:41 +00:00
..
redhat-7-host.yml redhat: Add the EPEL repository for aria2 and python2-lxc packages 2018-06-13 13:26:48 +01:00
redhat-7.yml Remove dependency on EPEL 2018-06-07 14:00:58 -04:00
suse-42-host.yml Avoid mixing pip and distribution packages. 2018-04-18 15:42:29 +01:00
suse-42.yml SUSE: Add support for openSUSE Leap 15 2018-06-27 07:40:08 +01:00
suse-host.yml SUSE: Add support for openSUSE Leap 15 2018-06-27 07:40:08 +01:00
suse.yml SUSE: Add support for openSUSE Leap 15 2018-06-27 07:40:08 +01:00
ubuntu-16.04-host.yml Avoid mixing pip and distribution packages. 2018-04-18 15:42:29 +01:00
ubuntu-16.04.yml Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00
ubuntu-18.04-host.yml Add Bionic testing 2018-05-14 21:04:09 +02:00
ubuntu-18.04.yml Simplify inserting apt keys into LXC image 2018-08-06 08:52:41 +00:00