Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10:49:29 TEST-TOWER ~ # tail -n 500 /opt/tower/var/tower/log/jobs/304.log
- "mode": "0644",
- "owner": "root",
- "path": "/etc/systemd/system/noc.service",
- "size": 504,
- "state": "file",
- "uid": 0
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/system/group.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ruawcpclaxpgvwysksbwyhoqewrgrtoc; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"name": "noc", "changed": false, "system": false, "state": "present", "gid": 1000, "invocation": {"module_args": {"state": "present", "gid": null, "local": false, "name": "noc", "system": false}}}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : Create NOC group] **************************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/main.yml:11
- ok: [Node1] => {
- "changed": false,
- "gid": 1000,
- "invocation": {
- "module_args": {
- "gid": null,
- "local": false,
- "name": "noc",
- "state": "present",
- "system": false
- }
- },
- "name": "noc",
- "state": "present",
- "system": false
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/system/user.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-pwnapfgrrzkxdzigsstzwycetxcxwmvr; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"comment": "NOC user", "shell": "/bin/bash", "group": 1000, "name": "noc", "changed": false, "state": "present", "invocation": {"module_args": {"comment": "NOC user", "ssh_key_bits": 0, "update_password": "always", "non_unique": false, "force": false, "ssh_key_type": "rsa", "create_home": true, "password_lock": null, "ssh_key_passphrase": null, "uid": null, "home": null, "append": false, "skeleton": null, "ssh_key_comment": "ansible-generated on Node1", "group": "noc", "system": false, "state": "present", "hidden": null, "local": null, "shell": null, "expires": null, "ssh_key_file": null, "groups": null, "move_home": false, "password": null, "name": "noc", "seuser": null, "remove": false, "login_class": null, "generate_ssh_key": null}}, "home": "/home/noc", "move_home": false, "append": false, "uid": 1000}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : Create NOC user] ***************************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/main.yml:16
- ok: [Node1] => {
- "append": false,
- "changed": false,
- "comment": "NOC user",
- "group": 1000,
- "home": "/home/noc",
- "invocation": {
- "module_args": {
- "append": false,
- "comment": "NOC user",
- "create_home": true,
- "expires": null,
- "force": false,
- "generate_ssh_key": null,
- "group": "noc",
- "groups": null,
- "hidden": null,
- "home": null,
- "local": null,
- "login_class": null,
- "move_home": false,
- "name": "noc",
- "non_unique": false,
- "password": null,
- "password_lock": null,
- "remove": false,
- "seuser": null,
- "shell": null,
- "skeleton": null,
- "ssh_key_bits": 0,
- "ssh_key_comment": "ansible-generated on Node1",
- "ssh_key_file": null,
- "ssh_key_passphrase": null,
- "ssh_key_type": "rsa",
- "state": "present",
- "system": false,
- "uid": null,
- "update_password": "always"
- }
- },
- "move_home": false,
- "name": "noc",
- "shell": "/bin/bash",
- "state": "present",
- "uid": 1000
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- included: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml for Node1
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/files/stat.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-bujqpxfvnuiltszgwcphgucuesvcfrnf; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/opt/noc", "get_md5": null, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "binary", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": false, "device_type": 0, "mtime": 1580474375.7530458, "block_size": 4096, "inode": 524943, "isgid": false, "size": 4096, "executable": true, "isuid": false, "readable": true, "version": "4122519995", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "inode/directory", "blocks": 8, "xoth": true, "islnk": false, "nlink": 49, "issock": false, "rgrp": true, "gr_name": "root", "path": "/opt/noc", "xusr": true, "atime": 1582708448.7715285, "isdir": true, "ctime": 1580474375.7530458, "isblk": false, "wgrp": false, "xgrp": true, "dev": 65024, "roth": true, "isfifo": false, "mode": "0755", "rusr": true, "attributes": ["extents"]}, "changed": false}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : check if noc_root exists] ******************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:2
- ok: [Node1] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_attributes": true,
- "get_checksum": true,
- "get_md5": null,
- "get_mime": true,
- "path": "/opt/noc"
- }
- },
- "stat": {
- "atime": 1582708448.7715285,
- "attr_flags": "e",
- "attributes": [
- "extents"
- ],
- "block_size": 4096,
- "blocks": 8,
- "charset": "binary",
- "ctime": 1580474375.7530458,
- "dev": 65024,
- "device_type": 0,
- "executable": true,
- "exists": true,
- "gid": 0,
- "gr_name": "root",
- "inode": 524943,
- "isblk": false,
- "ischr": false,
- "isdir": true,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": false,
- "issock": false,
- "isuid": false,
- "mimetype": "inode/directory",
- "mode": "0755",
- "mtime": 1580474375.7530458,
- "nlink": 49,
- "path": "/opt/noc",
- "pw_name": "root",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 4096,
- "uid": 0,
- "version": "4122519995",
- "wgrp": false,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- TASK [noc : Clone NOC] *********************************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:8
- skipping: [Node1] => {
- "changed": false,
- "skip_reason": "Conditional result was False"
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- TASK [noc : set up dummy git user email] ***************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:13
- skipping: [Node1] => {
- "changed": false,
- "skip_reason": "Conditional result was False"
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- TASK [noc : set up dummy git user name] ****************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:20
- skipping: [Node1] => {
- "changed": false,
- "skip_reason": "Conditional result was False"
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- TASK [noc : Fetch changes from upstream] ***************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:31
- skipping: [Node1] => {
- "changed": false,
- "skip_reason": "Conditional result was False"
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/basic.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/_text.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/file.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/process.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/source_control/git.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-znozhkjgrepfcmpjqdqmaveseydggdxo; https_proxy=http://10.220.21.122:8888 /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"changed": true, "warnings": [], "after": "1358b5a005650f841bac2c9c658dcb077f223199", "remote_url_changed": false, "invocation": {"module_args": {"depth": null, "executable": null, "force": false, "track_submodules": false, "reference": null, "dest": "/opt/noc", "recursive": true, "clone": true, "verify_commit": false, "update": true, "accept_hostkey": false, "ssh_opts": null, "repo": "https://github.com/nocproject/noc.git", "umask": null, "version": "release-19.4", "bare": false, "remote": "origin", "key_file": null, "separate_git_dir": null, "archive": null, "refspec": null}}, "before": "5abd73dc52a192e62938fa3e4b20023f3ba687e1"}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : Pull NOC] **********************************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:41
- changed: [Node1] => {
- "after": "1358b5a005650f841bac2c9c658dcb077f223199",
- "before": "5abd73dc52a192e62938fa3e4b20023f3ba687e1",
- "changed": true,
- "invocation": {
- "module_args": {
- "accept_hostkey": false,
- "archive": null,
- "bare": false,
- "clone": true,
- "depth": null,
- "dest": "/opt/noc",
- "executable": null,
- "force": false,
- "key_file": null,
- "recursive": true,
- "reference": null,
- "refspec": null,
- "remote": "origin",
- "repo": "https://github.com/nocproject/noc.git",
- "separate_git_dir": null,
- "ssh_opts": null,
- "track_submodules": false,
- "umask": null,
- "update": true,
- "verify_commit": false,
- "version": "release-19.4"
- }
- },
- "remote_url_changed": false
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- TASK [noc : fail if local modifications found] *********************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/git.yml:56
- skipping: [Node1] => {
- "changed": false,
- "skip_reason": "Conditional result was False"
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- included: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/init_venv_python3.yml for Node1
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- skipping vars_file '../../vars/{{ ansible_distribution }}.yml' due to an undefined variable
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/system/setup.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-tdfjcsjehyoozgnxqceyxprvtoakqszo; /usr/bin/python3'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["min"], "gather_timeout": 10, "fact_path": "/etc/ansible/facts.d"}}, "ansible_facts": {"ansible_python": {"executable": "/usr/bin/python3", "type": "cpython", "version": {"major": 3, "releaselevel": "final", "micro": 3, "minor": 5, "serial": 0}, "has_sslcontext": true, "version_info": [3, 5, 3, "final", 0]}, "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl5JV3ETV1oebBcwlqKLGLsoHWlicKHkgEpbdnkf3OGFgc82A5Gayy+XYIZDPoRi1vnJhnJyQOJm0or26PBpmU=", "gather_subset": ["min"], "ansible_dns": {"nameservers": ["10.220.12.4", "10.220.12.5"], "search": ["knd-oil.ru"]}, "ansible_userspace_architecture": "x86_64", "ansible_machine": "x86_64", "ansible_user_gecos": "root", "ansible_userspace_bits": "64", "ansible_distribution_release": "stretch", "ansible_system": "Linux", "ansible_distribution_major_version": "9", "ansible_system_capabilities_enforced": "True", "ansible_real_user_id": 0, "ansible_lsb": {"id": "Debian", "codename": "stretch", "release": "9.9", "description": "Debian GNU/Linux 9.9 (stretch)", "major_release": "9"}, "ansible_domain": "knd-oil.ru", "ansible_fqdn": "node1.knd-oil.ru", "ansible_nodename": "Node1", "ansible_effective_user_id": 0, "ansible_date_time": {"hour": "15", "epoch": "1582713836", "date": "2020-02-26", "minute": "43", "weeknumber": "08", "iso8601_basic_short": "20200226T154356", "time": "15:43:56", "year": "2020", "iso8601": "2020-02-26T10:43:56Z", "iso8601_micro": "2020-02-26T10:43:56.483635Z", "second": "56", "iso8601_basic": "20200226T154356483452", "tz": "+05", "day": "26", "month": "02", "weekday": "\\u0421\\u0440\\u0435\\u0434\\u0430", "tz_offset": "+0500", "weekday_number": "3"}, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAINgrvuHgiJywNxZzU/JOBYwVThTEyJunJalBZteO7ABS", "ansible_machine_id": "a186f0b107b4403096418c7b0dc6defa", "ansible_user_shell": "/bin/bash", "ansible_local": {}, "ansible_env": {"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "SUDO_USER": "ansible", "LANG": "ru_RU.UTF-8", "TERM": "unknown", "SUDO_UID": "1001", "SHELL": "/bin/bash", "LOGNAME": "root", "MAIL": "/var/mail/root", "SUDO_GID": "1001", "PWD": "/home/ansible", "HOME": "/root", "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-tdfjcsjehyoozgnxqceyxprvtoakqszo; /usr/bin/python3", "USER": "root", "USERNAME": "root"}, "ansible_service_mgr": "systemd", "module_setup": true, "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCyh0ZSAs64qG77JzQOyWaPL1exwU0Ke/sZFU8t1q+rxcd5l0I/gfb9f+9V3eilkEPBEmskuK7jwb1WhSfqN+Llz0vZDt4KraYeyTrUJhqb3k8jt0ewgJMeG56383aBetU4F4FvAVEkU40OcbBkTYQ3dduLalvYVu3HmBDhTOWgexRL7oj3V9BgoTCSgAWO4YCM/HNjYeHrVsoW6M952Ofq4B3gjoj97ydhigmoOVMqxf2DxwoxYXGulwEPPtg4Ld5QjPG36HkKV9FcCkS5rvkNsnzWxbM8hdMsBnilhcXjbC0LV/xp70TD9EG5U5P9v55Cwvj/+kNnZmGD2xM8ufWl", "ansible_python_version": "3.5.3", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "cap_wake_alarm", "cap_block_suspend", "cap_audit_read+ep"], "ansible_distribution_file_variety": "Debian", "ansible_user_id": "root", "ansible_cmdline": {"BOOT_IMAGE": "/vmlinuz-4.9.0-9-amd64", "quiet": true, "ro": true, "root": "/dev/mapper/node1--vg-root"}, "ansible_os_family": "Debian", "ansible_distribution_file_parsed": true, "ansible_apparmor": {"status": "disabled"}, "ansible_effective_group_id": 0, "ansible_fips": false, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPvoNFnY9H0HtAyv3MSLpQXwQOvV+RuRRfD1RpmoHgURYab1Cr7PBm2/UgBB8iMM2XZog0a9MzBZGjJqkUhqbuzEVEGEwZ9mZ8uSE6crSFrg3uidsqkg8k/EtqQ8EpxAQNCOy/LE3zbJyzfD2q75CTZgods20p+6ZjKzABYU3gEhAAAAFQCOrn8M/nSewheQmO6T3AVk1xL0WwAAAIA9/kdXIZkte0l0JaJb4ntoVlXJ6tlZNh/jBxUrifrrnWkUWjDAn8wrEfKqhdmW/JFum4I6e85qw2Ya2UnFkMDar7dEfymOoUcfj83lP9riGt7kLecy+7TpCUaDlN0l4sHoDWWNkjKk9eTgTEIzIBQx38bmG6onxZG1jhvENkWY9gAAAIBn/pNUctLj+rE3vxebnp6a2RgYzpd9EmpC3Jinxh7jxHEcuv/r6ZqFJuMA5t4sai3amecT/cF0sTi6/BhtrOkrB5FIeebDEPyXr8HHdGVw/huly/qGuBpTKVEyp0ZMm5wba4ZT4DK3FU83AAd917X8rCAQGv66JHZ68/7Ts7Dqpg==", "ansible_user_uid": 0, "ansible_hostname": "Node1", "ansible_distribution_version": "9.9", "ansible_real_group_id": 0, "ansible_distribution": "Debian", "ansible_pkg_mgr": "apt", "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_user_gid": 0, "ansible_user_dir": "/root", "ansible_architecture": "x86_64", "ansible_distribution_file_path": "/etc/os-release", "ansible_selinux_python_present": false, "ansible_kernel": "4.9.0-9-amd64"}}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : gather py3 facts] **************************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/init_venv_python3.yml:2
- ok: [Node1]
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/files/stat.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sowyrhaiecfkzpkgzgzjblfwhdubcmau; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (0, '\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/opt/noc/bin/python2", "get_md5": null, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "binary", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1537428140.9439983, "block_size": 4096, "inode": 657573, "isgid": false, "size": 3781768, "executable": true, "isuid": false, "readable": true, "version": "4122526866", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "application/x-executable", "blocks": 7392, "xoth": true, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/opt/noc/bin/python2", "xusr": true, "atime": 1582708435.5640008, "isdir": false, "ctime": 1537428140.9439983, "isblk": false, "wgrp": false, "checksum": "35675f42b1e4e184932134e8badf060d0278889f", "dev": 65024, "roth": true, "isfifo": false, "mode": "0755", "xgrp": true, "rusr": true, "attributes": ["extents"]}, "changed": false}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- TASK [noc : Check if we have NOC/bin/ folder with py2] *************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/init_venv_python3.yml:9
- ok: [Node1] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_attributes": true,
- "get_checksum": true,
- "get_md5": null,
- "get_mime": true,
- "path": "/opt/noc/bin/python2"
- }
- },
- "stat": {
- "atime": 1582708435.5640008,
- "attr_flags": "e",
- "attributes": [
- "extents"
- ],
- "block_size": 4096,
- "blocks": 7392,
- "charset": "binary",
- "checksum": "35675f42b1e4e184932134e8badf060d0278889f",
- "ctime": 1537428140.9439983,
- "dev": 65024,
- "device_type": 0,
- "executable": true,
- "exists": true,
- "gid": 0,
- "gr_name": "root",
- "inode": 657573,
- "isblk": false,
- "ischr": false,
- "isdir": false,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": true,
- "issock": false,
- "isuid": false,
- "mimetype": "application/x-executable",
- "mode": "0755",
- "mtime": 1537428140.9439983,
- "nlink": 1,
- "path": "/opt/noc/bin/python2",
- "pw_name": "root",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 3781768,
- "uid": 0,
- "version": "4122526866",
- "wgrp": false,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- Read vars_file '../../vars/main.yml'
- Read vars_file '../../vars/{{ ansible_distribution }}.yml'
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/_text.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/basic.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/file.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/process.py
- Using module_utils file /opt/tower/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
- Using module file /opt/tower/lib/python2.7/site-packages/ansible/modules/files/archive.py
- <10.220.21.122> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.220.21.122> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.220.21.122> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.220.21.122> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
- <10.220.21.122> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.220.21.122> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <10.220.21.122> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.220.21.122> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.220.21.122> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.220.21.122 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-vuqzizkszpqdsnotyuvjajzcektnbpsk; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <10.220.21.122> (1, '\n{"msg": "Error when writing tar.bz2 archive at /opt/noc/../noc_on_python2.tbz: [Errno 2] \\u041d\\u0435\\u0442 \\u0442\\u0430\\u043a\\u043e\\u0433\\u043e \\u0444\\u0430\\u0439\\u043b\\u0430 \\u0438\\u043b\\u0438 \\u043a\\u0430\\u0442\\u0430\\u043b\\u043e\\u0433\\u0430: \'/opt/noc/local/.style.yapf\'", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_archive_payload_hXszDT/__main__.py\\", line 351, in main\\n if not filecmp.cmp(fullpath, dest):\\n File \\"/usr/lib/python2.7/filecmp.py\\", line 42, in cmp\\n s1 = _sig(os.stat(f1))\\nOSError: [Errno 2] \\u041d\\u0435\\u0442 \\u0442\\u0430\\u043a\\u043e\\u0433\\u043e \\u0444\\u0430\\u0439\\u043b\\u0430 \\u0438\\u043b\\u0438 \\u043a\\u0430\\u0442\\u0430\\u043b\\u043e\\u0433\\u0430: \'/opt/noc/local/.style.yapf\'\\n", "invocation": {"module_args": {"directory_mode": null, "force": null, "remote_src": null, "path": ["/opt/noc"], "owner": null, "follow": false, "exclude_path": null, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "format": "bz2", "dest": "/opt/noc/../noc_on_python2.tbz", "selevel": null, "regexp": null, "src": null, "seuser": null, "remove": false, "delimiter": null, "mode": null, "attributes": null, "backup": null}}}\n', 'OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.220.21.122 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4361\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
- <10.220.21.122> Failed to connect to the host via ssh: OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug2: resolve_canonicalize: hostname 10.220.21.122 is address
- debug1: auto-mux: Trying existing master
- debug2: fd 4 setting O_NONBLOCK
- debug2: mux_client_hello_exchange: master version 4
- debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
- debug3: mux_client_request_session: entering
- debug3: mux_client_request_alive: entering
- debug3: mux_client_request_alive: done pid = 4361
- debug3: mux_client_request_session: session request sent
- debug3: mux_client_read_packet: read header failed: Broken pipe
- debug2: Received exit status from master 1
- TASK [noc : archive current noc dir] *******************************************
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/noc/tasks/init_venv_python3.yml:16
- The full traceback is:
- Traceback (most recent call last):
- File "/tmp/ansible_archive_payload_hXszDT/__main__.py", line 351, in main
- if not filecmp.cmp(fullpath, dest):
- File "/usr/lib/python2.7/filecmp.py", line 42, in cmp
- s1 = _sig(os.stat(f1))
- OSError: [Errno 2] Нет такого файла или каталога: '/opt/noc/local/.style.yapf'
- fatal: [Node1]: FAILED! => {
- "changed": false,
- "invocation": {
- "module_args": {
- "attributes": null,
- "backup": null,
- "content": null,
- "delimiter": null,
- "dest": "/opt/noc/../noc_on_python2.tbz",
- "directory_mode": null,
- "exclude_path": null,
- "follow": false,
- "force": null,
- "format": "bz2",
- "group": null,
- "mode": null,
- "owner": null,
- "path": [
- "/opt/noc"
- ],
- "regexp": null,
- "remote_src": null,
- "remove": false,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": null,
- "unsafe_writes": null
- }
- }
- }
- MSG:
- Error when writing tar.bz2 archive at /opt/noc/../noc_on_python2.tbz: [Errno 2] Нет такого файла или каталога: '/opt/noc/local/.style.yapf'
- to retry, use: --limit @/opt/tower/var/tower/playbooks/NOC/site.retry
- PLAY RECAP *********************************************************************
- Node1 : ok=332 changed=7 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement