# Outside of Ansible, the user ansible can scp the file in 52 seconds.
|
| fatal: [psalms]: FAILED! => {"failed": true, "msg": "Timeout (105s) waiting for privilege escalation prompt: "} |
# Changing the playbook to copy a smaller file, the CentOS-6_minimal.iso, works.
|
| config file = /etc/ansible/ansible.cfg |
| configured module search path = [u'/home/ansible/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] |
| ansible python module location = /usr/lib/python2.6/site-packages/ansible |
| executable location = /usr/bin/ansible |
| python version = 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] |
| # iso_dir is /opt/iso, with mode 0775 and the user is in the directory's group. |
| src: "{{ iso_dir }}/{{ item }}" |
| dest: "{{ iso_dir }}/{{ item }}" |
| - CentOS-6.9-x86_64-bin-DVD1.iso |
# Error:
TASK [copy_ssh_key] *****************************************************************************************
ok: [psalms]
TASK [copy_iso] *********************************************************************************************
[WARNING]: sftp transfer mechanism failed on [psalms]. Use ANSIBLE_DEBUG=1 to see detailed information
[WARNING]: scp transfer mechanism failed on [psalms]. Use ANSIBLE_DEBUG=1 to see detailed information
fatal: [psalms]: FAILED! => {"failed": true, "msg": "Timeout (105s) waiting for privilege escalation prompt: "}
to retry, use: --limit @/home/ansible/lang/git/Ansible_Test/playbooks/create_virt_host.retry
PLAY RECAP **************************************************************************************************
psalms : ok=16 changed=3 unreachable=0 failed=1