openstack-ansible-lxc_hosts/tests/inventory
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

3 lines
61 B
Plaintext

[all]
localhost ansible_connection=local ansible_become=True