Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [pre : Disable selinux]00:26
- task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/pre/tasks/os/CentOS/main.yml:14
- Read vars_file 'vars/main.yml'
- Read vars_file 'vars/{{ ansible_distribution }}.yml'
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/basic.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/utils.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/compat.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/ansible_collector.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/namespace.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/default_collectors.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/collector.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/timeout.py
- Read vars_file 'vars/main.yml'
- Read vars_file 'vars/{{ ansible_distribution }}.yml'
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/base.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/base.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/linux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/sunos.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/env.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/cmdline.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/service_mgr.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/pkg_mgr.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/openbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/platform.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/netbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/netbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/distribution.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/apparmor.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/user.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/hurd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/iscsi.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/hurd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/dragonfly.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/base.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/dragonfly.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/ssh_pub_keys.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/selinux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/darwin.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/darwin.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/aix.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/aix.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/nvme.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/freebsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/freebsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/hpux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/hpux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/date_time.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/linux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/lsb.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/sunos.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/linux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/python.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/sunos.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/chroot.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/netbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/fips.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/caps.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/dns.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/dragonfly.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/facter.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/ohai.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/local.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/openbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/fc_wwn.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/openbsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/freebsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/hpux.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/six/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/_text.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/sysctl.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/generic_bsd.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/sysctl.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/sys_info.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/distro/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_utils.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/distro/_distro.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/process.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/file.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/formatters.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_json_compat.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/pycompat24.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/selectors.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/validation.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/parsing/convert_bool.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/converters.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/parameters.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/parsing/__init__.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_collections_compat.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/_selectors2.py
- Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/collections.py
- Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
- Pipelining is enabled.
- <10.3.3.16> ESTABLISH SSH CONNECTION FOR USER: ansible
- Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
- Pipelining is enabled.
- <10.3.3.16> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.3.3.16> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.3.3.16> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.3.3.17> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.3.3.16> 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.3.3.16> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.3.3.16> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
- <10.3.3.16> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.3.3.16> SSH: PlayContext set ssh_common_args: ()
- <10.3.3.16> SSH: PlayContext set ssh_extra_args: ()
- Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
- <10.3.3.17> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- Pipelining is enabled.
- <10.3.3.17> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.3.3.17> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.3.3.16> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.3.3.17> 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.3.3.17> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.3.3.17> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
- <10.3.3.16> 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.3.3.16 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jwqkeivjwaftazxuknbwpivrifxsrqrg ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- <10.3.3.17> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.3.3.15> ESTABLISH SSH CONNECTION FOR USER: ansible
- <10.3.3.17> SSH: PlayContext set ssh_common_args: ()
- <10.3.3.17> SSH: PlayContext set ssh_extra_args: ()
- <10.3.3.15> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <10.3.3.17> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.3.3.15> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <10.3.3.15> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <10.3.3.15> 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.3.3.17> 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.3.3.17 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ybltkszlqxslnftkcluaofvzelcjgzzv ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- <10.3.3.15> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <10.3.3.15> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
- <10.3.3.15> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <10.3.3.15> SSH: PlayContext set ssh_common_args: ()
- <10.3.3.15> SSH: PlayContext set ssh_extra_args: ()
- <10.3.3.15> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
- <10.3.3.15> 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.3.3.15 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-homiqsbmefiippjvkqhfoamjjoyuwmbp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- Escalation succeeded
- Escalation succeeded
- <10.3.3.15> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-Web\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_ggKoRz/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.15 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 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 = 2802\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.3.3.15> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug2: resolve_canonicalize: hostname 10.3.3.15 is address
- debug1: auto-mux: Trying existing master
- debug2: fd 3 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 = 2802
- 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
- The full traceback is:
- Traceback (most recent call last):
- File "/tmp/ansible_selinux_payload_ggKoRz/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
- ImportError: No module named selinux
- fatal: [NOC-Web]: FAILED! => {
- "changed": false,
- "invocation": {
- "module_args": {
- "configfile": "/etc/selinux/config",
- "policy": "targeted",
- "state": "disabled"
- }
- }
- }
- MSG:
- Failed to import the required Python library (libselinux-python) on NOC-Web's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
- <10.3.3.17> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-Mongo-Postgres\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_53JCXM/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.17 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 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 = 2812\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.3.3.17> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug2: resolve_canonicalize: hostname 10.3.3.17 is address
- debug1: auto-mux: Trying existing master
- debug2: fd 3 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 = 2812
- 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
- <10.3.3.16> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-ClickHouse\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_KJWykU/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.16 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 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 = 2807\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.3.3.16> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug2: resolve_canonicalize: hostname 10.3.3.16 is address
- debug1: auto-mux: Trying existing master
- debug2: fd 3 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 = 2807
- 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
- The full traceback is:
- Traceback (most recent call last):
- File "/tmp/ansible_selinux_payload_53JCXM/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
- ImportError: No module named selinux
- fatal: [NOC-Mongo-Postgres]: FAILED! => {
- "changed": false,
- "invocation": {
- "module_args": {
- "configfile": "/etc/selinux/config",
- "policy": "targeted",
- "state": "disabled"
- }
- }
- }
- MSG:
- Failed to import the required Python library (libselinux-python) on NOC-Mongo-Postgres's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
- The full traceback is:
- Traceback (most recent call last):
- File "/tmp/ansible_selinux_payload_KJWykU/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
- ImportError: No module named selinux
- fatal: [NOC-ClickHouse]: FAILED! => {
- "changed": false,
- "invocation": {
- "module_args": {
- "configfile": "/etc/selinux/config",
- "policy": "targeted",
- "state": "disabled"
- }
- }
- }
- MSG:
- Failed to import the required Python library (libselinux-python) on NOC-ClickHouse's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement