Skip to content
Snippets Groups Projects
Commit 8220c12c authored by kaiyou's avatar kaiyou
Browse files

For now, store image ids in defaults

parent 94a76d5e
No related branches found
No related tags found
No related merge requests found
image: debian12
# Defaults for Hetzner cloud
hcloud_type: cx11
hcloud_image: debian-12
hcloud_region: eu-central
hcloud_images:
debian12: debian-12
# Defaults for Scaleway cloud
scaleway_type: PLAY2-NANO
scaleway_image: c1161979-ce89-46c9-941e-ebbb6514d528 # This is Debian 12
scaleway_region: par1
scaleway_images:
debian12: c1161979-ce89-46c9-941e-ebbb6514d528
......@@ -3,7 +3,7 @@
api_token: "{{ hcloud_token }}"
name: "{{ node_prefix }}-{{ item.key }}"
server_type: "{{ hcloud_type }}"
image: "{{ hcloud_image }}"
image: "{{ hcloud_images[image] }}"
location: "{{ hcloud_region }}"
ssh_keys:
- "{{ hcloud_ssh_key }}"
......
......@@ -3,7 +3,7 @@
api_token: "{{ scaleway_token }}"
name: "{{ node_prefix }}-{{ item.key }}"
commercial_type: "{{ scaleway_type }}"
image: "{{ scaleway_image }}"
image: "{{ scaleway_images[image] }}"
project: "{{ scaleway_project }}"
region: "{{ scaleway_region }}"
enable_ipv6: true
......@@ -17,7 +17,7 @@
api_token: "{{ scaleway_token }}"
name: "{{ node_prefix }}-{{ item.key }}"
commercial_type: "{{ scaleway_type }}"
image: "{{ scaleway_image }}"
image: "{{ scaleway_images[image] }}"
project: "{{ scaleway_project }}"
region: "{{ scaleway_region }}"
state: running
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment