openstack-ansible-lxc_conta.../tests/inventory
Jean-Philippe Evrard ddad475511
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: Iac16f49b514f41684b319e3d091b52513f721b55
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-25 16:46:19 -06:00

3 lines
85 B
Plaintext

[all]
localhost ansible_connection=local physical_host=localhost ansible_become=True