Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-playbook 2.6.0 (devel ab2151858e) last updated 2018/02/13 15:09:06 (GMT -400)
- config file = /home/bcoca/.ansible.cfg
- configured module search path = [u'/home/bcoca/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
- ansible python module location = /home/bcoca/work/ansible/lib/ansible
- executable location = /home/bcoca/work/ansible/bin/ansible-playbook
- python version = 2.7.14 (default, Jan 27 2018, 18:43:59) [GCC 6.4.0]
- Using /home/bcoca/.ansible.cfg as config file
- Parsed 192.168.0.28, inventory source with host_list plugin
- ____________________
- < PLAYBOOK: play.yml >
- --------------------
- \ ,-^-.
- \ !oYo!
- \ /./=\.\______
- ## )\/\
- ||-----w||
- || ||
- Cowth Vader
- 1 plays in play.yml
- ____________
- < PLAY [all] >
- ------------
- \ ^__^
- \ (oo)\_______ ________
- (__)\ )\/\ |Super |
- ||----W | |Milker|
- || UDDDDDDDDD|______|
- ________________________
- < TASK [Gathering Facts] >
- ------------------------
- \
- \ .
- .---. //
- Y|o o|Y//
- /_(i=i)K/
- ~()~*~()~
- (_)-(_)
- Darth
- Vader
- koala
- task path: /home/bcoca/work/ansible/play.yml:1
- Using module file /home/bcoca/work/ansible/lib/ansible/modules/system/setup.py
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
- <192.168.0.28> (0, '/home/bcoca\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416 `" && echo ansible-tmp-1518553310.99-89135509851416="` echo /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416 `" ) && sleep 0'"'"''
- <192.168.0.28> (0, 'ansible-tmp-1518553310.99-89135509851416=/home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416\n', '')
- <192.168.0.28> PUT /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmpD6b1zF TO /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/setup.py
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmpD6b1zF /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/setup.py\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'chmod u+x /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/ /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/setup.py && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf -tt 192.168.0.28 '/bin/sh -c '"'"'/usr/bin/python /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/setup.py && sleep 0'"'"''
- <192.168.0.28> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_product_serial": "NA", "ansible_form_factor": "Other", "ansible_real_group_id": 1000, "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "bcoca", "ansible_selinux_python_present": false, "ansible_userspace_bits": "64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDVTqXZYRml+2umd3+HsS7S9xYFb/gscgDvuPQMz6KNvn6FGfdoibkAdmvPvpW4Dp2EuBhpShKzl0Xtvjxms9NzDcvtewaRu7TsxXoA+jrDhFX+ODbmm9nOMfKuq7Gl6i5PGg0hmaLN7CrVVjsVj4u2jLiAe4U+CfOg4BJMuyByzRpcPJA0AnbkrwDQOhF6GCH+qaOvM7xRlZ52d1GkoV5+8cf1yDbrzcDOmb2jmdz3FK4o6oYEFoHWA7o0MOdFUTIuxBHkFfRQ5CZlbSubB/MJNGA4ioNamUKid4OJv5OAJun03y5TOc0zjZi8Qq5c2DgH7pwXT0xbBd5lfHRIun5/", "gather_subset": ["all"], "ansible_architecture": "x86_64", "ansible_local": {}, "ansible_distribution_version": "8.10", "ansible_domain": "briancoca.com", "ansible_distribution_file_path": "/etc/os-release", "ansible_user_shell": "/bin/bash", "ansible_virtualization_type": "virtualbox", "ansible_real_user_id": 1000, "ansible_processor_cores": 1, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "Debian", "ansible_dns": {"nameservers": ["65.19.96.252", "65.19.96.253"]}, "ansible_effective_group_id": 1000, "ansible_bios_version": "VirtualBox", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz"], "ansible_date_time": {"weekday_number": "2", "iso8601_basic_short": "20180213T152149", "tz": "EST", "weeknumber": "07", "hour": "15", "year": "2018", "minute": "21", "tz_offset": "-0500", "month": "02", "epoch": "1518553309", "iso8601_micro": "2018-02-13T20:21:49.612460Z", "weekday": "Tuesday", "time": "15:21:49", "date": "2018-02-13", "iso8601": "2018-02-13T20:21:49Z", "day": "13", "iso8601_basic": "20180213T152149612422", "second": "49"}, "ansible_lo": {"mtu": 65536, "device": "lo", "promisc": 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_memtotal_mb": 1000, "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLQ6krKGZPaBGkK41wu5jVNp9gNx8MdeKOeDtvYvZ2yUgu9smvvI8uJ/bJsVGQHGC/NkC74EmIKwfKKNjm3u9/M=", "ansible_device_links": {"masters": {"sda5": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sr0": ["ata-VBOX_CD-ROM_VB2-01700376"], "sda5": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part5", "lvm-pv-uuid-3YprNe-HRs8-6BZu-V4o0-i35n-ewqc-XVwKZ0"], "sda2": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part2"], "sda": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2"], "sda1": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part1"], "dm-0": ["dm-name-debian8test--vg-root", "dm-uuid-LVM-CZC0SfdlGuJBrPIeYBdFrFFuBmisIGjSHbIXS8hn0XtcpsojKh00ZZexjHSU3Fzn"], "dm-1": ["dm-name-debian8test--vg-swap_1", "dm-uuid-LVM-CZC0SfdlGuJBrPIeYBdFrFFuBmisIGjS2GfAa3hOf3rJHD7zczh7DjFv1tWvGzfp"]}, "uuids": {"sda1": ["7b2f5bb5-68e1-4068-8844-000f9a9b5356"], "dm-0": ["319eb6b8-79db-4672-96b7-d1296d830d6d"], "dm-1": ["78abee60-7a49-4a06-845d-b2477fa11a76"]}}, "ansible_default_ipv4": {"macaddress": "08:00:27:f2:d7:5a", "network": "192.168.0.0", "mtu": 1500, "broadcast": "192.168.0.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "192.168.0.28", "interface": "eth0", "type": "ether", "gateway": "192.168.0.1"}, "ansible_swapfree_mb": 375, "ansible_default_ipv6": {}, "ansible_distribution_release": "jessie", "ansible_system_vendor": "innotek GmbH", "ansible_os_family": "Debian", "ansible_cmdline": {"BOOT_IMAGE": "/vmlinuz-3.16.0-4-amd64", "ro": true, "root": "/dev/mapper/debian8test--vg-root", "quiet": true}, "ansible_effective_user_id": 1000, "ansible_user_gid": 1000, "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_product_version": "1.2", "ansible_apparmor": {"status": "disabled"}, "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "NA", "ansible_fqdn": "debian8test.briancoca.com", "ansible_system": "Linux", "ansible_pkg_mgr": "apt", "ansible_memfree_mb": 140, "ansible_devices": {"sr0": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "VBOX", "sectors": "2097151", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_CD-ROM_VB2-01700376"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)", "sectorsize": "512", "removable": "1", "support_discard": "0", "model": "CD-ROM", "partitions": {}, "holders": [], "size": "1024.00 MB"}, "sda": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "ATA", "sectors": "16777216", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "VBOX HARDDISK", "partitions": {"sda5": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part5", "lvm-pv-uuid-3YprNe-HRs8-6BZu-V4o0-i35n-ewqc-XVwKZ0"], "uuids": []}, "sectors": "16273408", "start": "501760", "holders": ["debian8test--vg-root", "debian8test--vg-swap_1"], "size": "7.76 GB"}, "sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part2"], "uuids": []}, "sectors": "2", "start": "501758", "holders": [], "size": "1.00 KB"}, "sda1": {"sectorsize": 512, "uuid": "7b2f5bb5-68e1-4068-8844-000f9a9b5356", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBa857d25b-75a0a3c2-part1"], "uuids": ["7b2f5bb5-68e1-4068-8844-000f9a9b5356"]}, "sectors": "497664", "start": "2048", "holders": [], "size": "243.00 MB"}}, "holders": [], "size": "8.00 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "15499264", "links": {"masters": [], "labels": [], "ids": ["dm-name-debian8test--vg-root", "dm-uuid-LVM-CZC0SfdlGuJBrPIeYBdFrFFuBmisIGjSHbIXS8hn0XtcpsojKh00ZZexjHSU3Fzn"], "uuids": ["319eb6b8-79db-4672-96b7-d1296d830d6d"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "7.39 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "770048", "links": {"masters": [], "labels": [], "ids": ["dm-name-debian8test--vg-swap_1", "dm-uuid-LVM-CZC0SfdlGuJBrPIeYBdFrFFuBmisIGjS2GfAa3hOf3rJHD7zczh7DjFv1tWvGzfp"], "uuids": ["78abee60-7a49-4a06-845d-b2477fa11a76"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "376.00 MB"}}, "ansible_user_uid": 1000, "ansible_memory_mb": {"real": {"total": 1000, "used": 860, "free": 140}, "swap": {"cached": 0, "total": 375, "free": 375, "used": 0}, "nocache": {"used": 117, "free": 883}}, "ansible_distribution": "Debian", "ansible_user_dir": "/home/bcoca", "ansible_env": {"LANG": "en_US.UTF-8", "TERM": "konsole-256color", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_TTY": "/dev/pts/0", "LC_COLLATE": "C", "SSH_AUTH_SOCK": "/tmp/ssh-54OFYq4wEl/agent.12103", "SSH_CLIENT": "192.168.0.21 32990 22", "PWD": "/home/bcoca", "LOGNAME": "bcoca", "USER": "bcoca", "MAIL": "/var/mail/bcoca", "PATH": "/usr/local/bin:/usr/bin:/bin:/usr/games", "SSH_CONNECTION": "192.168.0.21 32990 192.168.0.28 22", "HOME": "/home/bcoca", "_": "/bin/sh"}, "ansible_distribution_major_version": "8", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "debian8test", "ansible_processor_vcpus": 1, "ansible_swaptotal_mb": 375, "ansible_lsb": {"release": "8.10", "major_release": "8", "codename": "jessie", "id": "Debian", "description": "Debian GNU/Linux 8.10 (jessie)"}, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPEu4HSGFMRmARGFhGpoual03/7mMha7afo+iYlJQQvF", "ansible_bios_date": "12/01/2006", "ansible_all_ipv6_addresses": ["fe80::a00:27ff:fef2:d75a"], "ansible_interfaces": ["lo", "eth0"], "ansible_uptime_seconds": 12481, "ansible_machine_id": "9d984e9a68a0764d9452c1a0e4eefab0", "ansible_kernel": "3.16.0-4-amd64", "ansible_user_gecos": "Brian Coca,,,", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 9, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 9, "final", 0]}, "ansible_processor_threads_per_core": 1, "ansible_is_chroot": false, "ansible_mounts": [{"block_used": 359418, "uuid": "N/A", "size_total": 7676731392, "block_total": 1874202, "mount": "/", "block_available": 1514784, "size_available": 6204555264, "fstype": "ext4", "inode_total": 484800, "options": "rw,relatime,errors=remount-ro,data=ordered", "device": "/dev/dm-0", "inode_used": 35628, "block_size": 4096, "inode_available": 449172}, {"block_used": 45923, "uuid": "N/A", "size_total": 246755328, "block_total": 240972, "mount": "/boot", "block_available": 195049, "size_available": 199730176, "fstype": "ext2", "inode_total": 62248, "options": "rw,relatime", "device": "/dev/sda1", "inode_used": 328, "block_size": 1024, "inode_available": 61920}], "ansible_eth0": {"macaddress": "08:00:27:f2:d7:5a", "type": "ether", "pciid": "0000:00:03.0", "module": "e1000", "mtu": 1500, "device": "eth0", "promisc": false, "ipv4": {"broadcast": "192.168.0.255", "netmask": "255.255.255.0", "network": "192.168.0.0", "address": "192.168.0.28"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fef2:d75a"}], "active": true, "speed": 1000}, "ansible_nodename": "debian8test", "ansible_product_name": "VirtualBox", "ansible_machine": "x86_64", "ansible_system_capabilities": [""], "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMEl3qYhakpN7DXjRasWnWiJtkNQpv2Z+TFweEJ1XKX46bPjwcrbEw97ubQSulBXuu3X2/XwwYCk6AhitXhrS6EwiOiarF6UNrzF/GSlXfffp1dC1BDl90ZjKVCXvbkEeqAzN4hzGbh65fyGCcQeFG/o1rwGy7NMlP5lu1jQ6yJlAAAAFQDLg3i1qlq4KJi1SmgruzYECgM6zQAAAIEAtZGlRLR1+SL/95881bhwmcnlsmFt9wwO8O0HmWGTK5SOE8TbseeauiMtGL0dRKWHodlRPXH1ECfFVOswpl0mZpnqPM00witZiK8Vo2eikTRtH7P0fimd7OcwaKUnhq83J5vK50IlnDAgS1R3A7SAQpO1GoBGUqLzvS8U5moizfEAAACBAIJvG6QR8I+m3fqRoMkIceiWWORm/yWME7+nyfjI8/OScHrJrp/i3a7x4Y/YfegZaidhmqruG/IPQ5SkdqaieVfQ6jQ43YpDaAWY/uPL1lBSHX0XFEFxbEfrVhs8yc5pHkBt4b94f9iEtIk0JAA7niZWIiX+oa/nQudXzzK5ldS4", "ansible_all_ipv4_addresses": ["192.168.0.28"], "ansible_python_version": "2.7.9"}}\r\n', 'Shared connection to 192.168.0.28 closed.\r\n')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'rm -f -r /home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416/ > /dev/null 2>&1 && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- ok: [192.168.0.28]
- META: ran handlers
- ______________
- < TASK [debug] >
- --------------
- \ ^___^
- \ (ooo)\_______
- (___)\ )\/\
- ||----w |
- || ||
- task path: /home/bcoca/work/ansible/play.yml:3
- ok: [192.168.0.28] => {
- "ansible_version.full": "2.6.0",
- "failed": false
- }
- ________________________
- < TASK [By default user] >
- ------------------------
- \ ^__^
- \ (oo)\_______ ________
- (__)\ )\/\ |Super |
- ||----W | |Milker|
- || UDDDDDDDDD|______|
- task path: /home/bcoca/work/ansible/play.yml:5
- Using module file /home/bcoca/work/ansible/lib/ansible/modules/files/stat.py
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
- <192.168.0.28> (0, '/home/bcoca\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783 `" && echo ansible-tmp-1518553311.4-24639849813783="` echo /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783 `" ) && sleep 0'"'"''
- <192.168.0.28> (0, 'ansible-tmp-1518553311.4-24639849813783=/home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783\n', '')
- <192.168.0.28> PUT /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmp2xjocj TO /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/stat.py
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmp2xjocj /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/stat.py\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'chmod u+x /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/ /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/stat.py && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf -tt 192.168.0.28 '/bin/sh -c '"'"'/usr/bin/python /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/stat.py && sleep 0'"'"''
- <192.168.0.28> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/passwd", "get_md5": null, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1518552396.94, "block_size": 4096, "inode": 268894, "isgid": false, "size": 1485, "executable": false, "isuid": false, "readable": true, "version": "18446744072216672704", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": false, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/passwd", "xusr": false, "atime": 1518552397.036, "isdir": false, "ctime": 1518552396.944, "isblk": false, "wgrp": false, "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 192.168.0.28 closed.\r\n')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'rm -f -r /home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783/ > /dev/null 2>&1 && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- ok: [192.168.0.28] => {
- "changed": false,
- "failed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_attributes": true,
- "get_checksum": true,
- "get_md5": null,
- "get_mime": true,
- "path": "/etc/passwd"
- }
- },
- "stat": {
- "atime": 1518552397.036,
- "attr_flags": "e",
- "attributes": [
- "extents"
- ],
- "block_size": 4096,
- "blocks": 8,
- "charset": "us-ascii",
- "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd",
- "ctime": 1518552396.944,
- "dev": 65024,
- "device_type": 0,
- "executable": false,
- "exists": true,
- "gid": 0,
- "gr_name": "root",
- "inode": 268894,
- "isblk": false,
- "ischr": false,
- "isdir": false,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": true,
- "issock": false,
- "isuid": false,
- "mimetype": "text/plain",
- "mode": "0644",
- "mtime": 1518552396.94,
- "nlink": 1,
- "path": "/etc/passwd",
- "pw_name": "root",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 1485,
- "uid": 0,
- "version": "18446744072216672704",
- "wgrp": false,
- "woth": false,
- "writeable": false,
- "wusr": true,
- "xgrp": false,
- "xoth": false,
- "xusr": false
- }
- }
- ________________________
- < TASK [By another user] >
- ------------------------
- \
- \
- /\_)o<
- | \
- | O . O|
- \_____/
- task path: /home/bcoca/work/ansible/play.yml:8
- Using module file /home/bcoca/work/ansible/lib/ansible/modules/files/stat.py
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
- <192.168.0.28> (0, '/home/bcoca\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1518553311.55-190381023383806 `" && echo ansible-tmp-1518553311.55-190381023383806="` echo /var/tmp/ansible-tmp-1518553311.55-190381023383806 `" ) && sleep 0'"'"''
- <192.168.0.28> (0, 'ansible-tmp-1518553311.55-190381023383806=/var/tmp/ansible-tmp-1518553311.55-190381023383806\n', '')
- <192.168.0.28> PUT /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmpA7dS0U TO /var/tmp/ansible-tmp-1518553311.55-190381023383806/stat.py
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmpA7dS0U /var/tmp/ansible-tmp-1518553311.55-190381023383806/stat.py\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'setfacl -m u:another:r-x /var/tmp/ansible-tmp-1518553311.55-190381023383806/ /var/tmp/ansible-tmp-1518553311.55-190381023383806/stat.py && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf -tt 192.168.0.28 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sbbmqdgwpfmxbebujvksydrrmiboqyho] password: " -u another /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sbbmqdgwpfmxbebujvksydrrmiboqyho; /usr/bin/python /var/tmp/ansible-tmp-1518553311.55-190381023383806/stat.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- Escalation succeeded
- <192.168.0.28> (0, '\r\n\r\n\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/passwd", "get_md5": null, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1518552396.94, "block_size": 4096, "inode": 268894, "isgid": false, "size": 1485, "executable": false, "isuid": false, "readable": true, "version": "18446744072216672704", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": false, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/passwd", "xusr": false, "atime": 1518552397.036, "isdir": false, "ctime": 1518552396.944, "isblk": false, "wgrp": false, "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 192.168.0.28 closed.\r\n')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/bcoca/.ansible/cp/37b584b0bf 192.168.0.28 '/bin/sh -c '"'"'rm -f -r /var/tmp/ansible-tmp-1518553311.55-190381023383806/ > /dev/null 2>&1 && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- ok: [192.168.0.28] => {
- "changed": false,
- "failed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_attributes": true,
- "get_checksum": true,
- "get_md5": null,
- "get_mime": true,
- "path": "/etc/passwd"
- }
- },
- "stat": {
- "atime": 1518552397.036,
- "attr_flags": "e",
- "attributes": [
- "extents"
- ],
- "block_size": 4096,
- "blocks": 8,
- "charset": "us-ascii",
- "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd",
- "ctime": 1518552396.944,
- "dev": 65024,
- "device_type": 0,
- "executable": false,
- "exists": true,
- "gid": 0,
- "gr_name": "root",
- "inode": 268894,
- "isblk": false,
- "ischr": false,
- "isdir": false,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": true,
- "issock": false,
- "isuid": false,
- "mimetype": "text/plain",
- "mode": "0644",
- "mtime": 1518552396.94,
- "nlink": 1,
- "path": "/etc/passwd",
- "pw_name": "root",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 1485,
- "uid": 0,
- "version": "18446744072216672704",
- "wgrp": false,
- "woth": false,
- "writeable": false,
- "wusr": true,
- "xgrp": false,
- "xoth": false,
- "xusr": false
- }
- }
- META: ran handlers
- META: ran handlers
- ____________
- < PLAY RECAP >
- ------------
- \
- \
- .--.
- |o_o |
- |:_/ |
- // \ \
- (| | )
- /'\_ _/`\
- \___)=(___/
- 192.168.0.28 : ok=4 changed=0 unreachable=0 failed=0
Add Comment
Please, Sign In to add comment