Standardize test vars
Move test host vars from the inventory to individual files for each host. 'ansible_become' has been removed from localhost's vars since it should be handled on a playbook basis. Change-Id: I57f17002f6e8877403d3fc00f6eb148f50b80241
This commit is contained in:
parent
61609d8f9f
commit
6b5813b553
4
tests/host_vars/container1.yml
Normal file
4
tests/host_vars/container1.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_host: 10.1.0.2
|
||||
ansible_become: True
|
||||
ansible_user: root
|
4
tests/host_vars/container2.yml
Normal file
4
tests/host_vars/container2.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_host: 10.1.0.3
|
||||
ansible_become: True
|
||||
ansible_user: root
|
4
tests/host_vars/container3.yml
Normal file
4
tests/host_vars/container3.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_host: 10.1.0.4
|
||||
ansible_become: True
|
||||
ansible_user: root
|
@ -1,8 +1,8 @@
|
||||
[all]
|
||||
localhost ansible_become=True
|
||||
container1 ansible_host=10.1.0.2 ansible_become=True ansible_user=root
|
||||
container2 ansible_host=10.1.0.3 ansible_become=True ansible_user=root
|
||||
container3 ansible_host=10.1.0.4 ansible_become=True ansible_user=root
|
||||
localhost
|
||||
container1
|
||||
container2
|
||||
container3
|
||||
|
||||
[galera_all]
|
||||
container1
|
||||
|
Loading…
x
Reference in New Issue
Block a user