#Missing Name option

1 messages · Page 1 of 1 (latest)

azure junco
#

Getting this error when i try to power down an SVM. i can easily add in the name option, just dont konw what to put in there? i cant seem to find a list of options for the name field.

tasks:
- name: Offline Source
na_ontap_svm_options:
vserver: "SVM100.corp.com"
hostname: x.x.x.x
username: "person"
password: "password123"
value: 'off'
https: "true"
validate_certs: "false"

Error
KeyError: 'name'

fatal: [localhost]: FAILED! => {

gray hound
#

well you need an option and a value for that command. I don't think it does what you think it does. Which option do you want to set? and what do you mean by "power down"? like shutting down the cluster?

azure junco
#

Just looking to shut down the svm. its for a dr test.

gray hound
#

I guess you want na_ontap_svm and especially the admin_state parameter there?

azure junco
#

that worked! thank you very much!. in the gui there is an optino to reverse sync after you fail over, how would i do that via ansible?

outer narwhal
#

SVM is one of the older deprecated modules.

azure junco
#

Any thoughts on how to do a reverse resync through ansible?

outer narwhal
azure junco
#

yes, that looks like what i am talking about

#

doable through tansible?

outer narwhal
azure junco
#

I have seen that, thank you.

#

There isn’t a reverse resync option though

#

Do you know the process of the reverse resyn and I can try to put it together through absolve

#

Ansible