blob: b9d41eb9c855a813ad2a8542ca150511cc0ea851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
- name: Using Spectrum Virtualize collection to create a volume group
hosts: localhost
vars:
- clustername: clustername
- username: username
- password: password
- domain: domain
collections:
- ibm.spectrum_virtualize
gather_facts: no
connection: local
tasks:
- name: Create a new volume group
ibm_svc_manage_volumegroup:
clustername: "{{ clustername }}"
domain: "{{ domain }}"
username: "{{ username }}"
password: "{{ password }}"
name: vg1
state: present
- name: Create volumegroup with existing snapshotpolicy
ibm_svc_manage_volumegroup:
clustername: "{{ clustername }}"
domain: "{{ domain }}"
username: "{{ username }}"
password: "{{ password }}"
name: vg2
state: present
snapshotpolicy: snapshotpolicy2
|