remove default domain var - set debian trixie as default image

This commit is contained in:
2026-02-05 13:56:58 +01:00
parent 4ac888ef7f
commit 7249205715
4 changed files with 1107 additions and 5 deletions

View File

@@ -17,7 +17,6 @@ scw_api_default_project_id:
scw_type: DEV1-S
container_action; delete or running
container_name:
container_domain: default formation.opendoor.fr
scw_gen_hostlist: default true, wether we create a hostlist.yml file containing containers name and ip (to be fed to dns role to create records)
container_image: id of image default alma9 26e4c50e-91d6-41a5-8898-9e40920e819d

View File

@@ -1,7 +1,6 @@
---
# defaults file for tco.scw_container
scw_gen_hostlist: true
scw_gen_hostlist: 'true'
scw_type: DEV1-S
container_domain: formation.opendoor.fr
container_image: 26e4c50e-91d6-41a5-8898-9e40920e819d
container_image: 024676ab-6b3c-4473-b538-181a688d62e7
container_number_start: 1

1104
images Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
community.general.scaleway_compute:
commercial_type: "{{ scw_type|default( scw_type )}}"
region: par1
name: "{{ container_name }}.{{container_domain }}"
name: "{{ container_name }}"
state: "{{ (container_action == 'delete' ) | ternary( 'absent', 'running' ) }}"
api_token: "{{ scw_api_secret_key }}"
image: "{{ container_image}}"