#I am testing with netapp ontap na ontap
1 messages · Page 1 of 1 (latest)
I think the solution is in the examples here:
https://docs.ansible.com/ansible/devel/collections/netapp/ontap/na_ontap_rest_cli_module.html#ansible-collections-netapp-ontap-na-ontap-rest-cli-module
the Rest CLI module is a bit different than the command module
probably this is what you need
- name: Online SVM
netapp.ontap.na_ontap_rest_cli:
<<: *clusterlogin
command: 'vserver/start'
verb: 'POST'
body: { "vserver":"svm3" }
It worked ! 🙂