Add a snap volume for every kubernetes node

This commit is contained in:
Magnus Andersson 2024-01-15 15:59:25 +01:00
parent 2a4171aec8
commit 4113181fff
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -1,12 +1,22 @@
--- ---
- name: Create kubernetes nodes os volume - name: Create os volume for kubernetes nodes
openstack.cloud.volume: openstack.cloud.volume:
state: present state: present
size: 30 size: 30
image: debian-12 image: debian-12
is_bootable: true is_bootable: true
state: present state: present
name: kube{{ item }}-matrix-test-sunet-se-vol name: kube{{ item }}-matrix-test-sunet-se-osvol
loop: "{{ range(1,4)|list }}"
- name: Create snap volume for kubernetes nodes
openstack.cloud.volume:
state: present
size: 20
image: debian-12
is_bootable: true
state: present
name: kube{{ item }}-matrix-test-sunet-se-snapvol
loop: "{{ range(1,4)|list }}" loop: "{{ range(1,4)|list }}"
- name: OS secgroups - name: OS secgroups