+ cd /tmp/tmpzi2zlgjw/tests; TEST_SUBJECTS=/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_postfix-7-25c2d2d-fedora-30-y12sxzlc/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpzi2zlgjw/_setup.yml /tmp/tmpzi2zlgjw/tests/tests_default.yml ansible-playbook 2.8.0 config file = /home/till/.ansible.cfg configured module search path = ['/home/till/.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.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] Using /home/till/.ansible.cfg as config file PLAYBOOK: _setup.yml *************************************************************************************************************************************************************************************** 1 plays in /tmp/tmpzi2zlgjw/_setup.yml PLAY [Fail when only localhost is available] *************************************************************************************************************************************************************** META: ran handlers TASK [debug] *********************************************************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/_setup.yml:5 ok: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => { "groups": { "all": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "localhost": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "subjects": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ************************************************************************************************************************************************************************************************ task path: /tmp/tmpzi2zlgjw/_setup.yml:7 skipping: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ************************************************************************************************************************************************************************************************* /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml ******************************************************************************************************************************************************************************** 1 plays in /tmp/tmpzi2zlgjw/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *************************************************************************************************************************************************** TASK [Gathering Facts] ************************************************************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tests/tests_default.yml:2 ok: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"ansible_facts": {"ansible_all_ipv4_addresses": ["10.0.2.15"], "ansible_all_ipv6_addresses": ["fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456"], "ansible_apparmor": {"status": "disabled"}, "ansible_architecture": "x86_64", "ansible_bios_date": "04/01/2014", "ansible_bios_version": "1.12.0-2.fc30", "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.0.9-301.fc30.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=ea711a29-e460-4879-9d70-9da99ae021f9"}, "ansible_date_time": {"date": "2019-05-26", "day": "26", "epoch": "1558854780", "hour": "07", "iso8601": "2019-05-26T07:13:00Z", "iso8601_basic": "20190526T071300218863", "iso8601_basic_short": "20190526T071300", "iso8601_micro": "2019-05-26T07:13:00.218924Z", "minute": "13", "month": "05", "second": "00", "time": "07:13:00", "tz": "UTC", "tz_offset": "+0000", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "20", "year": "2019"}, "ansible_default_ipv4": {"address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether"}, "ansible_default_ipv6": {"address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether"}, "ansible_device_links": {"ids": {"sr0": ["ata-QEMU_DVD-ROM_QM00003"]}, "labels": {"sr0": ["cidata"]}, "masters": {}, "uuids": {"sr0": ["2019-05-26-09-12-44-00"], "vda1": ["ea711a29-e460-4879-9d70-9da99ae021f9"]}}, "ansible_devices": {"sr0": {"holders": [], "host": "", "links": {"ids": ["ata-QEMU_DVD-ROM_QM00003"], "labels": ["cidata"], "masters": [], "uuids": ["2019-05-26-09-12-44-00"]}, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1}, "vda": {"holders": [], "host": "", "links": {"ids": [], "labels": [], "masters": [], "uuids": []}, "model": null, "partitions": {"vda1": {"holders": [], "links": {"ids": [], "labels": [], "masters": [], "uuids": ["ea711a29-e460-4879-9d70-9da99ae021f9"]}, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "ea711a29-e460-4879-9d70-9da99ae021f9"}}, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "0", "vendor": "0x1af4", "virtual": 1}}, "ansible_distribution": "Fedora", "ansible_distribution_file_parsed": true, "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_major_version": "30", "ansible_distribution_release": "", "ansible_distribution_version": "30", "ansible_dns": {"nameservers": ["10.0.2.3"]}, "ansible_domain": "", "ansible_effective_group_id": 0, "ansible_effective_user_id": 0, "ansible_env": {"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "rs=0:di=38;5;33:ln=38;5;51:mh=00: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=01;05;37;41: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;40:*.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:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=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:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=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:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=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:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "MAIL": "/var/mail/root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 46454 22", "SSH_CONNECTION": "10.0.2.2 46454 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "TERM": "xterm-256color", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3"}, "ansible_eth0": {"active": true, "device": "eth0", "ipv4": {"address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0"}, "ipv6": [{"address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site"}, {"address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link"}], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether"}, "ansible_fibre_channel_wwn": [], "ansible_fips": false, "ansible_form_factor": "Other", "ansible_fqdn": "ibm-p8-kvm-03-guest-02", "ansible_hostname": "ibm-p8-kvm-03-guest-02", "ansible_hostnqn": "", "ansible_interfaces": ["eth0", "lo"], "ansible_is_chroot": false, "ansible_iscsi_iqn": "", "ansible_kernel": "5.0.9-301.fc30.x86_64", "ansible_lo": {"active": true, "device": "lo", "ipv4": {"address": "127.0.0.1", "broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "mtu": 65536, "promisc": false, "type": "loopback"}, "ansible_local": {}, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_machine_id": "963ec4b1505e4da0b0a6fa6bb0e5da7e", "ansible_memfree_mb": 649, "ansible_memory_mb": {"nocache": {"free": 842, "used": 140}, "real": {"free": 649, "total": 982, "used": 333}, "swap": {"cached": 0, "free": 0, "total": 0, "used": 0}}, "ansible_memtotal_mb": 982, "ansible_mounts": [{"block_available": 731959, "block_size": 4096, "block_total": 1015472, "block_used": 283513, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 233659, "inode_total": 262144, "inode_used": 28485, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 2998104064, "size_total": 4159373312, "uuid": "ea711a29-e460-4879-9d70-9da99ae021f9"}], "ansible_nodename": "ibm-p8-kvm-03-guest-02", "ansible_os_family": "RedHat", "ansible_pkg_mgr": "dnf", "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.0.9-301.fc30.x86_64", "console": ["tty1", "ttyS0,115200n8"], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=ea711a29-e460-4879-9d70-9da99ae021f9"}, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz", "1", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz", "2", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz"], "ansible_processor_cores": 1, "ansible_processor_count": 3, "ansible_processor_threads_per_core": 1, "ansible_processor_vcpus": 3, "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", "ansible_product_serial": "NA", "ansible_product_uuid": "NA", "ansible_product_version": "pc-i440fx-3.1", "ansible_python": {"executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": {"major": 3, "micro": 3, "minor": 7, "releaselevel": "final", "serial": 0}, "version_info": [3, 7, 3, "final", 0]}, "ansible_python_version": "3.7.3", "ansible_real_group_id": 0, "ansible_real_user_id": 0, "ansible_selinux": {"config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted"}, "ansible_selinux_python_present": true, "ansible_service_mgr": "systemd", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFHg5rU0pGn0BiRKM1D+ciVcrI96tXmfaH3vQs2sXh/4GSepYy07SyeghDnnZCuwzMw0gwSxBVZf7r4o6LZQ53M=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEAGtv+DXIG0AFkHn7MlCGQ4vI6YwWBqojAHYSMaJhYX", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCiQQF3JRB/SbS4xdPz5XlxnvhkSctMF1tTjPH863WhrrwYVasVz0NQ7XKR7hijxyyy59oaSKAZspWhg/4Vc29/39OAhGqZYn1ObhTt0ypT+kcpO533f1nQ/DFPYNCNWnC/4EbjWgNMjtFkdEB1EKGO7vjfESBClRutEQSRd4Q3lqH3z762asjR7jLD17Xo+Gf1IwtOB94FS9/a54lJKJq7mACwPSB5Lam8fAAYFWXTHku6hF3Ghm4TTP5y9gqCJKyO3AXm0Npsq8SkG7cFbIK0eTD1QvmD66trNP3Rf8gFb8SeQccbYcUjwrUj3fLvssYiF7LSPb8mra1TroXdBhbn", "ansible_swapfree_mb": 0, "ansible_swaptotal_mb": 0, "ansible_system": "Linux", "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", "cap_wake_alarm", "cap_block_suspend", "cap_audit_read+ep"], "ansible_system_capabilities_enforced": "True", "ansible_system_vendor": "QEMU", "ansible_uptime_seconds": 12, "ansible_user_dir": "/root", "ansible_user_gecos": "root", "ansible_user_gid": 0, "ansible_user_id": "root", "ansible_user_shell": "/bin/bash", "ansible_user_uid": 0, "ansible_userspace_architecture": "x86_64", "ansible_userspace_bits": "64", "ansible_virtualization_role": "guest", "ansible_virtualization_type": "kvm", "gather_subset": ["all"], "module_setup": true}, "changed": false} META: ran handlers TASK [linux-system-roles.postfix : Install Postfix] ******************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:2 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: postfix", "Installed: postfix-2:3.4.4-3.fc30.x86_64"]} TASK [linux-system-roles.postfix : Enable Postfix] ********************************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:5 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "enabled": true, "name": "postfix", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-tmpfiles-setup.service -.mount systemd-journald.socket basic.target system.slice syslog.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "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_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "sendmail.service shutdown.target exim.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FailureActionExitStatus": "-1", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "3814", "LimitNPROCSoft": "3814", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "3814", "LimitSIGPENDINGSoft": "3814", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/spool/postfix/pid/master.pid", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/tmp /var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SuccessActionExitStatus": "-1", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "1144", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.postfix : Backup configuration] *************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:8 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "cmd": "cp /etc/postfix/main.cf /etc/postfix/main.cf.`date -Iseconds`", "delta": "0:00:00.007154", "end": "2019-05-26 07:13:45.454275", "rc": 0, "start": "2019-05-26 07:13:45.447121", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.postfix : Add header 1 to configuration file] ************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:12 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"backup": "", "changed": true, "msg": "line added"} TASK [linux-system-roles.postfix : Add header 2 to configuration file] ************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:20 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"backup": "", "changed": true, "msg": "line added"} TASK [linux-system-roles.postfix : Configure Postfix] ****************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:28 META: ran handlers META: ran handlers PLAY RECAP ************************************************************************************************************************************************************************************************* /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 : ok=7 changed=5 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + cd /tmp/tmpzi2zlgjw/tests; TEST_SUBJECTS=/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_postfix-7-25c2d2d-fedora-30-y12sxzlc/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpzi2zlgjw/_setup.yml /tmp/tmpzi2zlgjw/tests/tests_set_banner.yml ansible-playbook 2.8.0 config file = /home/till/.ansible.cfg configured module search path = ['/home/till/.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.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] Using /home/till/.ansible.cfg as config file PLAYBOOK: _setup.yml *************************************************************************************************************************************************************************************** 1 plays in /tmp/tmpzi2zlgjw/_setup.yml PLAY [Fail when only localhost is available] *************************************************************************************************************************************************************** META: ran handlers TASK [debug] *********************************************************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/_setup.yml:5 ok: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => { "groups": { "all": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "localhost": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "subjects": [ "/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ************************************************************************************************************************************************************************************************ task path: /tmp/tmpzi2zlgjw/_setup.yml:7 skipping: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ************************************************************************************************************************************************************************************************* /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_set_banner.yml ***************************************************************************************************************************************************************************** 1 plays in /tmp/tmpzi2zlgjw/tests/tests_set_banner.yml PLAY [Set smtpd banner] ************************************************************************************************************************************************************************************ TASK [Gathering Facts] ************************************************************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tests/tests_set_banner.yml:2 ok: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"ansible_facts": {"ansible_all_ipv4_addresses": ["10.0.2.15"], "ansible_all_ipv6_addresses": ["fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456"], "ansible_apparmor": {"status": "disabled"}, "ansible_architecture": "x86_64", "ansible_bios_date": "04/01/2014", "ansible_bios_version": "1.12.0-2.fc30", "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.0.9-301.fc30.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=ea711a29-e460-4879-9d70-9da99ae021f9"}, "ansible_date_time": {"date": "2019-05-26", "day": "26", "epoch": "1558854842", "hour": "07", "iso8601": "2019-05-26T07:14:02Z", "iso8601_basic": "20190526T071402802756", "iso8601_basic_short": "20190526T071402", "iso8601_micro": "2019-05-26T07:14:02.802894Z", "minute": "14", "month": "05", "second": "02", "time": "07:14:02", "tz": "UTC", "tz_offset": "+0000", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "20", "year": "2019"}, "ansible_default_ipv4": {"address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether"}, "ansible_default_ipv6": {"address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether"}, "ansible_device_links": {"ids": {"sr0": ["ata-QEMU_DVD-ROM_QM00003"]}, "labels": {"sr0": ["cidata"]}, "masters": {}, "uuids": {"sr0": ["2019-05-26-09-13-47-00"], "vda1": ["ea711a29-e460-4879-9d70-9da99ae021f9"]}}, "ansible_devices": {"sr0": {"holders": [], "host": "", "links": {"ids": ["ata-QEMU_DVD-ROM_QM00003"], "labels": ["cidata"], "masters": [], "uuids": ["2019-05-26-09-13-47-00"]}, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1}, "vda": {"holders": [], "host": "", "links": {"ids": [], "labels": [], "masters": [], "uuids": []}, "model": null, "partitions": {"vda1": {"holders": [], "links": {"ids": [], "labels": [], "masters": [], "uuids": ["ea711a29-e460-4879-9d70-9da99ae021f9"]}, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "ea711a29-e460-4879-9d70-9da99ae021f9"}}, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "0", "vendor": "0x1af4", "virtual": 1}}, "ansible_distribution": "Fedora", "ansible_distribution_file_parsed": true, "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_major_version": "30", "ansible_distribution_release": "", "ansible_distribution_version": "30", "ansible_dns": {"nameservers": ["10.0.2.3"]}, "ansible_domain": "", "ansible_effective_group_id": 0, "ansible_effective_user_id": 0, "ansible_env": {"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "rs=0:di=38;5;33:ln=38;5;51:mh=00: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=01;05;37;41: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;40:*.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:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=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:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=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:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=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:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "MAIL": "/var/mail/root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 55944 22", "SSH_CONNECTION": "10.0.2.2 55944 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "TERM": "xterm-256color", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3"}, "ansible_eth0": {"active": true, "device": "eth0", "ipv4": {"address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0"}, "ipv6": [{"address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site"}, {"address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link"}], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether"}, "ansible_fibre_channel_wwn": [], "ansible_fips": false, "ansible_form_factor": "Other", "ansible_fqdn": "ibm-p8-kvm-03-guest-02", "ansible_hostname": "ibm-p8-kvm-03-guest-02", "ansible_hostnqn": "", "ansible_interfaces": ["lo", "eth0"], "ansible_is_chroot": false, "ansible_iscsi_iqn": "", "ansible_kernel": "5.0.9-301.fc30.x86_64", "ansible_lo": {"active": true, "device": "lo", "ipv4": {"address": "127.0.0.1", "broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "mtu": 65536, "promisc": false, "type": "loopback"}, "ansible_local": {}, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_machine_id": "3bce0239c1bf4461a4304cba8d47a0d6", "ansible_memfree_mb": 650, "ansible_memory_mb": {"nocache": {"free": 843, "used": 139}, "real": {"free": 650, "total": 982, "used": 332}, "swap": {"cached": 0, "free": 0, "total": 0, "used": 0}}, "ansible_memtotal_mb": 982, "ansible_mounts": [{"block_available": 731960, "block_size": 4096, "block_total": 1015472, "block_used": 283512, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 233659, "inode_total": 262144, "inode_used": 28485, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 2998108160, "size_total": 4159373312, "uuid": "ea711a29-e460-4879-9d70-9da99ae021f9"}], "ansible_nodename": "ibm-p8-kvm-03-guest-02", "ansible_os_family": "RedHat", "ansible_pkg_mgr": "dnf", "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.0.9-301.fc30.x86_64", "console": ["tty1", "ttyS0,115200n8"], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=ea711a29-e460-4879-9d70-9da99ae021f9"}, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz", "1", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz", "2", "GenuineIntel", "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz"], "ansible_processor_cores": 1, "ansible_processor_count": 3, "ansible_processor_threads_per_core": 1, "ansible_processor_vcpus": 3, "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", "ansible_product_serial": "NA", "ansible_product_uuid": "NA", "ansible_product_version": "pc-i440fx-3.1", "ansible_python": {"executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": {"major": 3, "micro": 3, "minor": 7, "releaselevel": "final", "serial": 0}, "version_info": [3, 7, 3, "final", 0]}, "ansible_python_version": "3.7.3", "ansible_real_group_id": 0, "ansible_real_user_id": 0, "ansible_selinux": {"config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted"}, "ansible_selinux_python_present": true, "ansible_service_mgr": "systemd", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBId41ulyQlfPTKn3DQDX+OexmA4Mzp9uXV1acpeORwvjdDoqWUgnoFHytS5TX7t0VUI2YYD1Y1DuHqg5rstYMII=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICx3cZakapgPQM+WkqDwuGQgS4SDquQvnfpKPAXeyPcm", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDQ0xZKkS/T8++ldXhfUcwQJ8FwsqTGFJHemP6Xsxa4FdM3SYLlggnK/RM5id5HgQj8rOMLYfIH0BEDwKn5lWNmFD5LrevrFIxjzWKE6mxPTilyB5/xPqkmG18C87BWSDHAq0f/mPwz7quR+1envOgnL0AlkETyVs69iKQlqaVPfm+rVqOdY6NBp0BKdMFLnR4v+/8+aJTbUFB6shVeX70nVu44wxELXhhN5hCb5/sZPBZcSybpfERpRx+WSGX4sR2JLCXQjsTFDpwHjrmnwvcyLx61j5hQiIVe59s2JYiQQI37cTcJ+x65OT0aeVZGiXUXdF/y0s2ZWBZfZXDnZr3X", "ansible_swapfree_mb": 0, "ansible_swaptotal_mb": 0, "ansible_system": "Linux", "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", "cap_wake_alarm", "cap_block_suspend", "cap_audit_read+ep"], "ansible_system_capabilities_enforced": "True", "ansible_system_vendor": "QEMU", "ansible_uptime_seconds": 12, "ansible_user_dir": "/root", "ansible_user_gecos": "root", "ansible_user_gid": 0, "ansible_user_id": "root", "ansible_user_shell": "/bin/bash", "ansible_user_uid": 0, "ansible_userspace_architecture": "x86_64", "ansible_userspace_bits": "64", "ansible_virtualization_role": "guest", "ansible_virtualization_type": "kvm", "gather_subset": ["all"], "module_setup": true}, "changed": false} META: ran handlers TASK [linux-system-roles.postfix : Install Postfix] ******************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:2 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: postfix", "Installed: postfix-2:3.4.4-3.fc30.x86_64"]} TASK [linux-system-roles.postfix : Enable Postfix] ********************************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:5 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "enabled": true, "name": "postfix", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target network.target sysinit.target basic.target system.slice systemd-journald.socket -.mount systemd-tmpfiles-setup.service", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "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_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target sendmail.service exim.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FailureActionExitStatus": "-1", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "3814", "LimitNPROCSoft": "3814", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "3814", "LimitSIGPENDINGSoft": "3814", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/spool/postfix/pid/master.pid", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/tmp /tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SuccessActionExitStatus": "-1", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "1144", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.postfix : Backup configuration] *************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:8 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "cmd": "cp /etc/postfix/main.cf /etc/postfix/main.cf.`date -Iseconds`", "delta": "0:00:00.007551", "end": "2019-05-26 07:14:49.850939", "rc": 0, "start": "2019-05-26 07:14:49.843388", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.postfix : Add header 1 to configuration file] ************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:12 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"backup": "", "changed": true, "msg": "line added"} TASK [linux-system-roles.postfix : Add header 2 to configuration file] ************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/tasks/main.yml:20 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"backup": "", "changed": true, "msg": "line added"} TASK [linux-system-roles.postfix : Configure Postfix] ****************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tasks/main.yml:28 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => (item={'key': 'smtpd_banner', 'value': 'test'}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["postconf", "-e", "smtpd_banner=test"], "delta": "0:00:00.006775", "end": "2019-05-26 07:14:51.003856", "item": {"key": "smtpd_banner", "value": "test"}, "rc": 0, "start": "2019-05-26 07:14:50.997081", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} NOTIFIED HANDLER linux-system-roles.postfix : check postfix for /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 NOTIFIED HANDLER linux-system-roles.postfix : restart postfix for /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 TASK [Get smtpd banner] ************************************************************************************************************************************************************************************ task path: /tmp/tmpzi2zlgjw/tests/tests_set_banner.yml:12 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "cmd": ["postconf", "smtpd_banner"], "delta": "0:00:02.119975", "end": "2019-05-26 07:14:53.393637", "rc": 0, "start": "2019-05-26 07:14:51.273662", "stderr": "", "stderr_lines": [], "stdout": "smtpd_banner = test", "stdout_lines": ["smtpd_banner = test"]} TASK [assert] ********************************************************************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/tests/tests_set_banner.yml:16 ok: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.postfix : check postfix] *********************************************************************************************************************************************** task path: /tmp/tmpzi2zlgjw/handlers/main.yml:2 [DEPRECATION WARNING]: evaluating postfix_check as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "cmd": ["postfix", "check"], "delta": "0:00:00.232861", "end": "2019-05-26 07:14:53.933163", "rc": 0, "start": "2019-05-26 07:14:53.700302", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} RUNNING HANDLER [linux-system-roles.postfix : restart postfix] ********************************************************************************************************************************************* task path: /tmp/tmpzi2zlgjw/handlers/main.yml:7 changed: [/home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2] => {"changed": true, "name": "postfix", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2019-05-26 07:14:49 UTC", "ActiveEnterTimestampMonotonic": "59567658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target -.mount basic.target systemd-journald.socket systemd-tmpfiles-setup.service network.target system.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2019-05-26 07:14:48 UTC", "AssertTimestampMonotonic": "59117621", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "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_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2019-05-26 07:14:48 UTC", "ConditionTimestampMonotonic": "59117620", "ConfigurationDirectoryMode": "0755", "Conflicts": "exim.service sendmail.service shutdown.target", "ControlGroup": "/system.slice/postfix.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6909", "ExecMainStartTimestamp": "Sun 2019-05-26 07:14:49 UTC", "ExecMainStartTimestampMonotonic": "59567634", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[Sun 2019-05-26 07:14:48 UTC] ; stop_time=[Sun 2019-05-26 07:14:49 UTC] ; pid=5851 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Sun 2019-05-26 07:14:48 UTC] ; stop_time=[Sun 2019-05-26 07:14:48 UTC] ; pid=5827 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FailureActionExitStatus": "-1", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2019-05-26 07:14:48 UTC", "InactiveExitTimestampMonotonic": "59119695", "InvocationID": "7712e04392494b02b92365393c026b2f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "3814", "LimitNPROCSoft": "3814", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "3814", "LimitSIGPENDINGSoft": "3814", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6909", "MemoryAccounting": "yes", "MemoryCurrent": "5689344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/spool/postfix/pid/master.pid", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/tmp /tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2019-05-26 07:14:49 UTC", "StateChangeTimestampMonotonic": "59567658", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SuccessActionExitStatus": "-1", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "1144", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ************************************************************************************************************************************************************************************************* /home/till/lsr-test-harness-files/cache/Fedora-Cloud-Base-30-1.2.x86_64.qcow2 : ok=12 changed=9 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0