Created
January 27, 2017 01:23
-
-
Save jcpowermac/78fb4204980093e560df5a9f2ecc0eff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ++ id -u | |
| + USER_ID=1000130000 | |
| ++ id -g | |
| + GROUP_ID=0 | |
| + sed 's@default:x:${USER_ID}:${GROUP_ID}@default:x:1000130000:0@g' /opt/app-root/etc/passwd.template | |
| + INVENTORY=tmp_inventory | |
| + INVENTORY_ARG='-i tmp_inventory' | |
| + [[ -v INVENTORY_FILE ]] | |
| + [[ -v INVENTORY_URL ]] | |
| + [[ -v DYNAMIC_SCRIPT_URL ]] | |
| + [[ '' = false ]] | |
| + [[ -v VAULT_PASS ]] | |
| + SSH_KEY=/opt/app-root/src/.ssh/id_rsa | |
| + [[ -r /opt/app-root/src/.ssh/id_rsa ]] | |
| + ansible-playbook -i tmp_inventory -vvv -c local /opt/app-root/src/main.yml | |
| Using /etc/ansible/ansible.cfg as config file | |
| [WARNING]: Host file not found: tmp_inventory | |
| [WARNING]: provided hosts list is empty, only localhost is available | |
| PLAYBOOK: main.yml ************************************************************* | |
| 1 plays in /opt/app-root/src/main.yml | |
| PLAY [testing] ***************************************************************** | |
| TASK [setup] ******************************************************************* | |
| Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/system/setup.py | |
| <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: default | |
| <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516 `" && echo ansible-tmp-1485480139.61-51875367836516="` echo ~/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516 `" ) && sleep 0' | |
| <127.0.0.1> PUT /tmp/tmpFixXel TO /opt/app-root/src/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516/setup.py | |
| <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /opt/app-root/src/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516/ /opt/app-root/src/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516/setup.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /opt/app-root/src/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516/setup.py; rm -rf "/opt/app-root/src/.ansible/tmp/ansible-tmp-1485480139.61-51875367836516/" > /dev/null 2>&1 && sleep 0' | |
| ok: [localhost] | |
| TASK [debug] ******************************************************************* | |
| task path: /opt/app-root/src/main.yml:5 | |
| ok: [localhost] => { | |
| "msg": { | |
| "ansible_architecture": "x86_64", | |
| "ansible_bios_date": "04/01/2014", | |
| "ansible_bios_version": "1.9.3-1.fc25", | |
| "ansible_check_mode": false, | |
| "ansible_cmdline": { | |
| "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-514.6.1.el7.x86_64", | |
| "LANG": "en_US.UTF-8", | |
| "console": "ttyS0,115200n8", | |
| "crashkernel": "auto", | |
| "net.ifnames": "0", | |
| "no_timer_check": true, | |
| "ro": true, | |
| "root": "UUID=d85d7be1-03aa-433a-a847-030104cc3ce2" | |
| }, | |
| "ansible_connection": "local", | |
| "ansible_date_time": { | |
| "date": "2017-01-27", | |
| "day": "27", | |
| "epoch": "1485480140", | |
| "hour": "01", | |
| "iso8601": "2017-01-27T01:22:20Z", | |
| "iso8601_basic": "20170127T012220213158", | |
| "iso8601_basic_short": "20170127T012220", | |
| "iso8601_micro": "2017-01-27T01:22:20.213354Z", | |
| "minute": "22", | |
| "month": "01", | |
| "second": "20", | |
| "time": "01:22:20", | |
| "tz": "UTC", | |
| "tz_offset": "+0000", | |
| "weekday": "Friday", | |
| "weekday_number": "5", | |
| "weeknumber": "04", | |
| "year": "2017" | |
| }, | |
| "ansible_devices": { | |
| "vda": { | |
| "holders": [], | |
| "host": "", | |
| "model": null, | |
| "partitions": { | |
| "vda1": { | |
| "holders": [], | |
| "sectors": "16384000", | |
| "sectorsize": 512, | |
| "size": "7.81 GB", | |
| "start": "2048", | |
| "uuid": null | |
| } | |
| }, | |
| "removable": "0", | |
| "rotational": "1", | |
| "sas_address": null, | |
| "sas_device_handle": null, | |
| "scheduler_mode": "", | |
| "sectors": "138412032", | |
| "sectorsize": "512", | |
| "size": "66.00 GB", | |
| "support_discard": "0", | |
| "vendor": "0x1af4" | |
| }, | |
| "vdb": { | |
| "holders": [ | |
| "vg_07e0a148dfa3304d942227b686e0ddfa-tp_72b646a3e3f92d29f8451ea160f2c5a6_tmeta", | |
| "vg_07e0a148dfa3304d942227b686e0ddfa-tp_72b646a3e3f92d29f8451ea160f2c5a6_tdata" | |
| ], | |
| "host": "", | |
| "model": null, | |
| "partitions": {}, | |
| "removable": "0", | |
| "rotational": "1", | |
| "sas_address": null, | |
| "sas_device_handle": null, | |
| "scheduler_mode": "", | |
| "sectors": "134217728", | |
| "sectorsize": "512", | |
| "size": "64.00 GB", | |
| "support_discard": "0", | |
| "vendor": "0x1af4" | |
| }, | |
| "vdc": { | |
| "holders": [], | |
| "host": "", | |
| "model": null, | |
| "partitions": { | |
| "vdc1": { | |
| "holders": [ | |
| "docker--vg-docker--pool_tmeta", | |
| "docker--vg-docker--pool_tdata" | |
| ], | |
| "sectors": "75495424", | |
| "sectorsize": 512, | |
| "size": "36.00 GB", | |
| "start": "2048", | |
| "uuid": null | |
| } | |
| }, | |
| "removable": "0", | |
| "rotational": "1", | |
| "sas_address": null, | |
| "sas_device_handle": null, | |
| "scheduler_mode": "", | |
| "sectors": "75497472", | |
| "sectorsize": "512", | |
| "size": "36.00 GB", | |
| "support_discard": "0", | |
| "vendor": "0x1af4" | |
| } | |
| }, | |
| "ansible_distribution": "CentOS", | |
| "ansible_distribution_major_version": "7", | |
| "ansible_distribution_release": "Core", | |
| "ansible_distribution_version": "7.3.1611", | |
| "ansible_dns": { | |
| "nameservers": [ | |
| "10.53.250.243", | |
| "10.53.250.243" | |
| ], | |
| "options": { | |
| "ndots": "5" | |
| }, | |
| "search": [ | |
| "ansible.svc.cluster.local", | |
| "svc.cluster.local", | |
| "cluster.local", | |
| "virtomation.com" | |
| ] | |
| }, | |
| "ansible_domain": "", | |
| "ansible_env": { | |
| "APP_HOME": "/opt/app-root/src", | |
| "APP_ROOT": "/opt/app-root", | |
| "HOME": "/opt/app-root/src", | |
| "HOSTNAME": "p2i-test-cqf5z", | |
| "HTTPS_PROXY": "", | |
| "HTTP_PROXY": "", | |
| "KUBERNETES_PORT": "tcp://172.30.0.1:443", | |
| "KUBERNETES_PORT_443_TCP": "tcp://172.30.0.1:443", | |
| "KUBERNETES_PORT_443_TCP_ADDR": "172.30.0.1", | |
| "KUBERNETES_PORT_443_TCP_PORT": "443", | |
| "KUBERNETES_PORT_443_TCP_PROTO": "tcp", | |
| "KUBERNETES_PORT_53_TCP": "tcp://172.30.0.1:53", | |
| "KUBERNETES_PORT_53_TCP_ADDR": "172.30.0.1", | |
| "KUBERNETES_PORT_53_TCP_PORT": "53", | |
| "KUBERNETES_PORT_53_TCP_PROTO": "tcp", | |
| "KUBERNETES_PORT_53_UDP": "udp://172.30.0.1:53", | |
| "KUBERNETES_PORT_53_UDP_ADDR": "172.30.0.1", | |
| "KUBERNETES_PORT_53_UDP_PORT": "53", | |
| "KUBERNETES_PORT_53_UDP_PROTO": "udp", | |
| "KUBERNETES_SERVICE_HOST": "172.30.0.1", | |
| "KUBERNETES_SERVICE_PORT": "443", | |
| "KUBERNETES_SERVICE_PORT_DNS": "53", | |
| "KUBERNETES_SERVICE_PORT_DNS_TCP": "53", | |
| "KUBERNETES_SERVICE_PORT_HTTPS": "443", | |
| "NO_PROXY": "", | |
| "OPENSHIFT_BUILD_COMMIT": "8fce23343bdef0561f141997f5f616a2e753b127", | |
| "OPENSHIFT_BUILD_NAME": "p2i-test-2", | |
| "OPENSHIFT_BUILD_NAMESPACE": "ansible", | |
| "OPENSHIFT_BUILD_REFERENCE": "permission_change", | |
| "OPENSHIFT_BUILD_SOURCE": "https://github.com/jcpowermac/p2i-test", | |
| "OPTS": "-vvv -c local", | |
| "PATH": "/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/app-root/bin", | |
| "PLAYBOOK_FILE": "/opt/app-root/src/main.yml", | |
| "PWD": "/opt/app-root/src", | |
| "SHLVL": "3", | |
| "STI_SCRIPTS_PATH": "/usr/libexec/s2i", | |
| "STI_SCRIPTS_URL": "image:///usr/libexec/s2i", | |
| "USER_NAME": "default", | |
| "USER_UID": "1001", | |
| "_": "/usr/bin/python2", | |
| "http_proxy": "", | |
| "https_proxy": "", | |
| "no_proxy": "" | |
| }, | |
| "ansible_fips": false, | |
| "ansible_form_factor": "Other", | |
| "ansible_fqdn": "p2i-test-cqf5z", | |
| "ansible_gather_subset": [ | |
| "hardware", | |
| "network", | |
| "virtual" | |
| ], | |
| "ansible_hostname": "p2i-test-cqf5z", | |
| "ansible_kernel": "3.10.0-514.6.1.el7.x86_64", | |
| "ansible_machine": "x86_64", | |
| "ansible_memfree_mb": 5854, | |
| "ansible_memory_mb": { | |
| "nocache": { | |
| "free": 7027, | |
| "used": 795 | |
| }, | |
| "real": { | |
| "free": 5854, | |
| "total": 7822, | |
| "used": 1968 | |
| }, | |
| "swap": { | |
| "cached": 0, | |
| "free": 0, | |
| "total": 0, | |
| "used": 0 | |
| } | |
| }, | |
| "ansible_memtotal_mb": 7822, | |
| "ansible_mounts": [ | |
| { | |
| "device": "/dev/mapper/docker-253:1-4755849-b9d69af8c0b7de60e2d3c7f7b27fb7f7d96b9f3df7b94b8fb248bf0a5ae86033", | |
| "fstype": "xfs", | |
| "mount": "/", | |
| "options": "rw,context=\"system_u:object_r:svirt_sandbox_file_t:s0:c10,c11\",relatime,nouuid,attr2,inode64,sunit=1024,swidth=1024,noquota,bind", | |
| "size_available": 10216050688, | |
| "size_total": 10718543872, | |
| "uuid": "N/A" | |
| }, | |
| { | |
| "device": "/dev/vda1", | |
| "fstype": "xfs", | |
| "mount": "/dev/termination-log", | |
| "options": "rw,seclabel,relatime,attr2,inode64,noquota,bind", | |
| "size_available": 4809617408, | |
| "size_total": 8378122240, | |
| "uuid": "N/A" | |
| }, | |
| { | |
| "device": "/dev/vda1", | |
| "fstype": "xfs", | |
| "mount": "/etc/resolv.conf", | |
| "options": "rw,seclabel,relatime,attr2,inode64,noquota,bind", | |
| "size_available": 4809617408, | |
| "size_total": 8378122240, | |
| "uuid": "N/A" | |
| }, | |
| { | |
| "device": "/dev/vda1", | |
| "fstype": "xfs", | |
| "mount": "/etc/hostname", | |
| "options": "rw,seclabel,relatime,attr2,inode64,noquota,bind", | |
| "size_available": 4809617408, | |
| "size_total": 8378122240, | |
| "uuid": "N/A" | |
| }, | |
| { | |
| "device": "/dev/vda1", | |
| "fstype": "xfs", | |
| "mount": "/etc/hosts", | |
| "options": "rw,seclabel,relatime,attr2,inode64,noquota,bind", | |
| "size_available": 4809617408, | |
| "size_total": 8378122240, | |
| "uuid": "N/A" | |
| }, | |
| { | |
| "device": "/dev/vda1", | |
| "fstype": "xfs", | |
| "mount": "/run/secrets", | |
| "options": "rw,seclabel,relatime,attr2,inode64,noquota,bind", | |
| "size_available": 4809617408, | |
| "size_total": 8378122240, | |
| "uuid": "N/A" | |
| } | |
| ], | |
| "ansible_nodename": "p2i-test-cqf5z", | |
| "ansible_os_family": "RedHat", | |
| "ansible_pkg_mgr": "yum", | |
| "ansible_processor": [ | |
| "AuthenticAMD", | |
| "AMD Opteron 23xx (Gen 3 Class Opteron)", | |
| "AuthenticAMD", | |
| "AMD Opteron 23xx (Gen 3 Class Opteron)" | |
| ], | |
| "ansible_processor_cores": 1, | |
| "ansible_processor_count": 2, | |
| "ansible_processor_threads_per_core": 1, | |
| "ansible_processor_vcpus": 2, | |
| "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", | |
| "ansible_product_serial": "NA", | |
| "ansible_product_uuid": "NA", | |
| "ansible_product_version": "pc-i440fx-2.7", | |
| "ansible_python": { | |
| "executable": "/usr/bin/python2", | |
| "has_sslcontext": true, | |
| "type": "CPython", | |
| "version": { | |
| "major": 2, | |
| "micro": 5, | |
| "minor": 7, | |
| "releaselevel": "final", | |
| "serial": 0 | |
| }, | |
| "version_info": [ | |
| 2, | |
| 7, | |
| 5, | |
| "final", | |
| 0 | |
| ] | |
| }, | |
| "ansible_python_interpreter": "/usr/bin/python2", | |
| "ansible_python_version": "2.7.5", | |
| "ansible_selinux": false, | |
| "ansible_service_mgr": "run", | |
| "ansible_swapfree_mb": 0, | |
| "ansible_swaptotal_mb": 0, | |
| "ansible_system": "Linux", | |
| "ansible_system_capabilities": [ | |
| "cap_chown", | |
| "cap_dac_override", | |
| "cap_fowner", | |
| "cap_fsetid", | |
| "cap_setpcap", | |
| "cap_net_bind_service", | |
| "cap_net_raw", | |
| "cap_audit_write", | |
| "cap_setfcap+i" | |
| ], | |
| "ansible_system_capabilities_enforced": "True", | |
| "ansible_system_vendor": "QEMU", | |
| "ansible_uptime_seconds": 256195, | |
| "ansible_user_dir": "/opt/app-root/src", | |
| "ansible_user_gecos": "Default Application User", | |
| "ansible_user_gid": 0, | |
| "ansible_user_id": "default", | |
| "ansible_user_shell": "/sbin/nologin", | |
| "ansible_user_uid": 1000130000, | |
| "ansible_userspace_architecture": "x86_64", | |
| "ansible_userspace_bits": "64", | |
| "ansible_version": { | |
| "full": "2.2.1.0", | |
| "major": 2, | |
| "minor": 2, | |
| "revision": 1, | |
| "string": "2.2.1.0" | |
| }, | |
| "ansible_virtualization_role": "guest", | |
| "ansible_virtualization_type": "docker", | |
| "group_names": [ | |
| "ungrouped" | |
| ], | |
| "groups": { | |
| "all": [], | |
| "ungrouped": [ | |
| "localhost" | |
| ] | |
| }, | |
| "inventory_dir": null, | |
| "inventory_file": null, | |
| "inventory_hostname": "localhost", | |
| "inventory_hostname_short": "localhost", | |
| "module_setup": true, | |
| "omit": "__omit_place_holder__ea1754b1149b9c016af8f5ed5beb48c0226ac72c", | |
| "playbook_dir": "/opt/app-root/src" | |
| } | |
| } | |
| PLAY RECAP ********************************************************************* | |
| localhost : ok=2 changed=0 unreachable=0 failed=0 | |
| + set +x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment