8e15365757
To reduce the number of times a container is restarted during the build process, this patch implements the facility to consume LXC container_config items from the inventory. This allows the 'lxc.aa_profile' option, for example, to be set in group_vars and therefore have it applied on container creation instead of later when the service install playbook runs. Change-Id: I4c95a231af3306c5010b168e7cc181deecf1a58d
11 lines
361 B
Plaintext
11 lines
361 B
Plaintext
[all]
|
|
localhost ansible_connection=local physical_host=localhost ansible_become=True
|
|
container1 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
|
|
container2 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
|
|
container3 ansible_host=10.100.100.4 ansible_become=True ansible_user=root
|
|
|
|
[all_containers]
|
|
container1
|
|
container2
|
|
container3
|