Role lxc_hosts for OpenStack-Ansible
9a5dab4ca5
There are 2 ways to realize the privilege escalation needed for the gate jobs. 1) Editing the playbooks (and hope to not forget to write the sudo/become lines for every role) 2) Editing the inventory and set the variable there. I'm taking the second approach with the minimum set of variables (become_method is sudo by default and become_user is root by default). Change-Id: I066ac778f7bf3d3f569791e30067bcab4e8eef6b Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.DS_Store | ||
CONTRIBUTING.rst | ||
dev-requirements.txt | ||
LICENSE | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini |
OpenStack LXC host setup
- tags
-
openstack, lxc, host, cloud, ansible
- category
-
*nix
Role for deployment and setup of an LXC host.
- name: Basic lxc host setup
hosts: "hosts"
user: root
roles:
- { role: "lxc_hosts", tags: [ "lxc-host", "host-setup" ] }