root@cssosbe04-b04:/home/stack/hpe3par_ansible_test/playbooks# ansible-playbook -vvv admit_rcg_link_ts01_playbook.yml ansible-playbook 2.7.2 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/stack/hpe3par_ansible_module/Modules'] ansible python module location = /usr/local/lib/python3.5/dist-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] Using /etc/ansible/ansible.cfg as config file /etc/ansible/hosts did not meet host_list requirements, check plugin documentation if this is unexpected Skipping due to inventory source not existing or not being readable by the current user /etc/ansible/hosts did not meet script requirements, check plugin documentation if this is unexpected Skipping due to inventory source not existing or not being readable by the current user /etc/ansible/hosts did not meet yaml requirements, check plugin documentation if this is unexpected Skipping due to inventory source not existing or not being readable by the current user /etc/ansible/hosts did not meet ini requirements, check plugin documentation if this is unexpected /etc/ansible/hosts did not meet auto requirements, check plugin documentation if this is unexpected [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' statically imported: /home/stack/hpe3par_ansible_test/playbooks/tasks/admit_remote_copy_link_playbook.yml statically imported: /home/stack/hpe3par_ansible_test/playbooks/tasks/dismiss_remote_copy_link_playbook.yml PLAYBOOK: admit_rcg_link_ts01_playbook.yml ******************************************************************************************************** 1 plays in admit_rcg_link_ts01_playbook.yml PLAY [localhost] ********************************************************************************************************************************** TASK [Gathering Facts] **************************************************************************************************************************** task path: /home/stack/hpe3par_ansible_test/playbooks/admit_rcg_link_ts01_playbook.yml:2 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101 `" && echo ansible-tmp-1543327017.0549018-260547440725101="` echo /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101 `" ) && sleep 0' Using module file /usr/local/lib/python3.5/dist-packages/ansible/modules/system/setup.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-17051t930cc4w/tmptim543p7 TO /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101/AnsiballZ_setup.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101/ /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101/AnsiballZ_setup.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101/AnsiballZ_setup.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1543327017.0549018-260547440725101/ > /dev/null 2>&1 && sleep 0' ok: [localhost] META: ran handlers TASK [Admit link with valid FCIP source port and IP values] *************************************************************************************** task path: /home/stack/hpe3par_ansible_test/playbooks/admit_rcg_link_ts01_playbook.yml:5 ok: [localhost] => { "ansible_facts": { "source_port": "0:3:1", "state": "admit_link", "storage_system_ip": "192.168.67.6", "storage_system_password": "3pardata", "storage_system_username": "3paradm", "target_name": "CSSOS-SSA04", "target_port_wwn_or_ip": "10.100.3.20" }, "ansible_included_var_files": [ "/home/stack/hpe3par_ansible_test/playbooks/properties/admit_rcg_link_ts01_properties.yml" ], "changed": false } TASK [Admit RCG link] ***************************************************************************************************************************** task path: /home/stack/hpe3par_ansible_test/playbooks/tasks/admit_remote_copy_link_playbook.yml:2 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018 `" && echo ansible-tmp-1543327018.927694-61922994997018="` echo /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018 `" ) && sleep 0' Using module file /home/stack/hpe3par_ansible_module/Modules/hpe3par_remote_copy.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-17051t930cc4w/tmpvfwmopso TO /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018/AnsiballZ_hpe3par_remote_copy.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018/ /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018/AnsiballZ_hpe3par_remote_copy.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018/AnsiballZ_hpe3par_remote_copy.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1543327018.927694-61922994997018/ > /dev/null 2>&1 && sleep 0' fatal: [localhost]: FAILED! => { "changed": false, "invocation": { "module_args": { "admit_volume_targets": null, "different_secondary_wwn": false, "discard_new_data": false, "domain": null, "full_sync": false, "keep_snap": false, "local_groups_direction": false, "local_remote_volume_pair_list": [], "local_snap_cpg": null, "local_user_cpg": null, "modify_targets": null, "no_resync_snapshot": false, "no_snapshot": false, "recovery_action": null, "remote_copy_group_name": null, "remote_copy_targets": null, "remove_secondary_volume": false, "skip_initial_sync": false, "skip_promote": false, "skip_start": false, "skip_sync": false, "snapshot_name": null, "source_port": "0:3:1", "starting_snapshots": null, "state": "admit_link", "stop_groups": false, "storage_system_ip": "192.168.67.6", "storage_system_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "storage_system_username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "target_mode": null, "target_name": "CSSOS-SSA04", "target_port_wwn_or_ip": "10.100.3.20", "unset_snap_cpg": false, "unset_user_cpg": false, "volume_auto_creation": false, "volume_name": null } }, "msg": "Admit remote copy link failed | Not Implemented (HTTP 501) 9 - unsupported operation for the resource" } to retry, use: --limit @/home/stack/hpe3par_ansible_test/playbooks/admit_rcg_link_ts01_playbook.retry PLAY RECAP **************************************************************************************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=1