ansible / ansible

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
https://www.ansible.com/
GNU General Public License v3.0
62.94k stars 23.9k forks source link

service module is not idempotent on centos6 #31344

Closed roumano closed 6 years ago

roumano commented 7 years ago
ISSUE TYPE
COMPONENT NAME

module service

ANSIBLE VERSION

ansible in the Fedora 26 repo :

ansible 2.4.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/fedora/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.13 (default, Sep  5 2017, 08:53:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
CONFIGURATION
DEFAULT_HOST_LIST(env: ANSIBLE_INVENTORY) = [u'/home/fedora/Documents/ansible/hosts_sch_itop']
PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 30

I also have tested with ansible installed from pip and virtualenv :

source ~/bin/ansible/bin/activate
(ansible) [fedora@pc41 ansible]$ ansible --version
ansible 2.4.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/fedora/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible
  executable location = /home/fedora/bin/ansible/bin/ansible
  python version = 3.6.2 (default, Sep 22 2017, 08:28:09) [GCC 7.2.1 20170915 (Red Hat 7.2.1-2)]
(ansible) [fedora@pc41 ansible]$ ansible-config dump --only-changed
DEFAULT_HOST_LIST(env: ANSIBLE_INVENTORY) = ['/home/fedora/Documents/ansible/hosts_sch_itop']
PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 30
OS / ENVIRONMENT
SUMMARY

service on RHEL6/Centos6 are not idempotent (tested on virtualbox box name " centos/6 " and on a "real" server Red Hat Enterprise Linux Server release 6.8 (Santiago)

STEPS TO REPRODUCE

runnning it twise to detect the idempotent issue :

ansible-playbook test.yml --inventory list_vagrant --limit centos6,centos7 ansible-playbook test.yml --inventory list_vagrant --limit centos6,centos7

- hosts: all
  tasks:
  - name: Enable services
    service:
      name: crond
      enabled: yes 
EXPECTED RESULTS
PLAY [all] ************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************
ok: [centos7]
ok: [centos6]

TASK [Enable services] ************************************************************************************************************
ok: [centos7]
ok: [centos6]

PLAY RECAP ************************************************************************************************************************
centos6                    : ok=2    changed=0    unreachable=0    failed=0   
centos7                    : ok=2    changed=0    unreachable=0    failed=0   
ACTUAL RESULTS
PLAY [all] ************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************
ok: [centos7]
ok: [centos6]

TASK [Enable services] ************************************************************************************************************
ok: [centos7]
changed: [centos6]

PLAY RECAP ************************************************************************************************************************
centos6                    : ok=2    changed=1    unreachable=0    failed=0   
centos7                    : ok=2    changed=0    unreachable=0    failed=0   

with extra verbosity :

(ansible) [fedora@pc41 ansible]$ ansible-playbook test.yml --inventory list_vagrant  --limit centos6,centos7 -vvv
ansible-playbook 2.4.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/fedora/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible
  executable location = /home/fedora/bin/ansible/bin/ansible-playbook
  python version = 3.6.2 (default, Sep 22 2017, 08:28:09) [GCC 7.2.1 20170915 (Red Hat 7.2.1-2)]
Using /etc/ansible/ansible.cfg as config file
Parsed /home/fedora/svn/ansible/list_vagrant inventory source with ini plugin

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

PLAY [all] ************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/setup.py
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/setup.py
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<centos7> (0, b'/home/vagrant\n', b'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that a host key has just been changed.\r\nThe fingerprint for the ECDSA key sent by the remote host is\nSHA256:fQnZunChrEwzwNRdZZHehf++aF/VrOa5lF7Gkxz6c3Y.\r\nPlease contact your system administrator.\r\nAdd correct host key in /home/fedora/.ssh/known_hosts to get rid of this message.\r\nOffending ECDSA key in /home/fedora/.ssh/known_hosts:1285\r\nChallenge/response authentication is disabled to avoid man-in-the-middle attacks.\r\nAgent forwarding is disabled to avoid man-in-the-middle attacks.\r\n')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892 `" && echo ansible-tmp-1507197765.7981524-217916703115892="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892 `" ) && sleep 0'"'"''
<centos6> (0, b'/home/vagrant\n', b'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that a host key has just been changed.\r\nThe fingerprint for the RSA key sent by the remote host is\nSHA256:HLZDKIpTKsy87wRnLhwsjfCnpG2rJsHHOGbsHyyjjD8.\r\nPlease contact your system administrator.\r\nAdd correct host key in /home/fedora/.ssh/known_hosts to get rid of this message.\r\nOffending ECDSA key in /home/fedora/.ssh/known_hosts:1280\r\nChallenge/response authentication is disabled to avoid man-in-the-middle attacks.\r\nAgent forwarding is disabled to avoid man-in-the-middle attacks.\r\n')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832 `" && echo ansible-tmp-1507197765.7984858-145039936053832="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832 `" ) && sleep 0'"'"''
<centos7> (0, b'ansible-tmp-1507197765.7981524-217916703115892=/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892\n', b'')
<centos7> PUT /tmp/tmp8q038nef TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/setup.py
<centos7> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc '[centos7]'
<centos6> (0, b'ansible-tmp-1507197765.7984858-145039936053832=/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832\n', b'')
<centos6> PUT /tmp/tmp1refuqws TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/setup.py
<centos6> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 '[centos6]'
<centos6> (0, b'sftp> put /tmp/tmp1refuqws /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/setup.py\n', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/setup.py && sleep 0'"'"''
<centos7> (0, b'sftp> put /tmp/tmp8q038nef /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/setup.py\n', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/setup.py && sleep 0'"'"''
<centos6> (0, b'', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 -tt centos6 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sldyvqksjvddlvurnsaublcqybqmmlmy; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/setup.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos7> (0, b'', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc -tt centos7 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-fbwnwdvtkmyvgiwqnbavtawgyyrrxpmi; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/setup.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos7> (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": "0", "ansible_form_factor": "Other", "ansible_python_version": "2.7.5", "ansible_product_version": "1.2", "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_userspace_bits": "64", "ansible_all_ipv4_addresses": ["10.0.2.15"], "gather_subset": ["all"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFGAMETS8dj0dwxJ4STBX1UlylBmKnuzn0dPTpLMbIsBV3ANrP2Nfs6aHEN6xwn7rwltwvcu0iX9Rx7nk9wHCEg=", "ansible_local": {}, "ansible_distribution_version": "7.4.1708", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_device_links": {"masters": {"sda3": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sda2": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part2"], "sda3": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part3", "lvm-pv-uuid-avs1cf-mOCk-nPWi-j8PU-cpSR-iwP5-uASvHD"], "sda": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815"], "sda1": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part1"], "dm-0": ["dm-name-VolGroup00-LogVol00", "dm-uuid-LVM-SNRJP9dVE2rBZT5b1NaTMKFhNOKFw2ghlWsKz9nZKEHcls1Y6RWjBSOzQVuNqc2K"], "dm-1": ["dm-name-VolGroup00-LogVol01", "dm-uuid-LVM-SNRJP9dVE2rBZT5b1NaTMKFhNOKFw2ghg2FFMPAHLJI0VXojJS1y2nTaQBPSqAC0"]}, "uuids": {"sda2": ["56e1d942-8646-4be6-8dc5-ac145a22988e"], "dm-0": ["c8f77a6c-5474-45cc-93da-b8ac17316b4d"], "dm-1": ["1d53b3f9-b38d-41ac-9c60-09100aff2e8e"]}}, "ansible_virtualization_type": "virtualbox", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAINObLlcfFeyvviYPYLMa/xeVI9Trn3HOOknQlKnYFRL1", "ansible_processor_cores": 1, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "RedHat", "ansible_dns": {"nameservers": ["10.0.2.3"], "search": ["home"]}, "ansible_processor_vcpus": 1, "ansible_bios_version": "VirtualBox", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz"], "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20171005T100248", "tz": "UTC", "weeknumber": "40", "hour": "10", "year": "2017", "minute": "02", "tz_offset": "+0000", "month": "10", "epoch": "1507197768", "iso8601_micro": "2017-10-05T10:02:48.148120Z", "weekday": "jeudi", "time": "10:02:48", "date": "2017-10-05", "iso8601": "2017-10-05T10:02:48Z", "day": "05", "iso8601_basic": "20171005T100248147921", "second": "48"}, "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", "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_mpls_segmentation": "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": 236, "ansible_architecture": "x86_64", "ansible_real_user_id": 0, "ansible_default_ipv4": {"macaddress": "52:54:00:7a:69:5a", "network": "10.0.2.0", "mtu": 1500, "broadcast": "10.0.2.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "10.0.2.15", "interface": "eth0", "type": "ether", "gateway": "10.0.2.2"}, "ansible_swapfree_mb": 1535, "ansible_default_ipv6": {}, "ansible_distribution_release": "Core", "ansible_system_vendor": "innotek GmbH", "ansible_os_family": "RedHat", "ansible_cmdline": {"no_timer_check": true, "BOOT_IMAGE": "/vmlinuz-3.10.0-693.2.1.el7.x86_64", "console": "ttyS0,115200n8", "quiet": true, "net.ifnames": "0", "rhgb": true, "biosdevname": "0", "crashkernel": "auto", "rd.lvm.lv": "VolGroup00/LogVol01", "ro": true, "root": "/dev/mapper/VolGroup00-LogVol00"}, "ansible_effective_user_id": 0, "ansible_mounts": [{"block_used": 221306, "uuid": "c8f77a6c-5474-45cc-93da-b8ac17316b4d", "size_total": 40212119552, "block_total": 9817412, "mount": "/", "block_available": 9596106, "size_available": 39305650176, "fstype": "xfs", "inode_total": 19644416, "options": "rw,seclabel,relatime,attr2,inode64,noquota", "device": "/dev/mapper/VolGroup00-LogVol00", "inode_used": 30743, "block_size": 4096, "inode_available": 19613673}, {"block_used": 16707, "uuid": "56e1d942-8646-4be6-8dc5-ac145a22988e", "size_total": 1063256064, "block_total": 259584, "mount": "/boot", "block_available": 242877, "size_available": 994824192, "fstype": "xfs", "inode_total": 524288, "options": "rw,seclabel,relatime,attr2,inode64,noquota", "device": "/dev/sda2", "inode_used": 325, "block_size": 4096, "inode_available": 523963}], "ansible_selinux": {"status": "enabled", "policyvers": 28, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_distribution_file_parsed": true, "ansible_apparmor": {"status": "disabled"}, "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "97AC6502-AA98-40BE-8320-EDBCEEEAB86E", "ansible_system": "Linux", "ansible_pkg_mgr": "yum", "ansible_memfree_mb": 30, "ansible_devices": {"sda": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "ATA", "sectors": "83886080", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815"], "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": "56e1d942-8646-4be6-8dc5-ac145a22988e", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part2"], "uuids": ["56e1d942-8646-4be6-8dc5-ac145a22988e"]}, "sectors": "2097152", "start": "4096", "holders": [], "size": "1.00 GB"}, "sda3": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part3", "lvm-pv-uuid-avs1cf-mOCk-nPWi-j8PU-cpSR-iwP5-uASvHD"], "uuids": []}, "sectors": "81784832", "start": "2101248", "holders": ["VolGroup00-LogVol00", "VolGroup00-LogVol01"], "size": "39.00 GB"}, "sda1": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBdbff7400-d3269815-part1"], "uuids": []}, "sectors": "2048", "start": "2048", "holders": [], "size": "1.00 MB"}}, "holders": [], "size": "40.00 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "78577664", "links": {"masters": [], "labels": [], "ids": ["dm-name-VolGroup00-LogVol00", "dm-uuid-LVM-SNRJP9dVE2rBZT5b1NaTMKFhNOKFw2ghlWsKz9nZKEHcls1Y6RWjBSOzQVuNqc2K"], "uuids": ["c8f77a6c-5474-45cc-93da-b8ac17316b4d"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "37.47 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "3145728", "links": {"masters": [], "labels": [], "ids": ["dm-name-VolGroup00-LogVol01", "dm-uuid-LVM-SNRJP9dVE2rBZT5b1NaTMKFhNOKFw2ghg2FFMPAHLJI0VXojJS1y2nTaQBPSqAC0"], "uuids": ["1d53b3f9-b38d-41ac-9c60-09100aff2e8e"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "1.50 GB"}}, "ansible_user_uid": 0, "ansible_lvm": {"pvs": {"/dev/sda3": {"free_g": "97", "size_g": "38", "vg": "VolGroup00"}}, "lvs": {"LogVol01": {"size_g": "1", "vg": "VolGroup00"}, "LogVol00": {"size_g": "37", "vg": "VolGroup00"}}, "vgs": {"VolGroup00": {"free_g": "0", "size_g": "97", "num_lvs": "2", "num_pvs": "1"}}}, "ansible_distribution": "CentOS", "ansible_user_dir": "/root", "ansible_env": {"USERNAME": "root", "LANG": "fr_FR.UTF-8", "TERM": "xterm-256color", "SHELL": "/bin/bash", "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-fbwnwdvtkmyvgiwqnbavtawgyyrrxpmi; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/setup.py; rm -rf \\"/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7981524-217916703115892/\\" > /dev/null 2>&1", "SHLVL": "1", "SUDO_UID": "1000", "SUDO_GID": "1000", "PWD": "/home/vagrant", "LOGNAME": "root", "USER": "root", "PATH": "/sbin:/bin:/usr/sbin:/usr/bin", "MAIL": "/var/mail/vagrant", "SUDO_USER": "vagrant", "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": "/root", "_": "/usr/bin/python"}, "ansible_distribution_major_version": "7", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "centos7", "ansible_effective_group_id": 0, "ansible_swaptotal_mb": 1535, "ansible_lsb": {}, "ansible_real_group_id": 0, "ansible_bios_date": "12/01/2006", "ansible_all_ipv6_addresses": ["fe80::5054:ff:fe7a:695a"], "ansible_eth0": {"macaddress": "52:54:00:7a:69:5a", "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]", "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_mpls_segmentation": "off [fixed]", "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": "eth0", "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::5054:ff:fe7a:695a"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_interfaces": ["lo", "eth1", "eth0"], "ansible_uptime_seconds": 1682, "ansible_user_shell": "/bin/bash", "ansible_machine_id": "97ac6502aa9840be8320edbceeeab86e", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCyy6OYgVgMO2ycJc/pC0qLB+o3lIMRHDuhf8Ozs4o2UBOHTYH3aURVTYcr1PQ7p7zsKWu8h6FzP0/GDaWrLCsVzg7tMxkoBvebomnHz3ZrH1aFX9+wicDTgDGpK8jPjByJz90tIKVAM0MdhXqCjid2OMgdsbsckq+kqMeMI7Hqn0DgounJV7JRYHGkonm9ttgsWLSPpnM7Okyq30ojjD4xnLG4ZNFqgr2yhx+NCfy7RA02fSCSgqUlsdDII6I/jEw97y+n5l82vMrX06yM3EKu9QqAVu0tqbi8UIexpsQNGEr2akq7aBgEhri/s2r+CN4BPfpaoqqPdA1JdlD+2yuR", "ansible_user_gecos": "root", "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_processor_threads_per_core": 1, "ansible_fqdn": "centos7", "ansible_user_gid": 0, "ansible_memory_mb": {"real": {"total": 236, "used": 206, "free": 30}, "swap": {"cached": 0, "total": 1535, "free": 1535, "used": 0}, "nocache": {"used": 119, "free": 117}}, "ansible_eth1": {"macaddress": "08:00:27:ad:a0:17", "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]", "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_mpls_segmentation": "off [fixed]", "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]"}, "pciid": "0000:00:08.0", "module": "e1000", "mtu": 1500, "device": "eth1", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "active": false, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "VirtualBox", "ansible_machine": "x86_64", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"], "ansible_kernel": "3.10.0-693.2.1.el7.x86_64", "ansible_nodename": "centos7"}}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
ok: [centos7]
<centos6> (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": "0", "ansible_form_factor": "Other", "ansible_product_version": "1.2", "ansible_fips": false, "ansible_service_mgr": "service", "ansible_user_id": "root", "ansible_selinux_python_present": false, "ansible_memtotal_mb": 238, "ansible_all_ipv4_addresses": ["10.0.2.15", "192.168.77.12"], "gather_subset": ["all"], "ansible_system_capabilities": [], "ansible_local": {}, "ansible_distribution_version": "6.9", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_user_shell": "/bin/bash", "ansible_virtualization_type": "virtualbox", "ansible_real_user_id": 0, "ansible_processor_cores": 1, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "RedHat", "ansible_dns": {"nameservers": ["10.0.2.3"], "search": ["home"]}, "ansible_processor_vcpus": 1, "ansible_bios_version": "VirtualBox", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz"], "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20171005T100248", "tz": "UTC", "weeknumber": "40", "hour": "10", "year": "2017", "minute": "02", "tz_offset": "+0000", "month": "10", "epoch": "1507197768", "iso8601_micro": "2017-10-05T10:02:48.682760Z", "weekday": "jeudi", "time": "10:02:48", "date": "2017-10-05", "iso8601": "2017-10-05T10:02:48Z", "day": "05", "iso8601_basic": "20171005T100248682651", "second": "48"}, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_checksum_unneeded": "off [fixed]", "highdma": "on [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "udp_fragmentation_offload": "on", "scatter_gather": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "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_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_device_links": {"masters": {"sda2": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sda2": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part2", "lvm-pv-uuid-g374Sk-U2oH-fCby-sBYp-eMTf-5sef-1p74sV", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part2"], "sda3": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part3", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part3"], "sda": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7"], "sda1": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part1", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part1"], "dm-0": ["dm-name-VolGroup00-LogVol01", "dm-uuid-LVM-1dRdLEpWHGvDjPaa5rz0jJK20X50usMd3VUjahDohBH6UXd6iVCL0aZe26ZbBgjj"], "dm-1": ["dm-name-VolGroup00-LogVol00", "dm-uuid-LVM-1dRdLEpWHGvDjPaa5rz0jJK20X50usMd8LqTyT8RpIPOvkC2SsEDqMcJzbvFX4e2"]}, "uuids": {"sda1": ["16b2a818-d20b-4401-af67-42b64cb9031f"], "dm-0": ["e30f04a4-570e-4e05-a486-e3c84b918599"], "dm-1": ["b8e41524-ade0-4c16-aedb-ba4c9a333980"]}}, "ansible_default_ipv4": {"macaddress": "52:54:00:1c:c0:46", "network": "10.0.2.0", "mtu": 1500, "broadcast": "10.0.2.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "10.0.2.15", "interface": "eth0", "type": "ether", "gateway": "10.0.2.2"}, "ansible_swapfree_mb": 1535, "ansible_default_ipv6": {}, "ansible_distribution_release": "Final", "ansible_system_vendor": "innotek GmbH", "ansible_apparmor": {"status": "disabled"}, "ansible_cmdline": {"no_timer_check": true, "LANG": "en_US.UTF-8", "rd_NO_LUKS": true, "ro": true, "console": "ttyS0,115200n8", "KEYBOARDTYPE": "pc", "rd_NO_MD": true, "quiet": true, "net.ifnames": "0", "rd_LVM_LV": "VolGroup00/LogVol00", "rhgb": true, "KEYTABLE": "us", "biosdevname": "0", "SYSFONT": "latarcyrheb-sun16", "root": "/dev/mapper/VolGroup00-LogVol00", "rd_NO_DM": true}, "ansible_effective_user_id": 0, "ansible_mounts": [{"block_used": 728527, "uuid": "N/A", "size_total": 40291975168, "block_total": 9836908, "mount": "/", "block_available": 9108381, "size_available": 37307928576, "fstype": "ext4", "inode_total": 2506752, "options": "rw", "device": "/dev/mapper/VolGroup00-LogVol00", "inode_used": 33965, "block_size": 4096, "inode_available": 2472787}, {"block_used": 43678, "uuid": "N/A", "size_total": 249674752, "block_total": 243823, "mount": "/boot", "block_available": 200145, "size_available": 204948480, "fstype": "ext4", "inode_total": 64000, "options": "rw", "device": "/dev/sda1", "inode_used": 38, "block_size": 1024, "inode_available": 63962}], "ansible_selinux": false, "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "86548FAF-FCD5-41A4-875E-750C8614B6EE", "ansible_product_name": "VirtualBox", "ansible_pkg_mgr": "yum", "ansible_memfree_mb": 51, "ansible_devices": {"ram14": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram15": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram12": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram13": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram10": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram11": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram8": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram9": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram4": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram5": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram6": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram7": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram2": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "ram3": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "32768", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "16.00 MB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "3145728", "links": {"masters": [], "labels": [], "ids": ["dm-name-VolGroup00-LogVol01", "dm-uuid-LVM-1dRdLEpWHGvDjPaa5rz0jJK20X50usMd3VUjahDohBH6UXd6iVCL0aZe26ZbBgjj"], "uuids": ["e30f04a4-570e-4e05-a486-e3c84b918599"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "1.50 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "80216064", "links": {"masters": [], "labels": [], "ids": ["dm-name-VolGroup00-LogVol00", "dm-uuid-LVM-1dRdLEpWHGvDjPaa5rz0jJK20X50usMd8LqTyT8RpIPOvkC2SsEDqMcJzbvFX4e2"], "uuids": ["b8e41524-ade0-4c16-aedb-ba4c9a333980"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "38.25 GB"}, "sda": {"scheduler_mode": "deadline", "rotational": "1", "vendor": "ATA", "sectors": "83886080", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "VBOX HARDDISK", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part2", "lvm-pv-uuid-g374Sk-U2oH-fCby-sBYp-eMTf-5sef-1p74sV", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part2"], "uuids": []}, "sectors": "83369984", "start": "514048", "holders": ["VolGroup00-LogVol01", "VolGroup00-LogVol00"], "size": "39.75 GB"}, "sda3": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part3", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part3"], "uuids": []}, "sectors": "2048", "start": "83884032", "holders": [], "size": "1.00 MB"}, "sda1": {"sectorsize": 512, "uuid": "16b2a818-d20b-4401-af67-42b64cb9031f", "links": {"masters": [], "labels": [], "ids": ["ata-VBOX_HARDDISK_VBc50719f0-d1fd33e7-part1", "scsi-SATA_VBOX_HARDDISK_VBc50719f0-d1fd33e7-part1"], "uuids": ["16b2a818-d20b-4401-af67-42b64cb9031f"]}, "sectors": "512000", "start": "2048", "holders": [], "size": "250.00 MB"}}, "holders": [], "size": "40.00 GB"}, "loop3": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop2": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop7": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop6": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop5": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop4": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}}, "ansible_user_uid": 0, "ansible_lvm": {"pvs": {"/dev/sda2": {"free_g": "75", "size_g": "39", "vg": "VolGroup00"}}, "lvs": {"LogVol01": {"size_g": "1", "vg": "VolGroup00"}, "LogVol00": {"size_g": "38", "vg": "VolGroup00"}}, "vgs": {"VolGroup00": {"free_g": "0", "size_g": "75", "num_lvs": "2", "num_pvs": "1"}}}, "ansible_distribution": "CentOS", "ansible_user_dir": "/root", "ansible_env": {"USERNAME": "root", "LANG": "fr_FR.UTF-8", "TERM": "xterm-256color", "SHELL": "/bin/bash", "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-sldyvqksjvddlvurnsaublcqybqmmlmy; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/setup.py; rm -rf \\"/home/vagrant/.ansible/tmp/ansible-tmp-1507197765.7984858-145039936053832/\\" > /dev/null 2>&1", "SHLVL": "1", "SUDO_UID": "500", "SUDO_GID": "500", "PWD": "/home/vagrant", "LOGNAME": "root", "USER": "root", "PATH": "/sbin:/bin:/usr/sbin:/usr/bin", "MAIL": "/var/mail/vagrant", "SUDO_USER": "vagrant", "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:*.arj=38;5;9:*.taz=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lz=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.bz=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.rar=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=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:*.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": "/root", "_": "/usr/bin/python"}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMm3B+5XKa6hE7eTo7eG4IFyPMCTjroqdj0WksG2+8VW/8C+iVJXj67iIjvqj20qcKqgkeWEiZpV/+LQ7TkqARuX1e88a+SHWJYaK+vvVTGJ0OTtAFyAK6w9WhdZopyLP2bpvl7rbHxnp/v6fbhDzOxdcn4jidKTd2Ao09fNJtrPAAAAFQCDb/wrnxPcnc/5uhmtLifrAdFw6QAAAIB6ujO1dRwPnFtuSEHuwT7kVwi6fgiO06IPLmFyTp8L/rvXJts/FJjjWugXqXOkAOiettxza6BRxx7NtxnRB4JSN9kGVtUwA76bMIYNkWcZZz2gNfaheSE4X9u0dqdqKqgvQFwzLuOLU44ZHklkmnpsTxjB7BusyaGEob1yX4MyhAAAAIBSF+mRpSbubD9kBnY6cbnXU9EJ1EAd+aLMeb4Y9hAvs5NuwfFqSNcX0Vj7jgHjrPIAySvF+gyBCrzGJmZcPpfQuwX9uOgVhkhZiWShXc9/qThbtaWAaktdWc1G7p6k7MWOq3msCi26Yt+k+lfL+uMzwTRBLofnSt/uyEZ6as/8dA==", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "centos6", "ansible_effective_group_id": 0, "ansible_swaptotal_mb": 1535, "ansible_lsb": {}, "ansible_real_group_id": 0, "ansible_bios_date": "12/01/2006", "ansible_all_ipv6_addresses": ["fe80::5054:ff:fe1c:c046", "fe80::a00:27ff:fe24:7e9"], "ansible_eth0": {"macaddress": "52:54:00:1c:c0:46", "features": {"tx_checksum_ipv4": "off", "generic_receive_offload": "on", "tx_checksum_ipv6": "off", "tx_scatter_gather_fraglist": "off [fixed]", "tx_checksum_unneeded": "off", "highdma": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off", "tx_gso_robust": "off [fixed]", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "rx_vlan_offload": "on [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "on [fixed]", "tx_tcp6_segmentation": "off", "udp_fragmentation_offload": "off [fixed]", "scatter_gather": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:03.0", "module": "e1000", "mtu": 1500, "device": "eth0", "promisc": false, "timestamping": ["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::5054:ff:fe1c:c046"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_interfaces": ["lo", "eth1", "eth0"], "ansible_uptime_seconds": 1669, "ansible_machine_id": "92bce9aa70dadea4a7e005e300000012", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAABIwAAAQEA3VhwxJjtdD2Edy0gd2kONJAdF/ziIhwthdcponVx6yiLIsvh+QBGAESbqSHk8rI5NwYgoB9OSES9r5X1irVOPRGANsD1cQ5d2aRHZ/xsOTQel28Ps1QM9wuOcr2lUHOPSKIlUmLD2wlGSpnBYIjafjMg3bGXAgyemr7HjXn5jqfNggWTkuTTQ4r4RKLnn8RTPlmtP1T3EDdz+XmneAZPYZLNrqZr5TqFXl/yMFDNuglxYmiNLngWY7KCLqOI38nukuw/o/5BXfYd2JILHnL5PoLuqakz1vEkwedatWJwU533aQ+gO4Dxr1sE+HpjEJImNFtzTeTFyiNyTMccFEGc4Q==", "ansible_user_gecos": "root", "ansible_system_capabilities_enforced": "False", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 6, "major": 2, "releaselevel": "final", "serial": 0, "minor": 6}, "type": "CPython", "has_sslcontext": false, "version_info": [2, 6, 6, "final", 0]}, "ansible_processor_threads_per_core": 1, "ansible_fqdn": "centos6", "ansible_user_gid": 0, "ansible_memory_mb": {"real": {"total": 238, "used": 187, "free": 51}, "swap": {"cached": 0, "total": 1535, "free": 1535, "used": 0}, "nocache": {"used": 113, "free": 125}}, "ansible_eth1": {"macaddress": "08:00:27:24:07:e9", "features": {"tx_checksum_ipv4": "off", "generic_receive_offload": "on", "tx_checksum_ipv6": "off", "tx_scatter_gather_fraglist": "off [fixed]", "tx_checksum_unneeded": "off", "highdma": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off", "tx_gso_robust": "off [fixed]", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "rx_vlan_offload": "on [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "on [fixed]", "tx_tcp6_segmentation": "off", "udp_fragmentation_offload": "off [fixed]", "scatter_gather": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:00:08.0", "module": "e1000", "mtu": 1500, "device": "eth1", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "192.168.77.255", "netmask": "255.255.255.0", "network": "192.168.77.0", "address": "192.168.77.12"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::a00:27ff:fe24:7e9"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_system": "Linux", "ansible_machine": "x86_64", "ansible_distribution_major_version": "6", "ansible_nodename": "centos6", "ansible_kernel": "2.6.32-696.6.3.el6.x86_64", "ansible_python_version": "2.6.6"}}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
ok: [centos6]
META: ran handlers

TASK [Enable services] ************************************************************************************************************
task path: /home/fedora/svn/ansible/test.yml:3
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/setup.py
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/setup.py
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<centos7> (0, b'/home/vagrant\n', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127 `" && echo ansible-tmp-1507197768.8562818-163569574442127="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127 `" ) && sleep 0'"'"''
<centos6> (0, b'/home/vagrant\n', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883 `" && echo ansible-tmp-1507197768.8643336-37326809520883="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883 `" ) && sleep 0'"'"''
<centos7> (0, b'ansible-tmp-1507197768.8562818-163569574442127=/home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127\n', b'')
<centos7> PUT /tmp/tmpt0y9tod7 TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/setup.py
<centos7> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc '[centos7]'
<centos6> (0, b'ansible-tmp-1507197768.8643336-37326809520883=/home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883\n', b'')
<centos6> PUT /tmp/tmpsxkk3b1j TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/setup.py
<centos6> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 '[centos6]'
<centos6> (0, b'sftp> put /tmp/tmpsxkk3b1j /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/setup.py\n', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/setup.py && sleep 0'"'"''
<centos7> (0, b'sftp> put /tmp/tmpt0y9tod7 /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/setup.py\n', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/setup.py && sleep 0'"'"''
<centos6> (0, b'', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 -tt centos6 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-cnwsmwudrmljhvkmbjtjyehzlpnopmwh; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/setup.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8643336-37326809520883/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos7> (0, b'', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc -tt centos7 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-rdzgqbmmuvsydzdxltrkcicxuikltmzl; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/setup.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197768.8562818-163569574442127/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos7> (0, b'\r\n{"invocation": {"module_args": {"filter": "ansible_service_mgr", "gather_subset": ["!all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_service_mgr": "systemd"}}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
<centos6> (0, b'\r\n{"invocation": {"module_args": {"filter": "ansible_service_mgr", "gather_subset": ["!all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_service_mgr": "service"}}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/systemd.py
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
Using module file /home/fedora/bin/ansible/lib/python3.6/site-packages/ansible/modules/system/service.py
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<centos7> (0, b'/home/vagrant\n', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091 `" && echo ansible-tmp-1507197769.640731-143195991013091="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091 `" ) && sleep 0'"'"''
<centos6> (0, b'/home/vagrant\n', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991 `" && echo ansible-tmp-1507197769.68174-258113466821991="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991 `" ) && sleep 0'"'"''
<centos7> (0, b'ansible-tmp-1507197769.640731-143195991013091=/home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091\n', b'')
<centos7> PUT /tmp/tmpgy212jvp TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/systemd.py
<centos7> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc '[centos7]'
<centos6> (0, b'ansible-tmp-1507197769.68174-258113466821991=/home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991\n', b'')
<centos6> PUT /tmp/tmp2sllmgwc TO /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/service.py
<centos6> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 '[centos6]'
<centos7> (0, b'sftp> put /tmp/tmpgy212jvp /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/systemd.py\n', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc centos7 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/systemd.py && sleep 0'"'"''
<centos6> (0, b'sftp> put /tmp/tmp2sllmgwc /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/service.py\n', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 centos6 '/bin/sh -c '"'"'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/ /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/service.py && sleep 0'"'"''
<centos7> (0, b'', b'')
<centos7> ESTABLISH SSH CONNECTION FOR USER: None
<centos7> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2221 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/a6064a8fdc -tt centos7 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-qvvwuypfjjjympqybearkremmyqwflrz; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/systemd.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197769.640731-143195991013091/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos6> (0, b'', b'')
<centos6> ESTABLISH SSH CONNECTION FOR USER: None
<centos6> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2222 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/fedora/.ansible/cp/d9c2cdf894 -tt centos6 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-qfcngpyvskleljuiyysmqxzskpamrobp; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/service.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1507197769.68174-258113466821991/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<centos7> (0, b'\r\n{"status": {"ExecStart": "{ path=/usr/sbin/crond ; argv[]=/usr/sbin/crond -n $CRONDARGS ; ignore_errors=no ; start_time=[jeu. 2017-10-05 09:34:51 UTC] ; stop_time=[n/a] ; pid=595 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "ControlGroup": "/system.slice/crond.service", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "enabled", "ExecMainPID": "595", "LimitSIGPENDING": "877", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "7317858", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "7317886", "AllowIsolate": "no", "AssertTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/crond (ignore_errors=no)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "InactiveExitTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "WatchdogTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "multi-user.target shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "7317886", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "simple", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "877", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "CapabilityBoundingSet": "18446744073709551615", "TTYReset": "no", "OOMScoreAdjust": "0", "StartLimitBurst": "5", "RefuseManualStart": "no", "KillMode": "process", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "SecureBits": "0", "LimitCORE": "18446744073709551615", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "running", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestampMonotonic": "7312327", "MainPID": "595", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "FragmentPath": "/usr/lib/systemd/system/crond.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "active", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "enabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "WantedBy": "multi-user.target", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "ConditionTimestamp": "jeu. 2017-10-05 09:34:51 UTC", "CPUAccounting": "no", "RemainAfterExit": "no", "PrivateNetwork": "no", "Restart": "no", "CPUSchedulingPolicy": "0", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "RefuseManualStop": "no", "SystemCallErrorNumber": "0", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "7312327", "DefaultDependencies": "yes", "Requires": "basic.target", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "7317811", "StandardError": "inherit", "Wants": "system.slice", "After": "time-sync.target systemd-user-sessions.service basic.target auditd.service systemd-journald.socket system.slice", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "Transient": "no", "IOScheduling": "0", "Description": "Command Scheduler", "ActiveExitTimestampMonotonic": "0", "CanReload": "yes", "ControlPID": "0", "LimitNICE": "0", "BlockIOWeight": "18446744073709551615", "Names": "crond.service", "ProtectSystem": "no", "PrivateDevices": "no", "Id": "crond.service"}, "invocation": {"module_args": {"no_block": false, "name": "crond", "enabled": true, "daemon_reload": false, "state": null, "user": false, "masked": null}}, "changed": false, "enabled": true, "name": "crond"}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
ok: [centos7] => {
    "changed": false,
    "enabled": true,
    "failed": false,
    "invocation": {
        "module_args": {
            "daemon_reload": false,
            "enabled": true,
            "masked": null,
            "name": "crond",
            "no_block": false,
            "state": null,
            "user": false
        }
    },
    "name": "crond",
    "status": {
        "ActiveEnterTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "ActiveEnterTimestampMonotonic": "7317886",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "time-sync.target systemd-user-sessions.service basic.target auditd.service systemd-journald.socket system.slice",
        "AllowIsolate": "no",
        "AmbientCapabilities": "0",
        "AssertResult": "yes",
        "AssertTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "AssertTimestampMonotonic": "7312327",
        "Before": "multi-user.target shutdown.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "18446744073709551615",
        "CPUAccounting": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "18446744073709551615",
        "CanIsolate": "no",
        "CanReload": "yes",
        "CanStart": "yes",
        "CanStop": "yes",
        "CapabilityBoundingSet": "18446744073709551615",
        "ConditionResult": "yes",
        "ConditionTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "ConditionTimestampMonotonic": "7312327",
        "Conflicts": "shutdown.target",
        "ControlGroup": "/system.slice/crond.service",
        "ControlPID": "0",
        "DefaultDependencies": "yes",
        "Delegate": "no",
        "Description": "Command Scheduler",
        "DevicePolicy": "auto",
        "EnvironmentFile": "/etc/sysconfig/crond (ignore_errors=no)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "595",
        "ExecMainStartTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "ExecMainStartTimestampMonotonic": "7317811",
        "ExecMainStatus": "0",
        "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecStart": "{ path=/usr/sbin/crond ; argv[]=/usr/sbin/crond -n $CRONDARGS ; ignore_errors=no ; start_time=[jeu. 2017-10-05 09:34:51 UTC] ; stop_time=[n/a] ; pid=595 ; code=(null) ; status=0/0 }",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FragmentPath": "/usr/lib/systemd/system/crond.service",
        "GuessMainPID": "yes",
        "IOScheduling": "0",
        "Id": "crond.service",
        "IgnoreOnIsolate": "no",
        "IgnoreOnSnapshot": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "InactiveExitTimestampMonotonic": "7317886",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "0",
        "KillMode": "process",
        "KillSignal": "15",
        "LimitAS": "18446744073709551615",
        "LimitCORE": "18446744073709551615",
        "LimitCPU": "18446744073709551615",
        "LimitDATA": "18446744073709551615",
        "LimitFSIZE": "18446744073709551615",
        "LimitLOCKS": "18446744073709551615",
        "LimitMEMLOCK": "65536",
        "LimitMSGQUEUE": "819200",
        "LimitNICE": "0",
        "LimitNOFILE": "4096",
        "LimitNPROC": "877",
        "LimitRSS": "18446744073709551615",
        "LimitRTPRIO": "0",
        "LimitRTTIME": "18446744073709551615",
        "LimitSIGPENDING": "877",
        "LimitSTACK": "18446744073709551615",
        "LoadState": "loaded",
        "MainPID": "595",
        "MemoryAccounting": "no",
        "MemoryCurrent": "18446744073709551615",
        "MemoryLimit": "18446744073709551615",
        "MountFlags": "0",
        "Names": "crond.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "PermissionsStartOnly": "no",
        "PrivateDevices": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "ProtectHome": "no",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "RemainAfterExit": "no",
        "Requires": "basic.target",
        "Restart": "no",
        "RestartUSec": "100ms",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RuntimeDirectoryMode": "0755",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "Slice": "system.slice",
        "StandardError": "inherit",
        "StandardInput": "null",
        "StandardOutput": "journal",
        "StartLimitAction": "none",
        "StartLimitBurst": "5",
        "StartLimitInterval": "10000000",
        "StartupBlockIOWeight": "18446744073709551615",
        "StartupCPUShares": "18446744073709551615",
        "StatusErrno": "0",
        "StopWhenUnneeded": "no",
        "SubState": "running",
        "SyslogLevelPrefix": "yes",
        "SyslogPriority": "30",
        "SystemCallErrorNumber": "0",
        "TTYReset": "no",
        "TTYVHangup": "no",
        "TTYVTDisallocate": "no",
        "TasksAccounting": "no",
        "TasksCurrent": "18446744073709551615",
        "TasksMax": "18446744073709551615",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "simple",
        "UMask": "0022",
        "UnitFilePreset": "enabled",
        "UnitFileState": "enabled",
        "WantedBy": "multi-user.target",
        "Wants": "system.slice",
        "WatchdogTimestamp": "jeu. 2017-10-05 09:34:51 UTC",
        "WatchdogTimestampMonotonic": "7317858",
        "WatchdogUSec": "0"
    }
}
<centos6> (0, b'\r\n{"invocation": {"module_args": {"name": "crond", "pattern": null, "enabled": true, "state": null, "sleep": null, "arguments": "", "runlevel": "default"}}, "changed": true, "enabled": true, "name": "crond"}\r\n', b'Shared connection to 127.0.0.1 closed.\r\n')
changed: [centos6] => {
    "changed": true,
    "enabled": true,
    "failed": false,
    "invocation": {
        "module_args": {
            "arguments": "",
            "enabled": true,
            "name": "crond",
            "pattern": null,
            "runlevel": "default",
            "sleep": null,
            "state": null
        }
    },
    "name": "crond"
}
META: ran handlers
META: ran handlers

PLAY RECAP ************************************************************************************************************************
centos6                    : ok=2    changed=1    unreachable=0    failed=0   
centos7                    : ok=2    changed=0    unreachable=0    failed=0   
soul9 commented 7 years ago

I have a similar issue with the systemd module on centos7:

the rpcbind.service task is in state changed every time I run ansible even though rpcbind.socket is disabled:

- name: disable and stop the rpcbind service
  systemd:
    name: rpcbind.service
    state: stopped
    enabled: no
- name: disable rpcbind socket
  systemd:
    name: rpcbind.socket
    state: stopped
    enabled: no

(I am guessing) This is probably because of the "indirect" state of rpcbind.service:

[root@REDACTED ~]# systemctl status rpcbind.service                                                                                                                                                            
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled)
   Active: inactive (dead)
[root@REDACTED ~]# systemctl status rpcbind.socket
● rpcbind.socket - RPCbind Server Activation Socket
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.socket; disabled; vendor preset: enabled)
   Active: inactive (dead)
   Listen: /var/run/rpcbind.sock (Stream)
           [::]:111 (Stream)
           0.0.0.0:111 (Stream)
giovannisciortino commented 7 years ago

I tried unsuccessful to reproduce the issued describe by roumano using RHEL6/7 as managed hosts and ansible:

$ ./bin/ansible --version
ansible 2.5.0 (devel 3277e6328b) last updated 2017/09/11 20:13:12 (GMT +200)
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/gsciorti/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/gsciorti/PycharmProjects/ansible/lib/ansible
  executable location = ./bin/ansible
  python version = 2.7.13 (default, May 10 2017, 20:04:28) [GCC 6.3.1 20161221 (Red Hat 6.3.1-1)]

@soul9 I have reproduced the problem described in your comment using the ansible version describe about but it maybe unrelated to the issue opened bt roumano, I think that open a separated issue will be a better solution to manage it.

sparunakian commented 6 years ago

I encounter the same issue when managing a CentOS 6 using Ansible 2.4.1.0 with the service module with "enabled=yes". I encounter this issue when running Ansible from CentOS 7.4.1708 and Fedora 27, but not ArchLinux.

CentOS 7.4.1708:

ansible 2.4.1.0
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]

No configuration override

Fedora 27:

ansible 2.4.1.0
  config file = /home/user/.ansible/ansible-default.cfg
  configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.14 (default, Nov  3 2017, 10:55:25) [GCC 7.2.1 20170915 (Red Hat 7.2.1-2)]
ANSIBLE_SSH_CONTROL_PATH(/home/user/.ansible/ansible-default.cfg) = %(directory)s/%%h-%%r
CACHE_PLUGIN(/home/user/.ansible/ansible-default.cfg) = jsonfile
CACHE_PLUGIN_CONNECTION(/home/user/.ansible/ansible-default.cfg) = ~/.cache/ansible/
CACHE_PLUGIN_TIMEOUT(/home/user/.ansible/ansible-default.cfg) = 82800
DEFAULT_CALLBACK_PLUGIN_PATH(/home/user/.ansible/ansible-default.cfg) = [u'/home/user/.ansible/hooks/callback', u'/usr/share/ansible_plugins/callback_plugins']
DEFAULT_FORKS(/home/user/.ansible/ansible-default.cfg) = 20
DEFAULT_GATHERING(/home/user/.ansible/ansible-default.cfg) = smart
DEFAULT_HOST_LIST(/home/user/.ansible/ansible-default.cfg) = [u'/home/user/ansible/inventory']
DEFAULT_MANAGED_STR(/home/user/.ansible/ansible-default.cfg) = Ansible managed
DEFAULT_ROLES_PATH(/home/user/.ansible/ansible-default.cfg) = [u'/home/user/ansible/roles']
DEFAULT_SQUASH_ACTIONS(/home/user/.ansible/ansible-default.cfg) = ['apk', 'apt', 'dnf', 'homebrew', 'pacman', 'pkgng', 'yum', 'zypper']
DEFAULT_VAULT_PASSWORD_FILE(/home/user/.ansible/ansible-default.cfg) = /home/user/ansible/scripts/get_vault_password.sh
RETRY_FILES_ENABLED(/home/user/.ansible/ansible-default.cfg) = False

ArchLinux:

ansible 2.4.1.0
  config file = /home/user/.ansible.cfg
  configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/molecule2/lib/python2.7/site-packages/ansible
  executable location = /opt/molecule2/bin/ansible
  python version = 2.7.14 (default, Sep 20 2017, 01:25:59) [GCC 7.2.0]
ANSIBLE_PIPELINING(/home/user/.ansible.cfg) = True
ANSIBLE_SSH_CONTROL_PATH(/home/user/.ansible.cfg) = %(directory)s/%%h-%%r
CACHE_PLUGIN(/home/user/.ansible.cfg) = jsonfile
CACHE_PLUGIN_CONNECTION(/home/user/.ansible.cfg) = ~/.cache/ansible/
CACHE_PLUGIN_TIMEOUT(/home/user/.ansible.cfg) = 39600
DEFAULT_GATHERING(/home/user/.ansible.cfg) = smart
DEFAULT_HOST_LIST(/home/user/.ansible.cfg) = [u'/home/user/ansible/inventory']
DEFAULT_LOG_PATH(/home/user/.ansible.cfg) = /tmp/ansible.log
DEFAULT_ROLES_PATH(/home/user/.ansible.cfg) = [u'/home/user/ansible/roles']
DEFAULT_SQUASH_ACTIONS(/home/user/.ansible.cfg) = ['apk', 'apt', 'dnf', 'homebrew', 'pacman', 'pkgng', 'yum', 'zypper']
DEFAULT_VAULT_PASSWORD_FILE(/home/user/.ansible.cfg) = /home/user/ansible/scripts/get_vault_password.sh
RETRY_FILES_ENABLED(/home/user/.ansible.cfg) = False

I can't find an explanation for this issue appearing on CentOS and Fedora, but not on ArchLinux.

maunzCache commented 6 years ago

I can confirm the issue still exists in Ansible 2.6.2

Got a test setup with an amazonlinux docker container running with kitchen-ansible.

Edit: I just noticed that it could also be my init.d script which fails

yajo commented 6 years ago

Just in case you want to reproduce it "idempotently" :laughing: :

docker container exec -it $(docker container run -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro --tmpfs /tmp --tmpfs /run --tmpfs /run/lock tecnativa/ansible-test-playground:ubuntu-18.04) sh -c 'apt update && apt install python3-pip && pip3 install ansible==2.6.4 && chmod +x /usr/local/bin/ansible* && ansible localhost -m service -a "name=systemd-journald state=stopped enabled=false" -e ansible_connection=local && ansible localhost -m service -a "name=systemd-journald state=stopped enabled=false" -e ansible_connection=local'

:point_up: There you're running a systemd-enabled ubuntu 18.04 container and disabling the systemd-journald service twice. The 2nd time it is expected to return ok, but it returns changed.

Remember to stop the container when you finish.

maxamillion commented 6 years ago

@Yajo I don't think that's the same issue as this because this issue is originally reported against CentOS6 which doesn't have systemd. However if you're seeing that it might very well be a different problem.

maxamillion commented 6 years ago

@roumano I'm unable to reproduce this issue, are you still experiencing it?

needs_info

yajo commented 6 years ago

But I'm using the same module, isn't it?

Well, in any case, do you think I'm better opening a new issue?

maxamillion commented 6 years ago

@Yajo yes please, I think these issues are disjoint but both valid issues. Thank you.

yajo commented 6 years ago

There you have: https://github.com/ansible/ansible/issues/46247

ansibot commented 6 years ago

@roumano This issue is waiting for your response. Please respond or the issue will be closed.

click here for bot help

roumano commented 6 years ago

With a recent version of ansible, i can't reproduce it anymore ( 2.7.1 ) With the default version in debian stretch , i can still reproduce the issue ( 2.2.1.0 )

sivel commented 6 years ago

Ansible 2.2 is no longer supported. Since this works as expected in a recent version of Ansible, I am going to close this out.

If you have further questions please stop by IRC or the mailing list: