Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Identity added: /runner/artifacts/6743/ssh_key_data (root@qb-sv-ansible-02v)
- ansible-playbook [core 2.12.4rc1.post0]
- config file = None
- configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
- ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
- ansible collection location = /runner/requirements_collections:/home/runner/.ansible/collections:/usr/share/ansible/collections
- executable location = /usr/local/bin/ansible-playbook
- python version = 3.8.12 (default, Sep 21 2021, 00:10:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
- jinja version = 2.10.3
- libyaml = True
- No config file found; using defaults
- host_list declined parsing /runner/inventory/hosts as it did not pass its verify_file() method
- [WARNING]: Invalid characters were found in group names but not replaced, use
- -vvvv to see details
- Parsed /runner/inventory/hosts inventory source with script plugin
- Skipping callback 'awx_display', as we already have a stdout callback.
- Skipping callback 'default', as we already have a stdout callback.
- Skipping callback 'minimal', as we already have a stdout callback.
- Skipping callback 'oneline', as we already have a stdout callback.
- .....
- TASK [docusnap : Copy files to BackupDMZ] **************************************
- task path: /runner/project/roles/docusnap/tasks/main.yml:22
- <172.31.10.84> ESTABLISH SSH CONNECTION FOR USER: root
- <172.31.10.84> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' 172.31.10.84 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"''
- <172.31.10.84> (0, b'/root\\n', b'')
- <172.31.10.84> ESTABLISH SSH CONNECTION FOR USER: root
- <172.31.10.84> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' 172.31.10.84 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293 `" && echo ansible-tmp-1648104238.2116046-89-250281209351293="` echo /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293 `" ) && sleep 0'"'"''
- <172.31.10.84> (0, b'ansible-tmp-1648104238.2116046-89-250281209351293=/root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293\\n', b'')
- Using module file /usr/share/ansible/collections/ansible_collections/ansible/posix/plugins/modules/synchronize.py
- <172.31.10.84> PUT /home/runner/.ansible/tmp/ansible-local-206y9m8522/tmpqlbqr2vd TO /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/AnsiballZ_synchronize.py
- <172.31.10.84> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' '[172.31.10.84]'
- <172.31.10.84> (0, b'sftp> put /home/runner/.ansible/tmp/ansible-local-206y9m8522/tmpqlbqr2vd /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/AnsiballZ_synchronize.py\\n', b'')
- <172.31.10.84> ESTABLISH SSH CONNECTION FOR USER: root
- <172.31.10.84> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' 172.31.10.84 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/ /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/AnsiballZ_synchronize.py && sleep 0'"'"''
- <172.31.10.84> (0, b'', b'')
- <172.31.10.84> ESTABLISH SSH CONNECTION FOR USER: root
- <172.31.10.84> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' -tt 172.31.10.84 '/bin/sh -c '"'"'/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/AnsiballZ_synchronize.py && sleep 0'"'"''
- <172.31.10.84> (1, b'\\r\\n{"rc": 23, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --timeout=30 --out-format=\\'<<CHANGED>>%i %n%L\\' /opt/docusnap/*.xml /opt/docusnap_proxy/", "failed": true, "msg": "rsync: link_stat \\\\"/opt/docusnap/*.xml\\\\" failed: No such file or directory (2)\\\\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]\\\\n", "invocation": {"module_args": {"src": "/opt/docusnap/*.xml", "dest": "/opt/docusnap_proxy/", "mode": "pull", "rsync_opts": ["--timeout=30"], "_local_rsync_path": "rsync", "_local_rsync_password": null, "rsync_path": null, "delete": false, "_substitute_controller": false, "archive": true, "checksum": false, "compress": true, "existing_only": false, "dirs": false, "copy_links": false, "set_remote_user": true, "rsync_timeout": 0, "ssh_connection_multiplexing": false, "partial": false, "verify_host": false, "delay_updates": true, "dest_port": null, "private_key": null, "recursive": null, "links": null, "perms": null, "times": null, "owner": null, "group": null, "ssh_args": null, "link_dest": null}}}\\r\\n', b'Shared connection to 172.31.10.84 closed.\\r\\n')
- <172.31.10.84> Failed to connect to the host via ssh: Shared connection to 172.31.10.84 closed.
- <172.31.10.84> ESTABLISH SSH CONNECTION FOR USER: root
- <172.31.10.84> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o 'ControlPath="/runner/cp/a6a7071039"' 172.31.10.84 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1648104238.2116046-89-250281209351293/ > /dev/null 2>&1 && sleep 0'"'"''
- <172.31.10.84> (0, b'', b'')
- fatal: [172.31.10.84]: FAILED! => {
- "changed": false,
- "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --timeout=30 --out-format='<<CHANGED>>%i %n%L' /opt/docusnap/*.xml /opt/docusnap_proxy/",
- "invocation": {
- "module_args": {
- "_local_rsync_password": null,
- "_local_rsync_path": "rsync",
- "_substitute_controller": false,
- "archive": true,
- "checksum": false,
- "compress": true,
- "copy_links": false,
- "delay_updates": true,
- "delete": false,
- "dest": "/opt/docusnap_proxy/",
- "dest_port": null,
- "dirs": false,
- "existing_only": false,
- "group": null,
- "link_dest": null,
- "links": null,
- "mode": "pull",
- "owner": null,
- "partial": false,
- "perms": null,
- "private_key": null,
- "recursive": null,
- "rsync_opts": [
- "--timeout=30"
- ],
- "rsync_path": null,
- "rsync_timeout": 0,
- "set_remote_user": true,
- "src": "/opt/docusnap/*.xml",
- "ssh_args": null,
- "ssh_connection_multiplexing": false,
- "times": null,
- "verify_host": false
- }
- },
- "msg": "rsync: link_stat \\"/opt/docusnap/*.xml\\" failed: No such file or directory (2)\\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]\\n",
- "rc": 23
- }
Advertisement
Add Comment
Please, Sign In to add comment