ひよこインフラてっく!

ひよこインフラエンジニア「ひよこ大佐」による技術ブログ的なもの。インフラ技術や仮想化、Pythonなど。

Ansibleの詳細出力(-vオプション)をのぞいてみよう

どうも、ひよこ大佐です。

AnsibleでPlaybookのトラブルシュートをしているときに、詳細な出力を確認したいときがあると思います。具体的なエラーやAnsible自体がどんな処理をしているのか、通常の出力だけで確認するのは困難です。

そこでこの記事では、詳細な出力の設定方法と、実際にどの程度出力が増加するのか確認してみようと思います。

Verbose設定

ansible-playbookコマンドに-vを指定することで、詳細な出力を確認することができます。さらに詳細な出力を確認するには、vの数を増やします。

よく使用されるのは-vvv(詳細な出力)-vvvv (Connectionの出力)-vvvvv (WinRMの出力の確認)です。

それでは実際に確認してみましょう。 以下のように、ただメッセージを表示するだけのテスト用のPlaybookを用意しました。

test.yml (テスト用Playbook)

---
- name: Test Playbook
  hosts: all
  tasks:
    - name: Test Message
      debug:
        msg: "This is a test playbook"

これを、通常通り実行してみます。

通常実行時

$ ansible-playbook -i inventory test.yml 

PLAY [Test Playbook] ***********************************************************

TASK [Gathering Facts] *********************************************************
ok: [10.42.0.42]

TASK [Hello Message] ***********************************************************
ok: [10.42.0.42] => {
    "msg": "This is a test playbook"
}

PLAY RECAP *********************************************************************
10.42.0.42                 : ok=2    changed=0    unreachable=0    failed=0   

特に問題なく実行されていますが、具体的なAnsibleの動作はここから確認することはできません。 ここから、出力の詳細度を増やしてどうなるか確認したいと思います。

-vを設定した場合

$ ansible-playbook -i inventory test.yml -v
Using /etc/ansible/ansible.cfg as config file

PLAY [Test Playbook] ***********************************************************

TASK [Gathering Facts] *********************************************************
ok: [10.42.0.42]

TASK [Test Message] ************************************************************
ok: [10.42.0.42] => {
    "msg": "This is a test playbook"
}

PLAY RECAP *********************************************************************
10.42.0.42                 : ok=2    changed=0    unreachable=0    failed=0   

1行出力が増えましたね。`/etc/ansible/ansible.cfg をconfigファイルとして使用すると書いてあります。 さらに詳細度をあげてみましょう。

-vvを設定した場合

$ ansible-playbook -i inventory test.yml -vv
ansible-playbook 2.7.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/hogehoge/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.7.1 (default, Oct 23 2018, 18:19:07) [GCC 8.2.1 20180801 (Red Hat 8.2.1-2)]
Using /etc/ansible/ansible.cfg as config file

PLAYBOOK: test.yml *************************************************************
1 plays in test.yml

PLAY [Test Playbook] ***********************************************************

TASK [Gathering Facts] *********************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:2
ok: [10.42.0.42]
META: ran handlers

TASK [Test Message] ************************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:5
ok: [10.42.0.42] => {
    "msg": "This is a test playbook"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
10.42.0.42                 : ok=2    changed=0    unreachable=0    failed=0   

一気に出力が増えました。Moduleを探しに行くPathやpython moduleのlocation、pythonのバージョンなども確認できます。 -vおよび-vvは、出力される情報が少ないことから、実際のトラブルシュート時にはあまり使用されません。

-vvvを設定した場合

$ ansible-playbook -i inventory test.yml -vvv
ansible-playbook 2.7.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/hogehoge/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.7.1 (default, Oct 23 2018, 18:19:07) [GCC 8.2.1 20180801 (Red Hat 8.2.1-2)]
Using /etc/ansible/ansible.cfg as config file
Parsed /home/hogehoge/vagrant/tower/inventory inventory source with ini plugin

PLAYBOOK: test.yml *************************************************************
1 plays in test.yml

PLAY [Test Playbook] ***********************************************************

TASK [Gathering Facts] *********************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:2
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'echo ~vagrant && sleep 0'"'"''
<10.42.0.42> (0, b'/home/vagrant\n', b'')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738 `" && echo ansible-tmp-1541053742.941266-186189092028738="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738 `" ) && sleep 0'"'"''
<10.42.0.42> (0, b'ansible-tmp-1541053742.941266-186189092028738=/home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738\n', b'')
Using module file /usr/lib/python3.7/site-packages/ansible/modules/system/setup.py
<10.42.0.42> PUT /home/hogehoge/.ansible/tmp/ansible-local-28859jmb_o57e/tmp_cvyg8bp TO /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/AnsiballZ_setup.py
<10.42.0.42> SSH: EXEC sshpass -d10 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 '[10.42.0.42]'
<10.42.0.42> (0, b'sftp> put /home/hogehoge/.ansible/tmp/ansible-local-28859jmb_o57e/tmp_cvyg8bp /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/AnsiballZ_setup.py\n', b'')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/ /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/AnsiballZ_setup.py && sleep 0'"'"''
<10.42.0.42> (0, b'', b'')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 -tt 10.42.0.42 '/bin/sh -c '"'"'/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/AnsiballZ_setup.py && sleep 0'"'"''
<10.42.0.42> (0, b'\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_user_gecos": "", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "vagrant", "ansible_selinux_python_present": true, "ansible_userspace_bits": "64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDfYT+LejkDLbAEgxFqhxlLPioor3PonnPVXzMdv4UR6rLZ9rCZXSSdpH7LRpo5NR37hltvOzFsvN/HsDY0LbdHbJujmgSBEWzidt6y0ME9Ux09sBVRvaELNtcOb9DtTb2bBeW2yGZ0N+h+E3n2Wg7Ei8z7Z44nPRyS24Qe4mBrw8A88nqDhmykg1E4O+N44EHwb9ZVYBBVqsBzPNGT96DwHVyxylWoZN1luMbL5g25rFr+ehAHRMbPA0ifF+XQHeI1LsXD7SFWx+d3hXgcUn9Hxmho0SWwB1TTLqib25gFhNkV/uhXDK64AFVZxN8TV09ZO7ObxPAlcOs2d3SpEdhz", "gather_subset": ["all"], "ansible_architecture": "x86_64", "ansible_local": {}, "ansible_distribution_version": "7.5.1804", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_user_shell": "/bin/bash", "ansible_virtualization_type": "virtualbox", "ansible_real_user_id": 1001, "ansible_processor_cores": 2, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "RedHat", "ansible_dns": {"nameservers": ["10.0.2.3"], "search": ["redhat.com"]}, "ansible_effective_group_id": 1001, "ansible_is_chroot": true, "ansible_bios_version": "VirtualBox", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz", "1", "GenuineIntel", "Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz"], "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20181101T152903", "tz": "JST", "weeknumber": "44", "hour": "15", "year": "2018", "minute": "29", "tz_offset": "+0900", "month": "11", "epoch": "1541053743", "iso8601_micro": "2018-11-01T06:29:03.702495Z", "weekday": "\\u6728\\u66dc\\u65e5", "time": "15:29:03", "date": "2018-11-01", "iso8601": "2018-11-01T06:29:03Z", "day": "01", "iso8601_basic": "20181101T152903702420", "second": "03"}, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "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": 991, "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJIqI9vQ+wLFREmdw4suEqup6++s18nvROBqnTa9TZGDUNjqNu5BIxZMx7aurgKxhRaeoJTzvHr8rOHtoXf+VMY=", "ansible_device_links": {"masters": {"sda2": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sda1": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part1"], "sda2": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part2", "lvm-pv-uuid-tcA00E-SiyP-XYUj-1lCx-Axy5-cMM1-IHcXd3"], "sda": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f"], "dm-0": ["dm-name-centos_ibm--p8--kvm--03--guest--02-root", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreSTbdtNn80fudK4f9awUQhR5a9Idy3Bcz"], "dm-1": ["dm-name-centos_ibm--p8--kvm--03--guest--02-swap", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreHUK2tJxyAoG37cNiTF2pmZ59HGbqskuJ"]}, "uuids": {"sda1": ["a6c7069c-90ed-4083-babf-204d7de109b0"], "dm-0": ["fe2c7521-dcc4-4dc0-853b-3946e38f6ea2"], "dm-1": ["e08bac90-1eeb-41be-a27a-c4d6a532593f"]}}, "ansible_default_ipv4": {"macaddress": "08:00:27:56:be:a1", "network": "10.0.2.0", "mtu": 1500, "broadcast": "10.0.2.255", "alias": "enp0s3", "netmask": "255.255.255.0", "address": "10.0.2.15", "interface": "enp0s3", "type": "ether", "gateway": "10.0.2.2"}, "ansible_swapfree_mb": 1108, "ansible_default_ipv6": {}, "ansible_distribution_release": "Core", "ansible_system_vendor": "innotek GmbH", "ansible_os_family": "RedHat", "ansible_cmdline": {"LANG": "en_US.UTF-8", "BOOT_IMAGE": "/vmlinuz-3.10.0-862.11.6.el7.x86_64", "quiet": true, "rhgb": true, "rd.lvm.lv": "centos_ibm-p8-kvm-03-guest-02/swap", "crashkernel": "auto", "ro": true, "root": "/dev/mapper/centos_ibm--p8--kvm--03--guest--02-root"}, "ansible_effective_user_id": 1001, "ansible_user_gid": 1001, "ansible_selinux": {"status": "disabled"}, "ansible_product_version": "1.2", "ansible_apparmor": {"status": "disabled"}, "ansible_userspace_architecture": "x86_64", "ansible_bios_date": "12/01/2006", "ansible_product_uuid": "NA", "ansible_fqdn": "tower330", "ansible_system": "Linux", "ansible_pkg_mgr": "yum", "ansible_memfree_mb": 177, "ansible_devices": {"sda": {"scheduler_mode": "deadline", "rotational": "1", "vendor": "ATA", "sectors": "81920000", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "VBOX HARDDISK", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part2", "lvm-pv-uuid-tcA00E-SiyP-XYUj-1lCx-Axy5-cMM1-IHcXd3"], "uuids": []}, "sectors": "79820800", "start": "2099200", "holders": ["centos_ibm--p8--kvm--03--guest--02-root", "centos_ibm--p8--kvm--03--guest--02-swap"], "size": "38.06 GB"}, "sda1": {"sectorsize": 512, "uuid": "a6c7069c-90ed-4083-babf-204d7de109b0", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part1"], "uuids": ["a6c7069c-90ed-4083-babf-204d7de109b0"]}, "sectors": "2097152", "start": "2048", "holders": [], "size": "1.00 GB"}}, "holders": [], "size": "39.06 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "75612160", "links": {"masters": [], "labels": [], "ids": ["dm-name-centos_ibm--p8--kvm--03--guest--02-root", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreSTbdtNn80fudK4f9awUQhR5a9Idy3Bcz"], "uuids": ["fe2c7521-dcc4-4dc0-853b-3946e38f6ea2"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "36.05 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4194304", "links": {"masters": [], "labels": [], "ids": ["dm-name-centos_ibm--p8--kvm--03--guest--02-swap", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreHUK2tJxyAoG37cNiTF2pmZ59HGbqskuJ"], "uuids": ["e08bac90-1eeb-41be-a27a-c4d6a532593f"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "2.00 GB"}}, "ansible_user_uid": 1001, "ansible_memory_mb": {"real": {"total": 991, "used": 814, "free": 177}, "swap": {"cached": 162, "total": 2047, "free": 1108, "used": 939}, "nocache": {"used": 712, "free": 279}}, "ansible_distribution": "CentOS", "ansible_user_dir": "/home/vagrant", "ansible_env": {"LANG": "ja_JP.UTF-8", "TERM": "xterm-256color", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/1001", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "PWD": "/home/vagrant", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "XDG_SESSION_ID": "9", "SSH_CLIENT": "10.42.0.1 51540 22", "LOGNAME": "vagrant", "USER": "vagrant", "MAIL": "/var/mail/vagrant", "XMODIFIERS": "@im=ibus", "PATH": "/usr/local/bin:/usr/bin", "LS_COLORS": "rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "HOME": "/home/vagrant", "_": "/usr/bin/python", "SSH_CONNECTION": "10.42.0.1 51540 10.42.0.42 22"}, "ansible_distribution_major_version": "7", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "tower330", "ansible_processor_vcpus": 2, "ansible_swaptotal_mb": 2047, "ansible_lsb": {}, "ansible_real_group_id": 1001, "ansible_enp0s9": {"macaddress": "08:00:27:5a:ad:6a", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:09.0", "module": "e1000", "mtu": 1500, "device": "enp0s9", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "192.168.65.255", "netmask": "255.255.255.0", "network": "192.168.65.0", "address": "192.168.65.130"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe5a:ad6a"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_enp0s8": {"macaddress": "08:00:27:72:8e:d0", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:08.0", "module": "e1000", "mtu": 1500, "device": "enp0s8", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "10.42.0.255", "netmask": "255.255.255.0", "network": "10.42.0.0", "address": "10.42.0.42"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe72:8ed0"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_all_ipv6_addresses": ["fe80::a00:27ff:fe5a:ad6a", "fe80::a00:27ff:fe56:bea1", "fe80::a00:27ff:fe72:8ed0"], "ansible_interfaces": ["lo", "enp0s3", "enp0s8", "enp0s9"], "ansible_uptime_seconds": 1833, "ansible_machine_id": "9c08211a9afc4cc9878b1366f30f5f62", "ansible_enp0s3": {"macaddress": "08:00:27:56:be:a1", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:03.0", "module": "e1000", "mtu": 1500, "device": "enp0s3", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0", "address": "10.0.2.15"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe56:bea1"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_iscsi_iqn": "", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_kernel": "3.10.0-862.11.6.el7.x86_64", "ansible_processor_threads_per_core": 1, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIO6lzXUyDE6zYliqFXdNW8Z+EhEuGZrzCzKtAqEraYT1", "ansible_mounts": [{"block_used": 656532, "uuid": "fe2c7521-dcc4-4dc0-853b-3946e38f6ea2", "size_total": 38694522880, "block_total": 9446905, "mount": "/", "block_available": 8790373, "size_available": 36005367808, "fstype": "xfs", "inode_total": 18903040, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/centos_ibm--p8--kvm--03--guest--02-root", "inode_used": 134063, "block_size": 4096, "inode_available": 18768977}, {"block_used": 43821, "uuid": "a6c7069c-90ed-4083-babf-204d7de109b0", "size_total": 1063256064, "block_total": 259584, "mount": "/boot", "block_available": 215763, "size_available": 883765248, "fstype": "xfs", "inode_total": 524288, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/sda1", "inode_used": 333, "block_size": 4096, "inode_available": 523955}], "ansible_nodename": "tower330", "ansible_product_name": "VirtualBox", "ansible_machine": "x86_64", "ansible_system_capabilities": [""], "ansible_all_ipv4_addresses": ["192.168.65.130", "10.0.2.15", "10.42.0.42"], "ansible_python_version": "2.7.5"}}\r\n', b'Shared connection to 10.42.0.42 closed.\r\n')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1541053742.941266-186189092028738/ > /dev/null 2>&1 && sleep 0'"'"''
<10.42.0.42> (0, b'', b'')
ok: [10.42.0.42]
META: ran handlers

TASK [Test Message] ************************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:5
ok: [10.42.0.42] => {
    "msg": "This is a test playbook"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
10.42.0.42                 : ok=2    changed=0    unreachable=0    failed=0   

出力が爆発的に増えましたね。vagrantユーザでSSH接続しようとしている様子が確認できます。それだけでなく、具体的なSSHコマンドのオプションまで確認できます。 この例では出力されていませんが、各Moduleの動きなどを確認したい場合には有効なオプションです。

-vvvvを設定した場合

$ ansible-playbook -i inventory test.yml -vvvv
ansible-playbook 2.7.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/hogehoge/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.7.1 (default, Oct 23 2018, 18:19:07) [GCC 8.2.1 20180801 (Red Hat 8.2.1-2)]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
Parsed /home/hogehoge/vagrant/tower/inventory inventory source with ini plugin
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3.7/site-packages/ansible/plugins/callback/default.py

PLAYBOOK: test.yml *************************************************************
1 plays in test.yml

PLAY [Test Playbook] ***********************************************************

TASK [Gathering Facts] *********************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:2
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'echo ~vagrant && sleep 0'"'"''
<10.42.0.42> (0, b'/home/vagrant\n', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/hogehoge/.ansible/cp/ad247ee407" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 10.42.0.42 [10.42.0.42] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9976 ms remain after connect\r\ndebug1: identity file /home/hogehoge/.ssh/id_rsa type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_dsa type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_ecdsa type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_ed25519 type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_xmss type -1\r\ndebug1: identity file /home/hogehoge/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.8\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to 10.42.0.42:22 as \'vagrant\'\r\ndebug3: hostkeys_foreach: reading file "/home/hogehoge/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/hogehoge/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys from 10.42.0.42\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c\r\ndebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-cbc\r\ndebug2: ciphers stoc: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-cbc\r\ndebug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512\r\ndebug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512\r\ndebug2: compression ctos: zlib@openssh.com,zlib,none\r\ndebug2: compression stoc: zlib@openssh.com,zlib,none\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: aes256-gcm@openssh.com MAC: <implicit> compression: zlib@openssh.com\r\ndebug1: kex: client->server cipher: aes256-gcm@openssh.com MAC: <implicit> compression: zlib@openssh.com\r\ndebug1: kex: curve25519-sha256@libssh.org need=32 dh_need=32\r\ndebug1: kex: curve25519-sha256@libssh.org need=32 dh_need=32\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:fRQPu1VNHSciKUm3qhdPit5lEvf0Quxx13dtE13g4A4\r\ndebug3: hostkeys_foreach: reading file "/home/hogehoge/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/hogehoge/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys from 10.42.0.42\r\ndebug1: Host \'10.42.0.42\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /home/hogehoge/.ssh/known_hosts:1\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey after 4294967296 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey after 4294967296 blocks\r\ndebug2: key: /home/hogehoge/.ssh/id_rsa ((nil))\r\ndebug2: key: /home/hogehoge/.ssh/id_dsa ((nil))\r\ndebug2: key: /home/hogehoge/.ssh/id_ecdsa ((nil))\r\ndebug2: key: /home/hogehoge/.ssh/id_ed25519 ((nil))\r\ndebug2: key: /home/hogehoge/.ssh/id_xmss ((nil))\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password\r\ndebug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive,password\r\ndebug3: authmethod_is_enabled gssapi-keyex\r\ndebug1: Next authentication method: gssapi-keyex\r\ndebug1: No valid Key exchange context\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: publickey,keyboard-interactive,password\r\ndebug3: authmethod_is_enabled gssapi-with-mic\r\ndebug1: Next authentication method: gssapi-with-mic\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:1000)\n\n\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:1000)\n\n\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: keyboard-interactive,password\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /home/hogehoge/.ssh/id_rsa\r\ndebug3: no such identity: /home/hogehoge/.ssh/id_rsa: No such file or directory\r\ndebug1: Trying private key: /home/hogehoge/.ssh/id_dsa\r\ndebug3: no such identity: /home/hogehoge/.ssh/id_dsa: No such file or directory\r\ndebug1: Trying private key: /home/hogehoge/.ssh/id_ecdsa\r\ndebug3: no such identity: /home/hogehoge/.ssh/id_ecdsa: No such file or directory\r\ndebug1: Trying private key: /home/hogehoge/.ssh/id_ed25519\r\ndebug3: no such identity: /home/hogehoge/.ssh/id_ed25519: No such file or directory\r\ndebug1: Trying private key: /home/hogehoge/.ssh/id_xmss\r\ndebug3: no such identity: /home/hogehoge/.ssh/id_xmss: No such file or directory\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup password\r\ndebug3: remaining preferred: ,password\r\ndebug3: authmethod_is_enabled password\r\ndebug1: Next authentication method: password\r\ndebug3: send packet: type 50\r\ndebug2: we sent a password packet, wait for reply\r\ndebug3: receive packet: type 52\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (password).\r\nAuthenticated to 10.42.0.42 ([10.42.0.42]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/hogehoge/.ansible/cp/ad247ee407.LgnPxmOah4eY2rIj\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug3: fd 6 is O_NONBLOCK\r\ndebug3: fd 6 is O_NONBLOCK\r\ndebug1: channel 0: new [/home/hogehoge/.ansible/cp/ad247ee407]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 6\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 29082\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: id\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug3: fd 7 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 7\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\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_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 29084\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 130\r\ndebug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term "xterm-256color", cmd "/bin/sh -c \'echo ~vagrant && sleep 0\'", env 2\r\ndebug3: process_mux_new_session: got fds stdin 8, stdout 9, stderr 10\r\ndebug2: fd 9 setting O_NONBLOCK\r\ndebug2: fd 10 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug3: send packet: type 90\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = ja_JP.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending env XMODIFIERS = @im=ibus\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: /bin/sh -c \'echo ~vagrant && sleep 0\'\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: channel_input_open_confirmation: channel 2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -> closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o1/16 fd 7/7 cc -1)\r\n  #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug2: channel 1: output drain -> closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o3/0 fd 7/7 cc -1)\r\n\r\ndebug2: Received exit status from master 0\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\n')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304 `" && echo ansible-tmp-1541053981.8668084-30272329676304="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304 `" ) && sleep 0'"'"''
<10.42.0.42> (0, b'ansible-tmp-1541053981.8668084-30272329676304=/home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304\n', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 5 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 = 29084\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')
Using module file /usr/lib/python3.7/site-packages/ansible/modules/system/setup.py
<10.42.0.42> PUT /home/hogehoge/.ansible/tmp/ansible-local-290718tham0y2/tmp9vzrc84k TO /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/AnsiballZ_setup.py
<10.42.0.42> SSH: EXEC sshpass -d10 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 '[10.42.0.42]'
<10.42.0.42> (0, b'sftp> put /home/hogehoge/.ansible/tmp/ansible-local-290718tham0y2/tmp9vzrc84k /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/AnsiballZ_setup.py\n', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 5 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 = 29084\r\ndebug3: mux_client_request_session: session request sent\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/vagrant size 0\r\ndebug3: Looking up /home/hogehoge/.ansible/tmp/ansible-local-290718tham0y2/tmp9vzrc84k\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn\'t stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/AnsiballZ_setup.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:98304 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:131072 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:9 O:163840 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:10 O:196608 S:16537\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 98304\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 32768 bytes at 131072\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 9 32768 bytes at 163840\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 10 16537 bytes at 196608\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/ /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/AnsiballZ_setup.py && sleep 0'"'"''
<10.42.0.42> (0, b'', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 5 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 = 29084\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')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 -tt 10.42.0.42 '/bin/sh -c '"'"'/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/AnsiballZ_setup.py && sleep 0'"'"''
<10.42.0.42> (0, b'\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_user_gecos": "", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "vagrant", "ansible_selinux_python_present": true, "ansible_userspace_bits": "64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDfYT+LejkDLbAEgxFqhxlLPioor3PonnPVXzMdv4UR6rLZ9rCZXSSdpH7LRpo5NR37hltvOzFsvN/HsDY0LbdHbJujmgSBEWzidt6y0ME9Ux09sBVRvaELNtcOb9DtTb2bBeW2yGZ0N+h+E3n2Wg7Ei8z7Z44nPRyS24Qe4mBrw8A88nqDhmykg1E4O+N44EHwb9ZVYBBVqsBzPNGT96DwHVyxylWoZN1luMbL5g25rFr+ehAHRMbPA0ifF+XQHeI1LsXD7SFWx+d3hXgcUn9Hxmho0SWwB1TTLqib25gFhNkV/uhXDK64AFVZxN8TV09ZO7ObxPAlcOs2d3SpEdhz", "gather_subset": ["all"], "ansible_architecture": "x86_64", "ansible_local": {}, "ansible_distribution_version": "7.5.1804", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_user_shell": "/bin/bash", "ansible_virtualization_type": "virtualbox", "ansible_real_user_id": 1001, "ansible_processor_cores": 2, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "RedHat", "ansible_dns": {"nameservers": ["10.0.2.3"], "search": ["redhat.com"]}, "ansible_effective_group_id": 1001, "ansible_is_chroot": true, "ansible_bios_version": "VirtualBox", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz", "1", "GenuineIntel", "Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz"], "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20181101T153303", "tz": "JST", "weeknumber": "44", "hour": "15", "year": "2018", "minute": "33", "tz_offset": "+0900", "month": "11", "epoch": "1541053983", "iso8601_micro": "2018-11-01T06:33:03.639021Z", "weekday": "\\u6728\\u66dc\\u65e5", "time": "15:33:03", "date": "2018-11-01", "iso8601": "2018-11-01T06:33:03Z", "day": "01", "iso8601_basic": "20181101T153303638941", "second": "03"}, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "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": 991, "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJIqI9vQ+wLFREmdw4suEqup6++s18nvROBqnTa9TZGDUNjqNu5BIxZMx7aurgKxhRaeoJTzvHr8rOHtoXf+VMY=", "ansible_device_links": {"masters": {"sda2": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sda1": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part1"], "sda2": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part2", "lvm-pv-uuid-tcA00E-SiyP-XYUj-1lCx-Axy5-cMM1-IHcXd3"], "sda": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f"], "dm-0": ["dm-name-centos_ibm--p8--kvm--03--guest--02-root", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreSTbdtNn80fudK4f9awUQhR5a9Idy3Bcz"], "dm-1": ["dm-name-centos_ibm--p8--kvm--03--guest--02-swap", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreHUK2tJxyAoG37cNiTF2pmZ59HGbqskuJ"]}, "uuids": {"sda1": ["a6c7069c-90ed-4083-babf-204d7de109b0"], "dm-0": ["fe2c7521-dcc4-4dc0-853b-3946e38f6ea2"], "dm-1": ["e08bac90-1eeb-41be-a27a-c4d6a532593f"]}}, "ansible_default_ipv4": {"macaddress": "08:00:27:56:be:a1", "network": "10.0.2.0", "mtu": 1500, "broadcast": "10.0.2.255", "alias": "enp0s3", "netmask": "255.255.255.0", "address": "10.0.2.15", "interface": "enp0s3", "type": "ether", "gateway": "10.0.2.2"}, "ansible_swapfree_mb": 1109, "ansible_default_ipv6": {}, "ansible_distribution_release": "Core", "ansible_system_vendor": "innotek GmbH", "ansible_os_family": "RedHat", "ansible_cmdline": {"LANG": "en_US.UTF-8", "BOOT_IMAGE": "/vmlinuz-3.10.0-862.11.6.el7.x86_64", "quiet": true, "rhgb": true, "rd.lvm.lv": "centos_ibm-p8-kvm-03-guest-02/swap", "crashkernel": "auto", "ro": true, "root": "/dev/mapper/centos_ibm--p8--kvm--03--guest--02-root"}, "ansible_effective_user_id": 1001, "ansible_user_gid": 1001, "ansible_selinux": {"status": "disabled"}, "ansible_product_version": "1.2", "ansible_apparmor": {"status": "disabled"}, "ansible_userspace_architecture": "x86_64", "ansible_bios_date": "12/01/2006", "ansible_product_uuid": "NA", "ansible_fqdn": "tower330", "ansible_system": "Linux", "ansible_pkg_mgr": "yum", "ansible_memfree_mb": 177, "ansible_devices": {"sda": {"scheduler_mode": "deadline", "rotational": "1", "vendor": "ATA", "sectors": "81920000", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "VBOX HARDDISK", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part2", "lvm-pv-uuid-tcA00E-SiyP-XYUj-1lCx-Axy5-cMM1-IHcXd3"], "uuids": []}, "sectors": "79820800", "start": "2099200", "holders": ["centos_ibm--p8--kvm--03--guest--02-root", "centos_ibm--p8--kvm--03--guest--02-swap"], "size": "38.06 GB"}, "sda1": {"sectorsize": 512, "uuid": "a6c7069c-90ed-4083-babf-204d7de109b0", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdff9da2c-19fe8f3f-part1"], "uuids": ["a6c7069c-90ed-4083-babf-204d7de109b0"]}, "sectors": "2097152", "start": "2048", "holders": [], "size": "1.00 GB"}}, "holders": [], "size": "39.06 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "75612160", "links": {"masters": [], "labels": [], "ids": ["dm-name-centos_ibm--p8--kvm--03--guest--02-root", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreSTbdtNn80fudK4f9awUQhR5a9Idy3Bcz"], "uuids": ["fe2c7521-dcc4-4dc0-853b-3946e38f6ea2"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "36.05 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4194304", "links": {"masters": [], "labels": [], "ids": ["dm-name-centos_ibm--p8--kvm--03--guest--02-swap", "dm-uuid-LVM-s4Ou7dTSUbJNSSAuEJXNZZOEYsrffyreHUK2tJxyAoG37cNiTF2pmZ59HGbqskuJ"], "uuids": ["e08bac90-1eeb-41be-a27a-c4d6a532593f"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "2.00 GB"}}, "ansible_user_uid": 1001, "ansible_memory_mb": {"real": {"total": 991, "used": 814, "free": 177}, "swap": {"cached": 162, "total": 2047, "free": 1109, "used": 938}, "nocache": {"used": 711, "free": 280}}, "ansible_distribution": "CentOS", "ansible_user_dir": "/home/vagrant", "ansible_env": {"LANG": "ja_JP.UTF-8", "TERM": "xterm-256color", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/1001", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "PWD": "/home/vagrant", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "XDG_SESSION_ID": "10", "SSH_CLIENT": "10.42.0.1 51602 22", "LOGNAME": "vagrant", "USER": "vagrant", "MAIL": "/var/mail/vagrant", "XMODIFIERS": "@im=ibus", "PATH": "/usr/local/bin:/usr/bin", "LS_COLORS": "rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "HOME": "/home/vagrant", "_": "/usr/bin/python", "SSH_CONNECTION": "10.42.0.1 51602 10.42.0.42 22"}, "ansible_distribution_major_version": "7", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "tower330", "ansible_processor_vcpus": 2, "ansible_swaptotal_mb": 2047, "ansible_lsb": {}, "ansible_real_group_id": 1001, "ansible_enp0s9": {"macaddress": "08:00:27:5a:ad:6a", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:09.0", "module": "e1000", "mtu": 1500, "device": "enp0s9", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "192.168.65.255", "netmask": "255.255.255.0", "network": "192.168.65.0", "address": "192.168.65.130"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe5a:ad6a"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_enp0s8": {"macaddress": "08:00:27:72:8e:d0", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:08.0", "module": "e1000", "mtu": 1500, "device": "enp0s8", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "10.42.0.255", "netmask": "255.255.255.0", "network": "10.42.0.0", "address": "10.42.0.42"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe72:8ed0"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_all_ipv6_addresses": ["fe80::a00:27ff:fe5a:ad6a", "fe80::a00:27ff:fe56:bea1", "fe80::a00:27ff:fe72:8ed0"], "ansible_interfaces": ["lo", "enp0s3", "enp0s8", "enp0s9"], "ansible_uptime_seconds": 2073, "ansible_machine_id": "9c08211a9afc4cc9878b1366f30f5f62", "ansible_enp0s3": {"macaddress": "08:00:27:56:be:a1", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:03.0", "module": "e1000", "mtu": 1500, "device": "enp0s3", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0", "address": "10.0.2.15"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe56:bea1"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_iscsi_iqn": "", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_kernel": "3.10.0-862.11.6.el7.x86_64", "ansible_processor_threads_per_core": 1, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIO6lzXUyDE6zYliqFXdNW8Z+EhEuGZrzCzKtAqEraYT1", "ansible_mounts": [{"block_used": 656566, "uuid": "fe2c7521-dcc4-4dc0-853b-3946e38f6ea2", "size_total": 38694522880, "block_total": 9446905, "mount": "/", "block_available": 8790339, "size_available": 36005228544, "fstype": "xfs", "inode_total": 18903040, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/centos_ibm--p8--kvm--03--guest--02-root", "inode_used": 134063, "block_size": 4096, "inode_available": 18768977}, {"block_used": 43821, "uuid": "a6c7069c-90ed-4083-babf-204d7de109b0", "size_total": 1063256064, "block_total": 259584, "mount": "/boot", "block_available": 215763, "size_available": 883765248, "fstype": "xfs", "inode_total": 524288, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/sda1", "inode_used": 333, "block_size": 4096, "inode_available": 523955}], "ansible_nodename": "tower330", "ansible_product_name": "VirtualBox", "ansible_machine": "x86_64", "ansible_system_capabilities": [""], "ansible_all_ipv4_addresses": ["192.168.65.130", "10.0.2.15", "10.42.0.42"], "ansible_python_version": "2.7.5"}}\r\n', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 5 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 = 29084\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 10.42.0.42 closed.\r\n')
<10.42.0.42> ESTABLISH SSH CONNECTION FOR USER: vagrant
<10.42.0.42> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/hogehoge/.ansible/cp/ad247ee407 10.42.0.42 '/bin/sh -c '"'"'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1541053981.8668084-30272329676304/ > /dev/null 2>&1 && sleep 0'"'"''
<10.42.0.42> (0, b'', b'OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS  11 Sep 2018\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-,gss-group1-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]\r\ndebug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.42.0.42 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 5 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 = 29084\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')
ok: [10.42.0.42]
META: ran handlers

TASK [Test Message] ************************************************************
task path: /home/hogehoge/vagrant/tower/test.yml:5
ok: [10.42.0.42] => {
    "msg": "This is a test playbook"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
10.42.0.42                 : ok=2    changed=0    unreachable=0    failed=0   

とんでもない量の出力が発生しました。Ansibleが一時的にpythonコードをPUTしているのが確認できます。さらには使用しているOpenSSHのバージョンも確認できますね。

このオプションは特にAnsibleがターゲットノードに接続する際のトラブルシュートに役立ちます。

-vvvvvの場合

-vvvvvを指定した場合、Windows環境に対してWinRMを使用して接続する場合以外は-vvvvの出力と変わらないためここでは割愛します。

おわりに

こうした詳細な出力を追いかけることでよりAnsibleの動作やエラーの詳細がわかります。皆様もぜひ一度覗いてみてください!

それではたのしいAnsibleライフを!

ポットキャスト「deploy.am」はじめました

どうも、ひよこ大佐です。

開発以外の話題を中心に、inductorさんと私ひよこ大佐がメインパーソナリティでお届けするポッドキャストdeploy.am」をスタートしました。 第1話が下記ページ、もしくはGoogle ポッドキャストPlayer FMでも聴くことができます。

deploy.am

第1回は、メインパーソナリティ2人の自己紹介と転職の話やキャリアについてなど、初回ながら聴きごたえがある内容になっていると思いますので、ぜひBGMがわりにでも聴いていただければと思います!

@ITにTwitter転職を取材されました

どうも、ひよこ大佐です。 Twitterをご覧になっている方はもうご存知かと思いますが、Twitter転職について取材を受けました。 まだご覧になっていない方は、下記からご一読いただければ幸いです。

ひよこ大佐、私もTwitterで転職できますか? (1/4):教えて! キラキラお兄さん - @IT

こういった形で取材を受けるのは初めてですが、自分の思いを記事にしていただけたかなと思います。自分の顔写真が出回るのはなかなか恥ずかしいものですが、概ねポジティブな感想をいただけれているので、嬉しい限りです。

Twitter転職をしてみて

Twitter転職は、僕自身は以前の記事でも言及した通り、Twitterで転職しようという強い思いをもって活動していたわけではありません。 hiyoko-infratech.hateblo.jp

ただ、転職の手段としてはアリだとおもいますし、従来のエージェントを使った転職にない利点も、欠点もあります。 ですので、従来の転職活動と併用したり、いいところをうまく活用し、欠点を他の手段で補っていくのがよいと思います。 以下は、自分がTwitterで転職活動をして、また他の方の事例を見て感じた大事だと思う考え方です。

ポジティブかつ敬意を持って接する

Twitter転職は、「人と人とのゆるいつながり」による転職活動になります。 ですから、お互いに誠実に、敬意をもって接する必要があります。(転職活動に限らずですが) 横柄な人間と働きたいと思う人はいません。

スキル・経歴を整理する

140字という限られた字数のなかでいかに自分ができること、自分がやりたいことを伝えるかを考えるのは非常に難しいです。そのためには自分の今あるスキルの整理をしておく必要があります。 どちらにせよ、職務経歴書などは提出する必要があるので、それと同時に自分ができること、経験してきたことが整理できていれば理想的だと思います。

今後のキャリアロードマップを持つ

どこかへ進むためには、進みたい方向を理解している必要があります。IT業界だけでもいろいろな仕事があり、どこに向えば正解というものはありません。その中で、「自分がやってきたこと」をベースに、「次は何をしたいのか」という志向が明確に決まっていれば、転職活動もやりやすいですし、自分の中での判断基準を持つことができます。

転職活動を楽しむ

つらい転職活動は、地獄です。楽しい方がいいに決まってますよね? 自分がやりたいこと、キャリアの未来を考える機会として、転職活動はまたとない機会です。楽しみましょう。

偉そうに書いていて恥ずかしくなってきたので、ここらへんで終わりとさせていただきますが、皆様によりよいキャリアが訪れることを願っています。

Interact 2018に登壇しました

どうも、ひよこ大佐です。 @Pyromaniaxxx さんにお誘いいただき、Interact 2018というイベントでお話しさせていただく機会がありました。

interact.connpass.com

マイクロソフトさんのセミナールームをお借りして、同時に60分間のセッションを6枠、4回にわたって開催する非公式ながら非常に規模の大きいイベントでした。

300名近い参加者の方に来場いただき、大盛況でした。私自身も「Ansible x Windows: AnsibleではじめるWindows自動化」と題して60分の枠をいただきました。 スライド資料に関してはSpeakerDeckにアップロードしてありますので、ご確認いただけたらと思います。

speakerdeck.com

登壇してみて

実際に会場に入ってみると、まさかの満席! いままでこういった大人数の前でしゃべることはなかったので、ガチゴチに緊張してしまいました。 その結果、まさかの20分以上時間を余らせる事態に……!

(緊張して早口で喋りすぎました)

しかし、結果的にはいいレスポンスを頂き、課題も明確になったので、ぜひ機会があればまた登壇してみたいと強く思うようになりました。 ツイッターでは「わかりやすい」と言っていただいている方もいたので、普段なじみのないAnsibleでのWindows自動化をある程度は啓蒙できたのかなぁと思います。 リベンジのために、また来年もぜひ呼んでください!!

スライドに関する質問やフィードバックがあれば、ぜひぜひTwitterでリプライを飛ばしていただければ励みになります! (このイベントでAnsibleしゃべってほしいなぁというご相談もありです)

インフラ勉強会 半年記念イベント(東京会場)に参加してきました

おひさしぶりです。ひよこ大佐です。

6/23に渋谷で開催された、インフラ勉強会半年記念イベントに参加してきました。 イベントの詳細については、TECH PLAYのイベントページを参照ください。

techplay.jp

インフラ勉強会については下記記事にて取り上げていますので、よろしければご一読ください。

hiyoko-infratech.hateblo.jp

会場

渋谷駅から徒歩数分の綺麗なビルの中にありました。

会場はさながらカフェのような凝ったインテリア。噂には聞いていたのですが、想像以上に綺麗な会場でした。 広さも100人ぐらいは余裕で収容できるぐらいあり、設備も整っているようでした。 f:id:hiyokotaisa:20180627172929j:plain f:id:hiyokotaisa:20180627173044j:plain あまりのオシャンティさに驚きながら、会場の隅に着席。

用意いただいていた名札がTシャツにうまく張り付かず、急遽名札をGimpでパパっと作成、近くの100円ショップで名札入れを買ってコンビニで印刷しました。 f:id:hiyokotaisa:20180705192633j:plain

12時を過ぎると、続々と別の参加者の方々が。 普段オンラインで話す方でも、こうやって直接会う機会はほとんどないので、非常に新鮮です。 広いと思っていた会場も、これだけ人が集まると狭く感じます。 f:id:hiyokotaisa:20180627173507j:plain

勉強会開始

佐々木康介さんの挨拶からイベントがスタート。煽りで英語を覚えた煽りのプロことinductorさんによる「インフラ勉強会の振り返り」があり、場が盛り上がったところで大阪会場のゆたかさんのセッション。 コミュニティ主導のイベントで東京・大阪同時開催というのはなかなかなかった試みですが、非常に低遅延かつなめらかな配信が実現されていました。

スタッフの方々の多大な努力と準備があってこそだと思います。本当に感謝です。

休憩を挟んだあとはパネルディスカッション。インフラ勉強会に参加されている方はお馴染の顔ぶれによるディスカッションは、笑いあり、考えさせられるコメントありで大いに盛り上がりました。

懇親会&LT

お待ちかねの懇親会がスタート。実は前日の22時過ぎに「LTやりませんか」とお声がけいただき、いつの間にか私自身も登壇することになっていました。

盛り上がる話、真面目な話からここでは書けないようないろいろな意味で「ヤバい」話など、バリエーションに富んだLTに、お酒もあり会場はどんどんヒートアップ。 私もお酒を飲みながら話しかけていただいたり、エンジョイしつつもついに自分の出番となりました。

LTでは何を話そうか悩んだのですが、せっかくなのでTwitter転職のその後について、前職と現職の違いやそこで感じたことなどをLTしました。 結果的にはLTは成功だったと自分では思っています。スライド自体については公開する予定はありませんが、いい経験になりました。

イベントを通して感じたこと

非常に熱量の高いコミュニティでありながら、Discordでの活動が主体で参加のハードルが非常に低い、稀有なコミュニティだと感じています。 イベントもスタッフの方が主体的にすべて準備いただき、当日はノートラブルで終えることができました。 (準備会のチャンネルに入っていたのに、何もできていなくて本当にすみません)

また、1年記念イベントが予定されているので、その際はぜひまた参加したいと思います。 参加された皆様、本当にありがとうございました!

いまからはじめるAnsible#1を開催しました

皆様、おはようございます。ひよこ大佐です。

大雪に見舞われた東京も、徐々に雪が溶けはじめました。ただ今週末にまた雪が降るかもしれないとの予報で、今から憂鬱な気分です。

インフラ勉強会

勉強会に参加されるエンジニアの方は非常に多く、ConpassATNDをちらりと眺めただけでも数え切れないほどのさまざまな勉強会が開催されています。

 

そんな中にあっても「インフラ勉強会」が他と一線を画すのは、そういった対面での勉強会と異なり、場所の制約を受けないオンライン限定のコミュニティであるということです。

 

Discord上でLinux、Networkからセキュリティ、コンピュータアーキテクチャの話に至るまで、インフラに関わる多様な領域を議論するチャンネルが存在し、日々議論、情報共有や雑談、LT、勉強会を開催しています。

 

今回私は1/28(日) 21:00から1時間ほどAnsibleの概要や初歩的な使い方を説明する勉強会を開催しました。

 

GitPitch + 画面共有 + Discordのボイスチャット

Discordにはボイスチャットチャンネルが存在するので、超多人数のボイスチャットが実現可能です。そのシステムとテキストチャットによるコミュニケーション、画面共有ツール「join.me」で参加者にデスクトップを共有し「GitPitch」を使ってGitHub上に作成したMarkdownのドキュメントをスライドとして表示させました。

 

実際に使用したGitPitchのスライドがこちらです。

https://gitpitch.com/hiyokotaisa/ansible-101/draft

Githubはこちら。

https://github.com/hiyokotaisa/ansible-101/blob/draft/PITCHME.md

 

この方式であれば、配信者も手軽にいつでも配信でき、参加者もDiscordのVC(ボイスチャット)を聞きながらスライドを眺めるだけでよく、ラジオ的に聞き流すことも可能で、非常に参加のハードルが低いのが利点です。参加できなかった方も、WikiページにスライドのMarkdownをベースに補足したものを参照すれば勉強会で触れた内容、デモの手順まで把握できます。

 

当日は参加者がjoin.meの上限である50人を上回ってしまったため急遽参加者の方に多重配信していただいたり、draftからmergeし忘れたりなどのトラブルはありましたが、概ね好評をいただけたようで非常によい体験ができました。

 

今後の勉強会のあり方

勉強会はいままで、ハードルが高いものでした。発表者にとっても参加者にとっても、時間も場所も制約を受けてしまい、なかなか忙しい合間を縫って参加することができない方も多く、大きな機会損失がありました。その制約を受けずに参加できるのがオンライン勉強会です。

いわゆるWebinarと呼ばれる形式の勉強会は、大企業が主催する勉強会などでは存在していました。ただ、インフラ勉強会のようにコミュニティから生まれ、草の根的に広がりつつあるこの動きに、非常に大きな可能性を感じます。今後も、この動きがますます拡大していくことを願っています。

 

 

クリスマスプレゼントの御礼と2018年の抱負

こんばんは、ひよこ大佐です。 気がつけば2017年もあと数時間。時が経つのは早いものですね。

クリスマス前、軽い気持ちでTwitterでクリスマスプレゼントを募集したりしました。

結果、こうなりました。

大量の技術書やトイレットペーパーやトイレットペーパーや食料、本棚や机(!?) などが続々と届いております。 皆様本当にありがとうございます。

以下、頂いたもののリストです。

技術書

  • Infrastructure as Code ―クラウドにおけるサーバ管理の原則とプラクティス
  • Azureテクノロジ入門 2018
  • 詳解 Linuxカーネル 第3版
  • コンピュータネットワーク 第5版
  • Pythonチュートリアル 第3版
  • マスタリングTCP/IP 応用編
  • マスタリングTCP/IP ルーティング編
  • インフラ/ネットワークエンジニアのためのネットワーク技術&設計入門
  • ふつうのLinuxプログラミング 第2版

読み物

  • 数学ガール (数学ガールシリーズ 1)
  • 世界を動かすプロジェクトマネジメントの教科書 ~グローバルなチャレンジを成功させるOSの作り方
  • ITエンジニアのロジカル・シンキング・テクニック 新装版

日用品

  • エリエール イーナ トイレットティシュー シングル(100m) 12ロール 華やぐフローラルの香り パルプ100%
  • ネピア おしりセレブ トイレットロール 4ロール ダブル (2枚重ね 35m巻) 無香料
  • ネピア ロング トイレットロール 8ロール シングル (90m巻) 無香料
  • ネピア 鼻セレブ ティシュ 400枚(200組)×3個パック

食品

  • カゴメ 野菜生活100 Smoothie マンゴーピーチスムージーMix 330ml×12本
  • ハウス プロ クオリティ ビーフカレー 辛口 4袋入
  • 低温製法米のおいしいごはん 北海道産ゆめぴりか 180g×5パック

雑貨

  • ステッドラー ボールペン 多機能ペン アバンギャルド 927 ブラストブラック AG-BB
  • サンワダイレクト トラベルポーチ 充電器ポーチ PC周辺小物整理 収納ポーチ 旅行 グレー 200-BAGIN006GY
  • BONTIME クリーニングクロス 超極細繊維/マイクロファイバー【カメラレンズ/スマホ/ メガネ/ 液晶/楽器対応】ギフト 20cm×18cm(8枚セット/個別包装)グレー&ブル
  • Amazonベーシック ジェルマウスパッド ハンドレスト付き

家具

その他

皆様、本当にありがとうございました! 頂いたものはすべて有効に活用させていただきます!

2018年の抱負

来年は、自分にとって「アウトプット」の年にしたいと考えています。 転職を成功させることももちろんですが、技術的にも幅広く吸収しアウトプットしていきたいと考えています。

これだけの技術書をすべて読み切るのは相当な時間が掛かります。 皆様からこれだけのご支援を頂いていますので、すべてを責任を持って読み切ります。

また、そこから得た知識やエンジニアとしての成果はできるだけコミュニティに還元していければと思います。 このブログを含めて、来年は勉強会やコミュニティへのコミットなど、もっとアウトプットできる機会を増やしていければと思います。

来年もどうぞよろしくお願いします!