Hello All,
I'm curious. With my "hosts" file, I have the following entry:
[single]
192.168.10.10 shortname=NAS1-CLUSTER
If I have a playbook I was to run an action against, it will only work if I use the IP address of 192.168.10.10.
vars:
netapp_host: '192.168.10.10'
netapp_username: "{{ netapp_username }}"
netapp_password: "{{ netapp_password }}"
If I change the netapp_host field to either 'single' or '[single]' I receive and error:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error using REST for version, error: Failed to parse: https://[single]/api/cluster. Error using REST for version, status_code: None."}
How do you get the playbook to use the group name instead of only IP? If I have larger groups (I do) I don't want be using single IPs.