Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/generic_ansible_sample.yaml

raw symbols SCIP
1 ---
2 - name: Using the IBM Storage Virtualize collection
3 gather_facts: false
4 connection: local
5 hosts: localhost
6 vars:
7 clustername: x.x.x.x
8 username: username
9 password: password
10 volname: vol0
11 pool: pool0
12 easy_tier: 'off'
13 size: 1
14 unit: gb
15 tasks:
16 - name: Send multiple CLI commands over ssh connection
17 ibm.storage_virtualize.ibm_svctask_command:
18 command: [
19 "svctask mkvdisk -name {{ volname }}-mdiskgrp '{{ pool }}' -easytier '{{ easy_tier }}' -size {{ size }}-unit {{ unit }}",
20 "svctask rmvdisk {{ volname }}"
21 ]
22 clustername: "{{ clustername }}"
23 username: "{{ username }}"
24 password: "{{ password }}"
25 log_path: /tmp/playbook.debug
26 - name: Send CLI command over ssh connection
27 ibm.storage_virtualize.ibm_svcinfo_command:
28 command: "svcinfo lsvdisk"
29 clustername: "{{ clustername }}"
30 username: "{{ username }}"
31 password: "{{ password }}"
32 log_path: /tmp/playbook.debug