13 lines
553 B
YAML
13 lines
553 B
YAML
# call me with --extra-vars=@hostlist.yml
|
|
---
|
|
- hosts: localhost
|
|
vars:
|
|
container_list:
|
|
- { host_name: test3.formation.opendoor.fr, host_type: DEV1-S, host_image: 26e4c50e-91d6-41a5-8898-9e40920e819d }
|
|
- { host_name: test4.formation.opendoor.fr, host_type: DEV1-S, host_image: 26e4c50e-91d6-41a5-8898-9e40920e819d }
|
|
- { host_name: test5.formation.opendoor.fr, host_type: DEV1-S, host_image: 26e4c50e-91d6-41a5-8898-9e40920e819d }
|
|
container_action: running
|
|
roles:
|
|
- tco.scw_container
|
|
- { role: tco.dns, dns_action: "add" }
|