7 Posts
0
1859
September 1st, 2022 05:00
Initiator alias fails as invalid in host module
Hello -
I am having difficulty assigning initiator aliases using the host module. The host initiators list for the host module fails to accept initiator aliases. I have tried all combinations of quotes, double quotes, not quotes, escape the slash, spaces between the hostname, slash and port name. It indicates the initiator alias is invalid.
playbook task:
- name: Create Initiator Group "{ { ig_name }}"
dellemc.powermax.host:
<<: *uni_connection_vars
host_name: "{ { host_name }}"
initiators: "{ { host_initiators }}"
state: 'present'
initiator_state: 'present-in-host'
vars_files host_initiator list:
host_initiators:
- 10000000cabffaee
- 'ANSIBLE/FAEE'
# - 10000000cccffaef
# - 'ANSIBLE/FAEF'
play output:
TASK [Create Initiator Group "ANSIBLE_IG"] *********************************************************************************
task path: /opt/ansible/dellemc/vmax_pmax/etc_dc/poc/poc_ans_playbook/host_provision_jtw.yml:40
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Initiator alias ANSIBLE/FAEE is invalid"}
PLAY RECAP *****************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Thank you!
events found

