Compare commits
2 Commits
d1dbc79371
...
7249205715
| Author | SHA1 | Date | |
|---|---|---|---|
| 7249205715 | |||
| 4ac888ef7f |
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
# defaults file for tco.scw_container
|
# defaults file for tco.scw_container
|
||||||
scw_gen_hostlist: true
|
scw_gen_hostlist: 'true'
|
||||||
scw_type: DEV1-S
|
scw_type: DEV1-S
|
||||||
container_domain: formation.opendoor.fr
|
container_image: 024676ab-6b3c-4473-b538-181a688d62e7
|
||||||
container_image: 26e4c50e-91d6-41a5-8898-9e40920e819d
|
|
||||||
container_number_start: 1
|
container_number_start: 1
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
- name: "{{ container_prefix }} : {{ container_action }}"
|
- name: "{{ container_prefix }} : {{ container_action }}"
|
||||||
community.general.scaleway_compute:
|
community.general.scaleway_compute:
|
||||||
commercial_type: "{{ item.host_type|default( scw_type )}}"
|
commercial_type: "{{ scw_type|default( scw_type )}}"
|
||||||
region: par1
|
region: par1
|
||||||
name: "{{ container_name }}.{{container_domain }}"
|
name: "{{ container_name }}"
|
||||||
state: "{{ (container_action == 'delete' ) | ternary( 'absent', 'running' ) }}"
|
state: "{{ (container_action == 'delete' ) | ternary( 'absent', 'running' ) }}"
|
||||||
api_token: "{{ scw_api_secret_key }}"
|
api_token: "{{ scw_api_secret_key }}"
|
||||||
image: "{{ container_image}}"
|
image: "{{ container_image}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user