Volume
Example Syntax
- name: Create volumes
ionoscloudsdk.ionoscloud.volume:
datacenter: "{{ datacenter }}"
name: "{{ name }} %02d"
count: 2
size: 2
availability_zone: ZONE_3
auto_increment: yes
cpu_hot_plug: false
ram_hot_plug: true
nic_hot_plug: true
nic_hot_unplug: true
disc_virtio_hot_plug: true
disc_virtio_hot_unplug: true
wait_timeout: 600
wait: true
state: present
- name: Update volumes
ionoscloudsdk.ionoscloud.volume:
datacenter: "{{ datacenter }}"
instance_ids:
- "{{ name }} 01"
- "{{ name }} 02"
size: 5
cpu_hot_plug: false
ram_hot_plug: true
nic_hot_plug: true
nic_hot_unplug: true
disc_virtio_hot_plug: true
disc_virtio_hot_unplug: true
wait_timeout: 600
wait: true
state: update
- name: Delete volumes
ionoscloudsdk.ionoscloud.volume:
datacenter: "{{ datacenter }}"
instance_ids:
- "{{ name }} 01"
- "{{ name }} 02"
wait_timeout: 600
state: absent
Parameter Reference
The following parameters are supported:
Last updated