Hey guys I am trying to use na_ontap_rest_cli to run the command 'storage failover show', it is printing out only the node name but no other info.(As the image show)
Do I need to add any params to get the failover info?
I use this module because I don't see the related REST CLI in the rest api.
Here is my Ansible code:
- name: "Getting storage failover info for {{ cluster_hostname }}"
netapp.ontap.na_ontap_rest_cli:
hostname: "{{ cluster_hostname }}"
username: "{{ cluster_username }}"
password: "{{ cluster_password }}"
validate_certs: false
command: 'storage/failover'
verb: 'GET'
register: storage_failover - name: ... Return storage failover data
debug:
msg: "{{ storage_failover }}"