Add 'become' and root 'user' options to the playbook instead of using 'ansible_become' through an inventory variable. Change-Id: Ifc29eba5fe3de8b29a322a35501919074e948be9
14 lines
236 B
Plaintext
14 lines
236 B
Plaintext
[all]
|
|
localhost
|
|
test1 ansible_host=127.111.111.101 ansible_become=True
|
|
test2 ansible_host=127.111.111.102 ansible_become=True
|
|
test3 ansible_host=127.111.111.103 ansible_become=True
|
|
|
|
[all_containers]
|
|
test1
|
|
test2
|
|
test3
|
|
|
|
[hosts]
|
|
localhost
|