Debian Codegraph @

ansible_collections/netapp/ontap/playbooks/examples/support/debug_connectivity.yaml

raw
1 ---
2 - name: ONTAP connect
3 hosts: localhost
4 gather_facts: false
5
6 tasks:
7 - name: Debug connectivity using admin management interface or vsadmin interface
8 # use this to validate ZAPI and REST connectivity
9 # - with admin management interface, use admin or a user with admin privileges
10 # - with vsadmin management interface, use vsadmin or a user with vsadmin privileges
11 # for better formatting, you may use:
12 # export ANSIBLE_STDOUT_CALLBACK=minimal
13 # run this as:
14 # ansible-playbook -v ansible_collections/netapp/ontap/playbooks/examples/support/debug_connectivity.yaml
15 # after updating the values for hostname, username, and password
16 tags:
17 - admin
18 - vsadmin
19 netapp.ontap.na_ontap_debug:
20 hostname: "ip address of management interface, or of vserver interface"
21 username: "xxxx"
22 password: "yyyy"
23 https: true
24 validate_certs: false
25
26 - name: Debug connectivity using admin interface, validate vserver configuration
27 # use this to validate ZAPI and REST connectivity, and check vserver is reachable
28 # with admin management interface, use admin or a user with admin privileges
29 # run this as
30 # ansible-playbook -v ansible_collections/netapp/ontap/playbooks/examples/support/debug_connectivity.yaml -t admin_and_vserver
31 tags:
32 - never
33 - admin_and_vserver
34 netapp.ontap.na_ontap_debug:
35 hostname: "ip_address_of_management_interface"
36 username: "xxxx"
37 password: "yyyy"
38 vserver: "svm name"
39 https: true
40 validate_certs: false