Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/volumegrp_create.yml

raw symbols SCIP
1 - name: Using Storage Virtualize collection to create a volume group
2 hosts: localhost
3 vars:
4 clustername: 'clustername'
5 username: 'username'
6 password: 'password'
7 gather_facts: false
8 connection: local
9 tasks:
10 - name: Fetch cluster auth token
11 register: auth
12 no_log: true
13 ibm.storage_virtualize.ibm_svc_auth:
14 clustername: "{{ clustername }}"
15 username: "{{ username }}"
16 password: "{{ password }}"
17
18 - name: Create a new volume group
19 ibm.storage_virtualize.ibm_svc_manage_volumegroup:
20 clustername: "{{ clustername }}"
21 token: "{{ auth.token }}"
22 name: vg1
23 state: present
24 - name: Create volumegroup with existing snapshotpolicy
25 ibm.storage_virtualize.ibm_svc_manage_volumegroup:
26 clustername: "{{ clustername }}"
27 token: "{{ auth.token }}"
28 name: vg2
29 state: present
30 snapshotpolicy: snapshotpolicy2