Skip to content

Instantly share code, notes, and snippets.

@brk3
Created October 7, 2016 15:50
Show Gist options
  • Save brk3/f06da830405d0cb3ffeed59d2901e5a9 to your computer and use it in GitHub Desktop.
Save brk3/f06da830405d0cb3ffeed59d2901e5a9 to your computer and use it in GitHub Desktop.
ansible-playbook output
fatal: [database02]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "set
up"}, "module_stderr": "OpenSSH_7.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configurati
on data /root/.ssh/config\r\ndebug1: /root/.ssh/config line 1: Applying options for *\r\ndebug1: Read
ing configuration data /etc/ssh/ssh_config\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_for
wards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebu
g3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 17304\r\ndebug
3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master ses
sion id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exi
t status from master 0\r\nShared connection to database02 closed.\r\n", "module_stdout": "\r\n{\"invo
cation\": {\"module_args\": {\"filter\": \"*\", \"gather_subset\": [\"all\"], \"fact_path\": \"/etc/a
nsible/facts.d\"}}, \"changed\": false, \"_ansible_verbose_override\": true, \"ansible_facts\": {\"an
sible_product_serial\": \"NA\", \"ansible_form_factor\": \"Other\", \"ansible_product_version\": \"pc
-i440fx-2.2\", \"ansible_fips\": false, \"ansible_service_mgr\": \"systemd\", \"ansible_user_id\": \"
root\", \"module_setup\": true, \"ansible_memtotal_mb\": 7725, \"ansible_all_ipv4_addresses\": [\"172
.17.0.1\", \"192.168.7.220\"], \"ansible_architecture\": \"x86_64\", \"ansible_distribution_version\"
: \"7.2\", \"ansible_domain\": \"\", \"ansible_user_shell\": \"/bin/bash\", \"ansible_virtualization_
type\": \"kvm\", \"ansible_ssh_host_key_ed25519_public\": \"AAAAC3NzaC1lZDI1NTE5AAAAIHKeqk0rLkuOnoAzO
7PEG2bn+e8CCwUHgTLP2cXRu9eZ\", \"ansible_processor_cores\": 1, \"ansible_virtualization_role\": \"gue
st\", \"ansible_dns\": {\"nameservers\": [\"192.168.7.1\"]}, \"ansible_processor_vcpus\": 2, \"ansibl
e_docker0\": {\"macaddress\": \"02:42:24:de:b7:82\", \"interfaces\": [], \"mtu\": 1500, \"device\": \
"docker0\", \"promisc\": false, \"stp\": false, \"ipv4\": {\"broadcast\": \"global\", \"netmask\": \"
255.255.0.0\", \"network\": \"172.17.0.0\", \"address\": \"172.17.0.1\"}, \"active\": false, \"type\"
: \"bridge\", \"id\": \"8000.024224deb782\"}, \"ansible_bios_version\": \"seabios-1.7.5-11.el7\", \"a
nsible_processor\": [\"GenuineIntel\", \"Intel Core Processor (Haswell)\", \"GenuineIntel\", \"Intel
Core Processor (Haswell)\"], \"ansible_date_time\": {\"weekday_number\": \"5\", \"iso8601_basic_short
\": \"20161007T164917\", \"tz\": \"IST\", \"weeknumber\": \"40\", \"hour\": \"16\", \"year\": \"2016\
", \"minute\": \"49\", \"tz_offset\": \"+0100\", \"month\": \"10\", \"epoch\": \"1475855357\", \"iso8
601_micro\": \"2016-10-07T15:49:17.656531Z\", \"weekday\": \"Friday\", \"time\": \"16:49:17\", \"date
\": \"2016-10-07\", \"iso8601\": \"2016-10-07T15:49:17Z\", \"day\": \"07\", \"iso8601_basic\": \"2016
1007T164917656452\", \"second\": \"17\"}, \"ansible_lo\": {\"mtu\": 65536, \"device\": \"lo\", \"prom
isc\": false, \"ipv4\": {\"broadcast\": \"host\", \"netmask\": \"255.0.0.0\", \"network\": \"127.0.0.
0\", \"address\": \"127.0.0.1\"}, \"ipv6\": [{\"scope\": \"host\", \"prefix\": \"128\", \"address\":
\"::1\"}], \"active\": true, \"type\": \"loopback\"}, \"ansible_userspace_bits\": \"64\", \"ansible_s
sh_host_key_ecdsa_public\": \"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKd9EsPubgM3m9PZsRI
U9zADGYGp0ddg1Q0QatFuoK59btCltcYgmwTBau20kV7Q8B0F4D3eJfK7dLJDIuzP/Xo=\", \"ansible_default_ipv4\": {\
"macaddress\": \"52:54:00:9b:11:25\", \"network\": \"192.168.7.0\", \"mtu\": 1500, \"broadcast\": \"1
92.168.7.255\", \"alias\": \"eth0\", \"netmask\": \"255.255.255.0\", \"address\": \"192.168.7.220\",
\"interface\": \"eth0\", \"type\": \"ether\", \"gateway\": \"192.168.7.1\"}, \"ansible_swapfree_mb\":
1023, \"ansible_default_ipv6\": {}, \"ansible_distribution_release\": \"NA\", \"ansible_system_vendo
r\": \"QEMU\", \"ansible_os_family\": \"RedHat\", \"ansible_cmdline\": {\"LANG\": \"en_IE.UTF-8\", \"
console\": \"ttyS0,115200\", \"quiet\": true, \"rhgb\": true, \"crashkernel\": \"auto\", \"BOOT_IMAGE
\": \"/vmlinuz-4.1.12-37.5.1.el7uek.x86_64\", \"ro\": true, \"root\": \"UUID=2398c837-21a5-4626-a49b-
bb712f93c9ae\"}, \"ansible_mounts\": [{\"uuid\": \"2398c837-21a5-4626-a49b-bb712f93c9ae\", \"size_tot
al\": 15717105664, \"mount\": \"/\", \"size_available\": 12989526016, \"fstype\": \"xfs\", \"device\"
: \"/dev/vda5\", \"options\": \"rw,relatime,attr2,inode64,noquota\"}, {\"uuid\": \"280b019d-04bf-4ed7
-987b-e4cc9622911a\", \"size_total\": 36569088000, \"mount\": \"/var/lib/docker\", \"size_available\"
: 31071473664, \"fstype\": \"btrfs\", \"device\": \"/dev/vda3\", \"options\": \"rw,relatime,space_cac
he\"}, {\"uuid\": \"f291b235-d3ec-4bea-8bc9-c190e73042a0\", \"size_total\": 311078912, \"mount\": \"/
boot\", \"size_available\": 109363200, \"fstype\": \"xfs\", \"device\": \"/dev/vda1\", \"options\": \
"rw,relatime,attr2,inode64,noquota\"}, {\"uuid\": \"280b019d-04bf-4ed7-987b-e4cc9622911a\", \"size_to
tal\": 36569088000, \"mount\": \"/var/lib/docker/btrfs\", \"size_available\": 31071473664, \"fstype\"
: \"btrfs\", \"device\": \"/dev/vda3\", \"options\": \"rw,relatime,space_cache\"}], \"ansible_selinux
\": {\"status\": \"disabled\"}, \"ansible_userspace_architecture\": \"x86_64\", \"ansible_product_uui
d\": \"E69EA132-AB02-4D6F-98CF-ABB41BC21504\", \"ansible_product_name\": \"Standard PC (i440FX + PIIX
, 1996)\", \"ansible_pkg_mgr\": \"yum\", \"ansible_memfree_mb\": 7001, \"ansible_system\": \"Linux\",
\"ansible_devices\": {\"vda\": {\"scheduler_mode\": \"\", \"rotational\": \"1\", \"vendor\": \"0x1af
4\", \"sectors\": \"104857600\", \"sas_device_handle\": null, \"sas_address\": null, \"host\": \"SCSI
d\": \"E69EA132-AB02-4D6F-98CF-ABB41BC21504\", \"ansible_product_name\": \"Standard PC (i440FX + PIIX
, 1996)\", \"ansible_pkg_mgr\": \"yum\", \"ansible_memfree_mb\": 7001, \"ansible_system\": \"Linux\",
\"ansible_devices\": {\"vda\": {\"scheduler_mode\": \"\", \"rotational\": \"1\", \"vendor\": \"0x1af
4\", \"sectors\": \"104857600\", \"sas_device_handle\": null, \"sas_address\": null, \"host\": \"SCSI
storage controller: Red Hat, Inc Virtio block device\", \"sectorsize\": \"512\", \"removable\": \"0\
", \"support_discard\": \"0\", \"model\": null, \"partitions\": {\"vda5\": {\"start\": \"74139648\",
\"sectorsize\": 512, \"sectors\": \"30717952\", \"size\": \"14.65 GB\"}, \"vda4\": {\"start\": \"7413
7600\", \"sectorsize\": 512, \"sectors\": \"2\", \"size\": \"1.00 KB\"}, \"vda1\": {\"start\": \"2048
\", \"sectorsize\": 512, \"sectors\": \"614400\", \"size\": \"300.00 MB\"}, \"vda3\": {\"start\": \"2
713600\", \"sectorsize\": 512, \"sectors\": \"71424000\", \"size\": \"34.06 GB\"}, \"vda2\": {\"start
\": \"616448\", \"sectorsize\": 512, \"sectors\": \"2097152\", \"size\": \"1.00 GB\"}}, \"holders\":
[], \"size\": \"50.00 GB\"}}, \"ansible_user_uid\": 0, \"ansible_lvm\": {\"lvs\": {}, \"vgs\": {}}, \
"ansible_distribution\": \"OracleLinux\", \"ansible_env\": {\"NO_PROXY\": \"127.0.0.1,localhost,.odl.
local,oosqareg.ie.oracle.com\", \"http_proxy\": \"http://proxy.odl.local:3128\", \"LESSOPEN\": \"||/u
sr/bin/lesspipe.sh %s\", \"SSH_CLIENT\": \"192.168.7.202 47914 22\", \"LOGNAME\": \"root\", \"USER\":
\"root\", \"PATH\": \"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin\", \"HOME\": \"/r
oot\", \"LANG\": \"en_IE.UTF-8\", \"TERM\": \"xterm-256color\", \"SHELL\": \"/bin/bash\", \"SHLVL\":
\"2\", \"https_proxy\": \"http://proxy.odl.local:3128\", \"no_proxy\": \"127.0.0.1,localhost,.odl.loc
al,oosqareg.ie.oracle.com\", \"XDG_RUNTIME_DIR\": \"/run/user/0\", \"LC_ALL\": \"en_IE.UTF-8\", \"XDG
_SESSION_ID\": \"c106\", \"_\": \"/usr/bin/python\", \"LC_MESSAGES\": \"en_IE.UTF-8\", \"SSH_TTY\": \
"/dev/pts/0\", \"HTTP_PROXY\": \"http://proxy.odl.local:3128\", \"HTTPS_PROXY\": \"http://proxy.odl.l
ocal:3128\", \"PWD\": \"/root\", \"MAIL\": \"/var/mail/root\", \"SSH_CONNECTION\": \"192.168.7.202 47
914 192.168.7.220 22\"}, \"ansible_distribution_major_version\": \"7\", \"ansible_user_dir\": \"/root
\", \"ansible_processor_count\": 2, \"ansible_hostname\": \"database02\", \"ansible_swaptotal_mb\": 1
023, \"ansible_bios_date\": \"04/01/2014\", \"ansible_all_ipv6_addresses\": [\"fe80::5054:ff:fe9b:112
5\"], \"ansible_interfaces\": [\"docker0\", \"lo\", \"eth3\", \"eth2\", \"eth1\", \"eth0\"], \"ansibl
e_uptime_seconds\": 7220, \"ansible_machine_id\": \"d8036bcb67fa674bb8fd470e1856a99c\", \"ansible_ssh
_host_key_rsa_public\": \"AAAAB3NzaC1yc2EAAAADAQABAAABAQDL3QqynBEYxRVRBC+zhURAL4ZVPP1Mdu9sEzhccFc/885
jr+6r8OaYuCLoFKhIJQOnYT8ouSG/yplyUj76badYW7h2YmbU5Q+83YTXO2z/ezWTtyfm4M7cEyLs70gxRtJaix+GFK5iSxJlIc5s
ftRP5H8l+ouZ+xtmCMfeRrNlIpOg8pJCvw1UFOpGI9wmaD4T4KCb4LS9ipLGsASMTp0ndKcQLBaaUST28XBiUUS8FLmZXlnwEKd1l
O31fTZjRLT/b82+awU47sH/PmEdVbOYU1+7CdigKhR5ZS74HIzeUdr2gJNLqO+aNVQadCyJpzqlteOSN1+W0NOZxAlhgS/r\", \"
ansible_gather_subset\": [\"hardware\", \"network\", \"virtual\"], \"ansible_user_gecos\": \"root\",
\"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_s
ys_ptrace\", \"cap_sys_pacct\", \"cap_sys_admin\", \"cap_sys_boot\", \"cap_sys_nice\", \"cap_sys_reso
urce\", \"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\", \"35
\", \"36\", \"37+ep\"], \"ansible_python\": {\"executable\": \"/usr/bin/python\", \"version\": {\"mic
ro\": 5, \"major\": 2, \"releaselevel\": \"final\", \"serial\": 0, \"minor\": 7}, \"type\": \"CPython
\", \"has_sslcontext\": true, \"version_info\": [2, 7, 5, \"final\", 0]}, \"ansible_memory_mb\": {\"r
eal\": {\"total\": 7725, \"used\": 724, \"free\": 7001}, \"swap\": {\"cached\": 0, \"total\": 1023, \
"free\": 1023, \"used\": 0}, \"nocache\": {\"used\": 181, \"free\": 7544}}, \"ansible_processor_threa
ds_per_core\": 1, \"ansible_fqdn\": \"database02\", \"ansible_user_gid\": 0, \"ansible_eth0\": {\"mac
address\": \"52:54:00:9b:11:25\", \"pciid\": \"virtio0\", \"module\": \"virtio_net\", \"mtu\": 1500,
\"device\": \"eth0\", \"promisc\": false, \"ipv4\": {", "msg": "MODULE FAILURE", "parsed": false}
ok: [database01]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment