Guest User

Untitled

a guest
Feb 25th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.60 KB | None | 0 0
  1. ansible-playbook 2.6.0 (devel ab2151858e) last updated 2018/02/13 15:09:06 (GMT -400)
  2. config file = /home/bcoca/.ansible.cfg
  3. configured module search path = [u'/home/bcoca/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  4. ansible python module location = /home/bcoca/work/ansible/lib/ansible
  5. executable location = /home/bcoca/work/ansible/bin/ansible-playbook
  6. python version = 2.7.14 (default, Jan 27 2018, 18:43:59) [GCC 6.4.0]
  7. Using /home/bcoca/.ansible.cfg as config file
  8. Parsed 192.168.0.28, inventory source with host_list plugin
  9. ____________________
  10. < PLAYBOOK: play.yml >
  11. --------------------
  12. \ ,-^-.
  13. \ !oYo!
  14. \ /./=\.\______
  15. ## )\/\
  16. ||-----w||
  17. || ||
  18.  
  19. Cowth Vader
  20.  
  21. 1 plays in play.yml
  22. ____________
  23. < PLAY [all] >
  24. ------------
  25. \ ^__^
  26. \ (oo)\_______ ________
  27. (__)\ )\/\ |Super |
  28. ||----W | |Milker|
  29. || UDDDDDDDDD|______|
  30.  
  31. ________________________
  32. < TASK [Gathering Facts] >
  33. ------------------------
  34. \
  35. \ .
  36. .---. //
  37. Y|o o|Y//
  38. /_(i=i)K/
  39. ~()~*~()~
  40. (_)-(_)
  41.  
  42. Darth
  43. Vader
  44. koala
  45.  
  46. task path: /home/bcoca/work/ansible/play.yml:1
  47. Using module file /home/bcoca/work/ansible/lib/ansible/modules/system/setup.py
  48. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  49. <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'"'"''
  50. <192.168.0.28> (0, '/home/bcoca\n', '')
  51. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  52. <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'"'"''
  53. <192.168.0.28> (0, 'ansible-tmp-1518553310.99-89135509851416=/home/bcoca/.ansible/tmp/ansible-tmp-1518553310.99-89135509851416\n', '')
  54. <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
  55. <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]'
  56. <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', '')
  57. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  58. <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'"'"''
  59. <192.168.0.28> (0, '', '')
  60. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  61. <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'"'"''
  62. <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')
  63. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  64. <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'"'"''
  65. <192.168.0.28> (0, '', '')
  66. ok: [192.168.0.28]
  67. META: ran handlers
  68. ______________
  69. < TASK [debug] >
  70. --------------
  71. \ ^___^
  72. \ (ooo)\_______
  73. (___)\ )\/\
  74. ||----w |
  75. || ||
  76.  
  77. task path: /home/bcoca/work/ansible/play.yml:3
  78. ok: [192.168.0.28] => {
  79. "ansible_version.full": "2.6.0",
  80. "failed": false
  81. }
  82. ________________________
  83. < TASK [By default user] >
  84. ------------------------
  85. \ ^__^
  86. \ (oo)\_______ ________
  87. (__)\ )\/\ |Super |
  88. ||----W | |Milker|
  89. || UDDDDDDDDD|______|
  90.  
  91. task path: /home/bcoca/work/ansible/play.yml:5
  92. Using module file /home/bcoca/work/ansible/lib/ansible/modules/files/stat.py
  93. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  94. <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'"'"''
  95. <192.168.0.28> (0, '/home/bcoca\n', '')
  96. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  97. <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'"'"''
  98. <192.168.0.28> (0, 'ansible-tmp-1518553311.4-24639849813783=/home/bcoca/.ansible/tmp/ansible-tmp-1518553311.4-24639849813783\n', '')
  99. <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
  100. <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]'
  101. <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', '')
  102. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  103. <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'"'"''
  104. <192.168.0.28> (0, '', '')
  105. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  106. <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'"'"''
  107. <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')
  108. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  109. <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'"'"''
  110. <192.168.0.28> (0, '', '')
  111. ok: [192.168.0.28] => {
  112. "changed": false,
  113. "failed": false,
  114. "invocation": {
  115. "module_args": {
  116. "checksum_algorithm": "sha1",
  117. "follow": false,
  118. "get_attributes": true,
  119. "get_checksum": true,
  120. "get_md5": null,
  121. "get_mime": true,
  122. "path": "/etc/passwd"
  123. }
  124. },
  125. "stat": {
  126. "atime": 1518552397.036,
  127. "attr_flags": "e",
  128. "attributes": [
  129. "extents"
  130. ],
  131. "block_size": 4096,
  132. "blocks": 8,
  133. "charset": "us-ascii",
  134. "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd",
  135. "ctime": 1518552396.944,
  136. "dev": 65024,
  137. "device_type": 0,
  138. "executable": false,
  139. "exists": true,
  140. "gid": 0,
  141. "gr_name": "root",
  142. "inode": 268894,
  143. "isblk": false,
  144. "ischr": false,
  145. "isdir": false,
  146. "isfifo": false,
  147. "isgid": false,
  148. "islnk": false,
  149. "isreg": true,
  150. "issock": false,
  151. "isuid": false,
  152. "mimetype": "text/plain",
  153. "mode": "0644",
  154. "mtime": 1518552396.94,
  155. "nlink": 1,
  156. "path": "/etc/passwd",
  157. "pw_name": "root",
  158. "readable": true,
  159. "rgrp": true,
  160. "roth": true,
  161. "rusr": true,
  162. "size": 1485,
  163. "uid": 0,
  164. "version": "18446744072216672704",
  165. "wgrp": false,
  166. "woth": false,
  167. "writeable": false,
  168. "wusr": true,
  169. "xgrp": false,
  170. "xoth": false,
  171. "xusr": false
  172. }
  173. }
  174. ________________________
  175. < TASK [By another user] >
  176. ------------------------
  177. \
  178. \
  179. /\_)o<
  180. | \
  181. | O . O|
  182. \_____/
  183.  
  184. task path: /home/bcoca/work/ansible/play.yml:8
  185. Using module file /home/bcoca/work/ansible/lib/ansible/modules/files/stat.py
  186. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  187. <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'"'"''
  188. <192.168.0.28> (0, '/home/bcoca\n', '')
  189. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  190. <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'"'"''
  191. <192.168.0.28> (0, 'ansible-tmp-1518553311.55-190381023383806=/var/tmp/ansible-tmp-1518553311.55-190381023383806\n', '')
  192. <192.168.0.28> PUT /home/bcoca/.ansible/tmp/ansible-local-3891xR96fR/tmpA7dS0U TO /var/tmp/ansible-tmp-1518553311.55-190381023383806/stat.py
  193. <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]'
  194. <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', '')
  195. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  196. <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'"'"''
  197. <192.168.0.28> (0, '', '')
  198. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  199. <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'"'"''
  200. Escalation succeeded
  201. <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')
  202. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: None
  203. <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'"'"''
  204. <192.168.0.28> (0, '', '')
  205. ok: [192.168.0.28] => {
  206. "changed": false,
  207. "failed": false,
  208. "invocation": {
  209. "module_args": {
  210. "checksum_algorithm": "sha1",
  211. "follow": false,
  212. "get_attributes": true,
  213. "get_checksum": true,
  214. "get_md5": null,
  215. "get_mime": true,
  216. "path": "/etc/passwd"
  217. }
  218. },
  219. "stat": {
  220. "atime": 1518552397.036,
  221. "attr_flags": "e",
  222. "attributes": [
  223. "extents"
  224. ],
  225. "block_size": 4096,
  226. "blocks": 8,
  227. "charset": "us-ascii",
  228. "checksum": "8b5e399c4dc7701738298d81df2b602d92325acd",
  229. "ctime": 1518552396.944,
  230. "dev": 65024,
  231. "device_type": 0,
  232. "executable": false,
  233. "exists": true,
  234. "gid": 0,
  235. "gr_name": "root",
  236. "inode": 268894,
  237. "isblk": false,
  238. "ischr": false,
  239. "isdir": false,
  240. "isfifo": false,
  241. "isgid": false,
  242. "islnk": false,
  243. "isreg": true,
  244. "issock": false,
  245. "isuid": false,
  246. "mimetype": "text/plain",
  247. "mode": "0644",
  248. "mtime": 1518552396.94,
  249. "nlink": 1,
  250. "path": "/etc/passwd",
  251. "pw_name": "root",
  252. "readable": true,
  253. "rgrp": true,
  254. "roth": true,
  255. "rusr": true,
  256. "size": 1485,
  257. "uid": 0,
  258. "version": "18446744072216672704",
  259. "wgrp": false,
  260. "woth": false,
  261. "writeable": false,
  262. "wusr": true,
  263. "xgrp": false,
  264. "xoth": false,
  265. "xusr": false
  266. }
  267. }
  268. META: ran handlers
  269. META: ran handlers
  270. ____________
  271. < PLAY RECAP >
  272. ------------
  273. \
  274. \
  275. .--.
  276. |o_o |
  277. |:_/ |
  278. // \ \
  279. (| | )
  280. /'\_ _/`\
  281. \___)=(___/
  282.  
  283.  
  284. 192.168.0.28 : ok=4 changed=0 unreachable=0 failed=0
Add Comment
Please, Sign In to add comment