Skip to content

Instantly share code, notes, and snippets.

@Bharathkumarraju
Created July 2, 2020 08:46
Show Gist options
  • Save Bharathkumarraju/706a62cc93f2eb7a0b937cc2e209986e to your computer and use it in GitHub Desktop.
Save Bharathkumarraju/706a62cc93f2eb7a0b937cc2e209986e to your computer and use it in GitHub Desktop.
amazon-ebs: },
amazon-ebs: "os_useradd_create_home": true,
amazon-ebs: "os_useradd_mail_dir": "/var/spool/mail"
amazon-ebs: },
amazon-ebs: "ansible_included_var_files": [
amazon-ebs: "/root/.ansible/roles/dev-sec.os-hardening/vars/RedHat.yml"
amazon-ebs: ],
amazon-ebs: "ansible_loop_var": "item",
amazon-ebs: "changed": false,
amazon-ebs: "item": "/root/.ansible/roles/dev-sec.os-hardening/vars/RedHat.yml"
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [dev-sec.os-hardening : install auditd package | package-08] **************
amazon-ebs: task path: /root/.ansible/roles/dev-sec.os-hardening/tasks/auditd.yml:3
amazon-ebs: Running yum
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp `"&& mkdir /tmp/ansible-tmp-1593677264.6923332-532-165196338536772 && echo ansible-tmp-1593677264.6923332-532-165196338536772="` echo /tmp/ansible-tmp-1593677264.6923332-532-165196338536772 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1593677264.6923332-532-165196338536772=/tmp/ansible-tmp-1593677264.6923332-532-165196338536772\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: Using module file /usr/lib/python3.8/site-packages/ansible/modules/packaging/os/yum.py
amazon-ebs: <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-50895es_dhw/tmp0x6kon3g TO /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/AnsiballZ_yum.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/6c39a46d41 /root/.ansible/tmp/ansible-local-50895es_dhw/tmp0x6kon3g '[127.0.0.1]:/tmp/ansible-tmp-1593677264.6923332-532-165196338536772/AnsiballZ_yum.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/AnsiballZ_yum.py\nOpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 151485 tmp0x6kon3g\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/ /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/AnsiballZ_yum.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/AnsiballZ_yum.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["audit"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["audit-2.8.5-4.el7.x86_64 providing audit is already installed"], "rc": 0}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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\nShared connection to 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ansible-tmp-1593677264.6923332-532-165196338536772/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: ok: [default] => {
amazon-ebs: "changed": false,
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "allow_downgrade": false,
amazon-ebs: "autoremove": false,
amazon-ebs: "bugfix": false,
amazon-ebs: "conf_file": null,
amazon-ebs: "disable_excludes": null,
amazon-ebs: "disable_gpg_check": false,
amazon-ebs: "disable_plugin": [],
amazon-ebs: "disablerepo": [],
amazon-ebs: "download_dir": null,
amazon-ebs: "download_only": false,
amazon-ebs: "enable_plugin": [],
amazon-ebs: "enablerepo": [],
amazon-ebs: "exclude": [],
amazon-ebs: "install_repoquery": true,
amazon-ebs: "install_weak_deps": true,
amazon-ebs: "installroot": "/",
amazon-ebs: "list": null,
amazon-ebs: "lock_timeout": 30,
amazon-ebs: "name": [
amazon-ebs: "audit"
amazon-ebs: ],
amazon-ebs: "releasever": null,
amazon-ebs: "security": false,
amazon-ebs: "skip_broken": false,
amazon-ebs: "state": "present",
amazon-ebs: "update_cache": false,
amazon-ebs: "update_only": false,
amazon-ebs: "use_backend": "auto",
amazon-ebs: "validate_certs": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "msg": "",
amazon-ebs: "rc": 0,
amazon-ebs: "results": [
amazon-ebs: "audit-2.8.5-4.el7.x86_64 providing audit is already installed"
amazon-ebs: ]
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [dev-sec.os-hardening : configure auditd | package-08] ********************
amazon-ebs: task path: /root/.ansible/roles/dev-sec.os-hardening/tasks/auditd.yml:8
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp `"&& mkdir /tmp/ansible-tmp-1593677268.4951477-542-266272448911672 && echo ansible-tmp-1593677268.4951477-542-266272448911672="` echo /tmp/ansible-tmp-1593677268.4951477-542-266272448911672 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1593677268.4951477-542-266272448911672=/tmp/ansible-tmp-1593677268.4951477-542-266272448911672\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: Using module file /usr/lib/python3.8/site-packages/ansible/modules/files/stat.py
amazon-ebs: <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-50895es_dhw/tmp3n9p_r56 TO /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/AnsiballZ_stat.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/6c39a46d41 /root/.ansible/tmp/ansible-local-50895es_dhw/tmp3n9p_r56 '[127.0.0.1]:/tmp/ansible-tmp-1593677268.4951477-542-266272448911672/AnsiballZ_stat.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/AnsiballZ_stat.py\nOpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 108626 tmp3n9p_r56\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/ /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/AnsiballZ_stat.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/AnsiballZ_stat.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (1, b'\n{"msg": "Permission denied", "failed": true, "exception": "WARNING: The below traceback may *not* be related to the actual failure.\\n File \\"/tmp/ansible_stat_payload_Z9Toe1/ansible_stat_payload.zip/ansible/modules/files/stat.py\\", line 464, in main\\n", "invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/audit/auditd.conf", "get_md5": false, "get_mime": true, "get_attributes": true}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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\nShared connection to 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
amazon-ebs: debug1: Reading configuration data /root/.ssh/config
amazon-ebs: debug1: Reading configuration data /etc/ssh/ssh_config
amazon-ebs: debug2: resolve_canonicalize: hostname 127.0.0.1 is address
amazon-ebs: debug1: auto-mux: Trying existing master
amazon-ebs: debug2: fd 3 setting O_NONBLOCK
amazon-ebs: debug2: mux_client_hello_exchange: master version 4
amazon-ebs: debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
amazon-ebs: debug3: mux_client_request_session: entering
amazon-ebs: debug3: mux_client_request_alive: entering
amazon-ebs: debug3: mux_client_request_alive: done pid = 519
amazon-ebs: debug3: mux_client_request_session: session request sent
amazon-ebs: debug3: mux_client_read_packet: read header failed: Broken pipe
amazon-ebs: debug2: Received exit status from master 1
amazon-ebs: Shared connection to 127.0.0.1 closed.
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39047 -o 'IdentityFile="/tmp/ansible-key424030101"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o ControlPath=/root/.ansible/cp/6c39a46d41 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ansible-tmp-1593677268.4951477-542-266272448911672/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 519\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')
amazon-ebs: fatal: [default]: FAILED! => {
amazon-ebs: "msg": "Failed to get information on remote file (/etc/audit/auditd.conf): Permission denied"
amazon-ebs: }
amazon-ebs:
amazon-ebs: PLAY RECAP *********************************************************************
amazon-ebs: default : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
amazon-ebs:
==> amazon-ebs: Provisioning step had errors: Running the cleanup provisioner, if present...
==> amazon-ebs: Terminating the source AWS instance...
googlecompute: Instance has been deleted!
==> googlecompute: Deleting disk...
googlecompute: Disk has been deleted!
Build 'googlecompute' errored: Error executing Ansible: Non-zero exit status: exit status 2
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment