![]() 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 |
||
---|---|---|
defaults | ||
doc | ||
files | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
manual-test.rc | ||
other-requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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" }