Role lxc_hosts for OpenStack-Ansible
Go to file
Jesse Pretorius 319e37c8f5 Implement primary and secondary keyserver usage for cache prep
Sometimes, especially with restricted internet access through
proxies or firewalls, the LXC container creation fails when using
the download template.

The failure is due to the inability to access the gpg keyserver
and therefore the inability to validate the downloaded image.

This patch implements the usage of a primary and secondary
keyserver, and uses a primary keyserver which is more likely
to be accessible in restricted environments as it's accessed
on port 80.

Change-Id: Ic1ca3d9f3c7d720e9715b6dcc67a7888910e6d0d
Closes-Bug: #1609479
2016-08-04 13:08:29 +00:00
defaults Implement primary and secondary keyserver usage for cache prep 2016-08-04 13:08:29 +00:00
doc Ensure that doc linting is included in the linters test 2016-07-25 22:53:11 +01:00
files Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
handlers Fix generation of LXC hostnames 2016-05-04 14:14:59 -07:00
meta Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
releasenotes Implement primary and secondary keyserver usage for cache prep 2016-08-04 13:08:29 +00:00
tasks Implement primary and secondary keyserver usage for cache prep 2016-08-04 13:08:29 +00:00
templates Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
tests Make the LXC cache prep use the host package source config 2016-05-18 18:14:17 +01:00
vars Make backup directory in container cache 2016-07-26 18:25:15 +00:00
.gitignore Remove duplicates from .gitignore 2016-07-15 11:34:09 +10:00
.gitreview New git dotfiles for independant repository 2015-11-25 20:56:11 +00:00
CONTRIBUTING.rst IRR for lxc_host 2015-11-03 04:22:57 -06:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
README.rst Ensure that doc linting is included in the linters test 2016-07-25 22:53:11 +01:00
manual-test.rc Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
other-requirements.txt Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
run_tests.sh Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
setup.cfg Updates for typos 2015-12-09 09:17:00 -06:00
setup.py Updated from global requirements 2016-07-15 03:57:29 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:57:29 +00:00
tox.ini Ensure that doc linting is included in the linters test 2016-07-25 22:53:11 +01:00

README.rst

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Default Variables

../../defaults/main.yml

Required Variables

None

Example Playbook

- name: Basic lxc host setup
  hosts: "hosts"
  user: root
  roles:
    - { role: "lxc_hosts" }