Role lxc_hosts for OpenStack-Ansible
Go to file
Jean-Philippe Evrard 9a5dab4ca5
Use sudo for role testing
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>
2015-11-25 14:39:11 -06:00
defaults IRR for lxc_host 2015-11-03 04:22:57 -06:00
doc IRR for lxc_host 2015-11-03 04:22:57 -06:00
handlers IRR for lxc_host 2015-11-03 04:22:57 -06:00
meta IRR for lxc_host 2015-11-03 04:22:57 -06:00
tasks IRR for lxc_host 2015-11-03 04:22:57 -06:00
templates IRR for lxc_host 2015-11-03 04:22:57 -06:00
tests Use sudo for role testing 2015-11-25 14:39:11 -06:00
.DS_Store IRR for lxc_host 2015-11-03 04:22:57 -06:00
CONTRIBUTING.rst IRR for lxc_host 2015-11-03 04:22:57 -06:00
dev-requirements.txt 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 IRR for lxc_host 2015-11-03 04:22:57 -06:00
run_tests.sh IRR for lxc_host 2015-11-03 04:22:57 -06:00
setup.cfg IRR for lxc_host 2015-11-03 04:22:57 -06:00
setup.py IRR for lxc_host 2015-11-03 04:22:57 -06:00
tox.ini IRR for lxc_host 2015-11-03 04:22:57 -06:00

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" ] }