Add snap volume to instance and remove duplicated keys
This commit is contained in:
parent
ca7fe067f7
commit
4f6d6cf5eb
|
@ -5,7 +5,6 @@
|
||||||
size: 30
|
size: 30
|
||||||
image: debian-12
|
image: debian-12
|
||||||
is_bootable: true
|
is_bootable: true
|
||||||
state: present
|
|
||||||
name: kube{{ item }}-matrix-test-sunet-se-osvol
|
name: kube{{ item }}-matrix-test-sunet-se-osvol
|
||||||
loop: "{{ range(1,4)|list }}"
|
loop: "{{ range(1,4)|list }}"
|
||||||
|
|
||||||
|
@ -14,7 +13,6 @@
|
||||||
state: present
|
state: present
|
||||||
size: 20
|
size: 20
|
||||||
is_bootable: false
|
is_bootable: false
|
||||||
state: present
|
|
||||||
name: kube{{ item }}-matrix-test-sunet-se-snapvol
|
name: kube{{ item }}-matrix-test-sunet-se-snapvol
|
||||||
loop: "{{ range(1,4)|list }}"
|
loop: "{{ range(1,4)|list }}"
|
||||||
|
|
||||||
|
@ -40,6 +38,8 @@
|
||||||
flavor: b2.c4r16
|
flavor: b2.c4r16
|
||||||
key_name: manderssonpub
|
key_name: manderssonpub
|
||||||
boot_volume: kube{{ item }}-matrix-test-sunet-se-osvol
|
boot_volume: kube{{ item }}-matrix-test-sunet-se-osvol
|
||||||
|
volumes:
|
||||||
|
- "kube{{ item }}-matrix-test-sunet-se-snapvol"
|
||||||
nics:
|
nics:
|
||||||
- port-name: "kube{{ item }}-matrix-test-sunet-se-port"
|
- port-name: "kube{{ item }}-matrix-test-sunet-se-port"
|
||||||
userdata: |
|
userdata: |
|
||||||
|
|
Loading…
Reference in a new issue