ok got it fixed but now its having issues on next copying task
TASK [Creating a Working Directory] *************************************************************************************************************************************************
task path: /home/tony/ansible-vmware/vcsa-deploy/vcsa-deploy.yml:21
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181 `" && echo ansible-tmp-1591051342.78-219752301038181="` echo /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181 `" ) && sleep 0'
Using module file /home/tony/.local/lib/python2.7/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /home/tony/.ansible/tmp/ansible-local-14943p5pRVm/tmpg2MvtR TO /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181/ /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=ymjggrenjkdverbptktaesjqbccosbfw] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ymjggrenjkdverbptktaesjqbccosbfw ; /usr/bin/python /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181/AnsiballZ_file.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/tony/.ansible/tmp/ansible-tmp-1591051342.78-219752301038181/ > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {
"changed": true,
"diff": {
"after": {
"mode": "0777",
"path": "/vcsa",
"state": "directory"
},
"before": {
"mode": "0755",
"path": "/vcsa",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": 511,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/vcsa",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0777",
"owner": "root",
"path": "/vcsa",
"size": 4096,
"state": "directory",
"uid": 0
}
TASK [Copying contents to working Directory] ****************************************************************************************************************************************
task path: /home/tony/ansible-vmware/vcsa-deploy/vcsa-deploy.yml:27
"msg": "Could not find or access '/mnt/iso/*' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"
}
PLAY RECAP **************************************************************************************************************************************************************************
127.0.0.1 : ok=4 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0