openstack-ansible-apt_packa.../tests/inventory
Jean-Philippe Evrard e7b9f319d7 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: I4f7d423ad2d21611c466ec6bb58d45c5a2fd00b9
2015-11-25 13:35:50 +01:00

3 lines
61 B
Plaintext

[all]
localhost ansible_connection=local ansible_become=True