Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using 'ansible_become' through an inventory variable. Change-Id: I530293245724949dc172dfa95a820db32b6a665c
This commit is contained in:
parent
96153c5b32
commit
c61017d758
@ -16,4 +16,4 @@
|
|||||||
bridges:
|
bridges:
|
||||||
- "br-mgmt"
|
- "br-mgmt"
|
||||||
|
|
||||||
ansible_python_interpreter: "/usr/bin/python2"
|
ansible_python_interpreter: "/usr/bin/python2"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[all]
|
[all]
|
||||||
localhost ansible_become=True
|
localhost
|
||||||
infra1 ansible_host=10.100.100.2 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
|
infra1 ansible_host=10.100.100.2 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
|
||||||
openstack1 ansible_host=10.100.100.3 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
|
openstack1 ansible_host=10.100.100.3 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
|
||||||
|
|
||||||
@ -21,4 +21,4 @@ galera_all
|
|||||||
infra1
|
infra1
|
||||||
|
|
||||||
[utility_all]
|
[utility_all]
|
||||||
openstack1
|
openstack1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user