From 7249205715dd37a20062d7ecbe4fa9662db0eb61 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Thu, 5 Feb 2026 13:56:58 +0100 Subject: [PATCH] remove default domain var - set debian trixie as default image --- README.md | 1 - defaults/main.yml | 5 +- images | 1104 +++++++++++++++++++++++++++++++++++++++++++++ tasks/main.yml | 2 +- 4 files changed, 1107 insertions(+), 5 deletions(-) create mode 100644 images diff --git a/README.md b/README.md index d2c0126..79a3533 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/defaults/main.yml b/defaults/main.yml index 4a779ba..df1e639 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/images b/images new file mode 100644 index 0000000..698d359 --- /dev/null +++ b/images @@ -0,0 +1,1104 @@ +{ + "images": [ + { + "id": "2a3ad407-ad47-4b6a-89b3-7d6d820d24bb", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "77cd231f-aa0c-4bff-a180-7d5cde4f048e", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-02-04T12:02:05.696710+00:00", + "modification_date": "2026-02-04T12:02:05.696710+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "024676ab-6b3c-4473-b538-181a688d62e7", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "c5af243c-1e63-4799-8f01-d3302d6fea72", + "name": "debian-trixie", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-02-04T12:00:27.604925+00:00", + "modification_date": "2026-02-04T12:00:27.604925+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "71d4a59b-5c9a-4084-b62b-f32bc066b1c3", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "8f813bfe-0ad8-4ff1-aeb3-663d9e1670af", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-02-04T12:00:22.720696+00:00", + "modification_date": "2026-02-04T12:00:22.720696+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "2dcbfb4f-1b77-4733-b734-954b09c2b17b", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "a33ea2ec-9531-4ce2-b2c1-6e4979c371f6", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-28T16:28:07.893202+00:00", + "modification_date": "2026-01-28T16:28:07.893202+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "69982b79-5db1-487a-8fd4-cdb3547f4bb2", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "a6ed67b9-9789-4b18-875b-4e747eda3dc9", + "name": "debian-trixie", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-28T16:27:26.694891+00:00", + "modification_date": "2026-01-28T16:27:26.694891+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "6d173ed8-ae70-4671-a8f1-584921c4e706", + "name": "debian-trixie", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "5f780810-ef25-4def-987b-b03409862d08", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-28T16:27:25.789355+00:00", + "modification_date": "2026-01-28T16:27:25.789355+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "0247e901-ce4e-413e-968e-ff8c7c979d54", + "name": "ubuntu-noble", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "6807d02c-40b0-45e0-9064-2c889092aa30", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-28T16:11:19.666376+00:00", + "modification_date": "2026-01-28T16:11:19.666376+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "76075b1b-859f-498c-8268-db01f9907256", + "name": "ubuntu-noble", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "2984b3d8-a945-44bf-8aa7-fc6064890e1e", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-28T16:10:19.441654+00:00", + "modification_date": "2026-01-28T16:10:19.441654+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "fa5c94ac-6ef5-4dc6-ba73-6fad2e4e89d1", + "name": "ubuntu-noble", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "a5d0d39a-fba9-47bd-a033-b6ea5f7b9452", + "name": "ubuntu-noble", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-28T16:10:15.259934+00:00", + "modification_date": "2026-01-28T16:10:15.259934+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "2e462ed5-4347-484f-a300-79d06eff3b9b", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "da3b6cf6-4f13-4522-9cf7-0bcc15599d2e", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-21T10:39:16.759576+00:00", + "modification_date": "2026-01-21T10:39:16.759576+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "d38b2f98-a364-419d-b0ca-a999bb4b6c5d", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "1dad6af0-7516-4d3b-8b5e-2cee4c7f2ce6", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-21T10:38:39.227563+00:00", + "modification_date": "2026-01-21T10:38:39.227563+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "f844bb6c-f7a3-4e07-b6a9-de0a6d6f630d", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "d3c0c5ff-880e-4560-b792-e408e09a1191", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-21T10:38:25.349617+00:00", + "modification_date": "2026-01-21T10:38:25.349617+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "ff00949e-6d7f-425d-ad35-385594da1048", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "eaafae10-5724-4e46-ba57-2a309b9d7240", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-19T10:22:12.306751+00:00", + "modification_date": "2026-01-19T10:22:12.306751+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "04a9b4bf-502c-4d5e-920d-3fd47d694eb0", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "2f090300-216c-49ec-b2ce-52cafb3b9857", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-19T10:21:19.737417+00:00", + "modification_date": "2026-01-19T10:21:19.737417+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "e8a31a6a-739c-4e2e-8594-8d1089f86e74", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "08b734d0-8b3e-4983-ab31-455824b0d90e", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-19T10:20:43.521525+00:00", + "modification_date": "2026-01-19T10:20:43.521525+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "3f8ec21f-d67c-41b8-81ac-de84728607fa", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "d34f4318-d528-465c-93c5-ea3220e6b3d0", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-07T13:09:58.037732+00:00", + "modification_date": "2026-01-07T13:09:58.037732+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "68963ccf-e3c0-45c3-8a3e-42c5a322a595", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "7941fcfa-5af0-4fae-83b2-d75bfd4163bb", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-07T13:09:44.922418+00:00", + "modification_date": "2026-01-07T13:09:44.922418+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "26ed5fcc-53e8-415b-807d-f4a284d55d87", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "eb7e3383-7b15-4189-b284-a2bba45cb2b5", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-07T13:09:03.361333+00:00", + "modification_date": "2026-01-07T13:09:03.361333+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "d8e4f6f8-c8f2-4e86-b541-5e9ede8bb8f4", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "2011dd93-d1e4-4c8c-853c-4be47a2f95e0", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-07T10:20:46.721377+00:00", + "modification_date": "2026-01-07T10:20:46.721377+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "8ee7b93a-b318-42c5-9f4f-7740c2f2a3e3", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "5b93f443-50c8-46e8-a0c6-84cc4f7e4b18", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-07T10:19:56.333430+00:00", + "modification_date": "2026-01-07T10:19:56.333430+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "2477882a-f96a-4e7d-bae7-d0e0a8d6906d", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "7c64c3f7-dabf-4910-aaec-cfad53c9145c", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-07T10:19:29.850842+00:00", + "modification_date": "2026-01-07T10:19:29.850842+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "5777a5c7-e260-4359-91d7-dd28be0166a4", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "77999046-b5e7-4575-bc72-df455ecc90de", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-06T08:54:34.498613+00:00", + "modification_date": "2026-01-06T08:54:34.498613+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "476994f7-4855-43f9-954b-a229906e764c", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "80df56c9-db89-44f0-9867-06fb803c04cd", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2026-01-06T08:53:46.405568+00:00", + "modification_date": "2026-01-06T08:53:46.405568+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "c4e46b72-b0b0-4e0a-98b9-867f2a71884e", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "5ef676fe-63a0-4d64-8bba-3be1783d4280", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2026-01-06T08:52:50.106462+00:00", + "modification_date": "2026-01-06T08:52:50.106462+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "c421e143-cc24-47b7-a9a3-9f153c2a813a", + "name": "nextcloud", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "d9418720-14f4-4e94-a7c4-e98aed2b19dd", + "name": "nextcloud", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-22T10:17:25.282482+00:00", + "modification_date": "2025-12-22T10:17:25.282482+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "faa8f328-3fcc-4f86-b4a8-23937a56a386", + "name": "nextcloud", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "170a520f-09f6-4ddc-80f4-799b6dcadb47", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-22T10:17:10.732682+00:00", + "modification_date": "2025-12-22T10:17:10.732682+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "90949dc6-bde2-4d0a-ae5c-ae3c1a5e247b", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "033d03c8-d991-4aeb-bc58-9a3277a22f8b", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "volume_type": "l_ssd", + "size": 20000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-05T07:45:04.129697+00:00", + "modification_date": "2025-12-05T07:45:04.129697+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "e0bae50e-2182-4407-9370-820a41eb2ad2", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "01e73611-a457-49ce-9999-e546c9aba479", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-05T07:44:58.196966+00:00", + "modification_date": "2025-12-05T07:44:58.196966+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "c39eefa3-c0fb-4638-b658-8ae2b0efbb50", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "805a274d-20f4-46c0-930b-9a26679b54e3", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "volume_type": "l_ssd", + "size": 20000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-03T14:57:18.811031+00:00", + "modification_date": "2025-12-03T14:57:18.811031+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "469f484a-9fc1-40cd-a5b0-68a37a0b6a82", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "96f2497f-e74a-40aa-977e-5c62c2856054", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-03T14:57:03.544422+00:00", + "modification_date": "2025-12-03T14:57:03.544422+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "29b10f84-305f-406e-9531-4bf6a7019aad", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "047fbf90-ada7-49ba-8f49-5be3596ca5ad", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "volume_type": "l_ssd", + "size": 20000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-03T13:31:41.059619+00:00", + "modification_date": "2025-12-03T13:31:41.059619+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "eea7e922-b012-496d-9869-b8ebf9f6013b", + "name": "Ubuntu Noble GPU OS 13 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "391c9c0a-966e-417f-825f-9df1498dbda4", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-12-03T13:31:34.081261+00:00", + "modification_date": "2025-12-03T13:31:34.081261+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "780180ed-37cf-4482-ac07-5836f6e0d2f8", + "name": "Almalinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "5f98037a-3e39-4e66-a9e4-d75944f78c8a", + "name": "Almalinux 10", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-20T09:07:36.217502+00:00", + "modification_date": "2025-11-20T09:07:36.217502+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "77e67e0c-8568-45e4-b97f-61211a28c289", + "name": "Almalinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "09a9ca77-8fc5-47f7-9535-13c572ee58d9", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-20T09:07:15.962839+00:00", + "modification_date": "2025-11-20T09:07:15.962839+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "61c2d5c9-d70e-4667-953f-725b3921fa36", + "name": "Almalinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "534333cc-45bb-4f71-975c-861a0dd21e53", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-20T09:06:52.212551+00:00", + "modification_date": "2025-11-20T09:06:52.212551+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "2c96f07c-183d-4a0d-8b00-e09e73763f4b", + "name": "RockyLinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "395774f2-0e5d-4716-8d04-2544bc6e258e", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-19T14:50:04.918295+00:00", + "modification_date": "2025-11-19T14:50:04.918295+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "fc7b9def-a633-4d49-9866-b43f15bc8742", + "name": "RockyLinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "5df0fa08-dac0-4cde-86d7-b55372608c9d", + "name": "RockyLinux 10", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-19T14:49:54.417663+00:00", + "modification_date": "2025-11-19T14:49:54.417663+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "58a06469-6fe1-4ef1-b3be-0b3cdd9b865b", + "name": "RockyLinux 10", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "f5859bb4-9d37-4ba3-9756-438b1317c1b2", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-19T14:49:36.158398+00:00", + "modification_date": "2025-11-19T14:49:36.158398+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "4ef28b84-06bb-4377-8b0c-a5ff0a5f1667", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "bd4b15f7-4234-4016-99b8-a7239b4fe49c", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-17T18:03:45.346850+00:00", + "modification_date": "2025-11-17T18:03:45.346850+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "21dcb98e-3caa-4a1d-8093-ccd793990417", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "3499c443-2fbc-4483-b7f8-bf2bf408eae6", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-17T18:03:41.471569+00:00", + "modification_date": "2025-11-17T18:03:41.471569+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "6d57f991-4ca4-42ca-9a8a-be74b5adf32d", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "43159666-782f-4029-8c0e-6f15677526c1", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-17T18:03:00.564611+00:00", + "modification_date": "2025-11-17T18:03:00.564611+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "1b990aae-4a9c-4bb6-8a31-64f2eac1721e", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "0aeef140-832c-4f76-b773-2d8ff783d5bf", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-17T09:17:44.476908+00:00", + "modification_date": "2025-11-17T09:17:44.476908+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "0abf595b-da32-48d5-961b-8b55f0453ac1", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "f797d83f-838d-45f3-bd87-2509932c7a46", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-17T09:17:04.273358+00:00", + "modification_date": "2025-11-17T09:17:04.273358+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "b5200df9-b52a-45c9-8603-7f14aef69d65", + "name": "k8s_base_node_instance", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "d1c8f417-6664-45ce-9e88-f7ba58dd8030", + "name": "k8s_base_node_instance", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-17T09:16:19.308633+00:00", + "modification_date": "2025-11-17T09:16:19.308633+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "cae253ee-6cc4-4c99-9007-3ff805268eed", + "name": "Ubuntu Jammy GPU OS 12 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "f1beb1c4-46fb-4f0f-b728-7e2f11c45c36", + "name": "Ubuntu Jammy GPU OS 12 passthrough", + "volume_type": "l_ssd", + "size": 20000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-03T13:31:36.133796+00:00", + "modification_date": "2025-11-03T13:31:36.133796+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "1b7a08bb-8054-4937-90db-fe3a85db7018", + "name": "Ubuntu Jammy GPU OS 12 passthrough", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "d12f2c4b-1f3f-4eaa-8031-6fa02769fd44", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-03T13:31:27.645350+00:00", + "modification_date": "2025-11-03T13:31:27.645350+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "ce357c7b-c952-445c-9136-30434e09e858", + "name": "Fedora 41", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "07fbf602-7698-4b14-8e6d-886476a66153", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-03T13:27:55.522087+00:00", + "modification_date": "2025-11-03T13:27:55.522087+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "01fb6fbd-acf7-4277-ab03-8b4f00b7890e", + "name": "Fedora 41", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "4c66cd97-4f0a-42b5-ad30-f8408bf92546", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-03T13:27:21.401635+00:00", + "modification_date": "2025-11-03T13:27:21.401635+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "bd87fc24-aa8e-4e26-ba56-0d94aabe84fb", + "name": "Fedora 41", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "id": "4ded2961-7265-4541-81f7-da82dcd01798", + "name": "Fedora 41", + "volume_type": "l_ssd", + "size": 10000000000 + }, + "extra_volumes": {}, + "public": true, + "arch": "x86_64", + "creation_date": "2025-11-03T13:27:02.493889+00:00", + "modification_date": "2025-11-03T13:27:02.493889+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + }, + { + "id": "bbc90ae4-1f3c-478b-8aa4-66314fd2deb9", + "name": "Debian Bullseye", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "root_volume": { + "volume_type": "sbs_snapshot", + "id": "458338a7-cbce-4012-a14e-aabd1b9ac7d8", + "size": 0, + "name": "" + }, + "extra_volumes": {}, + "public": true, + "arch": "arm64", + "creation_date": "2025-11-03T13:25:38.527443+00:00", + "modification_date": "2025-11-03T13:25:38.527443+00:00", + "default_bootscript": null, + "from_server": "", + "state": "available", + "tags": [], + "zone": "fr-par-1" + } + ] +} diff --git a/tasks/main.yml b/tasks/main.yml index 0f4ab77..75e8abd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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}}"