Role lxc_hosts for OpenStack-Ansible
Go to file
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
defaults Use opensuse_mirror if it's set 2018-06-28 13:07:37 +01:00
doc Updated from global requirements 2018-03-15 07:30:19 +00:00
examples Trivial: Fix the pep8 warning 2018-05-08 17:34:53 +08:00
files Add mount options for better machinectl performance 2018-05-05 17:43:40 +00:00
handlers Fix usage of "|" for tests 2018-07-12 17:03:19 +02:00
meta List ubuntu releases in release order 2018-08-02 15:44:55 +00:00
releasenotes Enable quota system and set qgroups 2018-05-15 14:19:11 +00:00
tasks Fix usage of "|" for tests 2018-07-12 17:03:19 +02:00
templates Simplify inserting apt keys into LXC image 2018-08-06 08:52:41 +00:00
tests redhat: Add the EPEL repository for aria2 and python2-lxc packages 2018-06-13 13:26:48 +01:00
vars Simplify inserting apt keys into LXC image 2018-08-06 08:52:41 +00:00
zuul.d zuul: Add openSUSE Leap 15 jobs to check pipeline 2018-06-28 14:06:52 +01:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 18:28:00 +01:00
.gitreview New git dotfiles for independant repository 2015-11-25 20:56:11 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:34 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:16:58 -04:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:47:07 +01:00
README.rst Add release notes link to README 2018-06-18 19:29:34 +08:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:12:13 +00:00
setup.cfg Update URL home-page in documents according to document migration 2017-07-14 03:21:39 +00:00
setup.py Updated from global requirements 2017-03-02 11:51:17 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 09:12:41 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:38:52 +00:00

Team and repository tags

image

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-lxc_hosts/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-lxc_hosts/

The project home is at:

https://launchpad.net/openstack-ansible