Add a snap volume for every kubernetes node
This commit is contained in:
parent
2a4171aec8
commit
4113181fff
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue