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:
state: present
size: 30
image: debian-12
is_bootable: true
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 }}"
- name: OS secgroups