ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:2 Saturday 27 July 2024 08:38:17 -0400 (0:00:00.020) 0:00:00.020 ********* ok: [managed_node1] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:6 Saturday 27 July 2024 08:38:18 -0400 (0:00:01.111) 0:00:01.131 ********* changed: [managed_node1 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.2963672-8331-156680060875525/source", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.8750277-8331-91814471467088/source", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.258019-8331-129122450273013/source", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.6419766-8331-11822076785325/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:4 Saturday 27 July 2024 08:38:20 -0400 (0:00:01.755) 0:00:02.887 ********* TASK [fedora.linux_system_roles.fapolicyd : Set platform/version specific variables] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:2 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.030) 0:00:02.917 ********* included: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.fapolicyd : Ensure ansible_facts used by role] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:2 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.024) 0:00:02.942 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check if system is ostree] ********* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:10 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.016) 0:00:02.958 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.fapolicyd : Set flag to indicate system is ostree] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:15 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.466) 0:00:03.424 ********* ok: [managed_node1] => { "ansible_facts": { "__fapolicyd_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.fapolicyd : Set platform/version specific variables] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:19 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.017) 0:00:03.442 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Set fapolicyd feature facts for OS versions] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:40 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.032) 0:00:03.475 ********* ok: [managed_node1] => { "ansible_facts": { "__fapolicyd_configcheck_supported": true, "__fapolicyd_integrity_supported": true, "__fapolicyd_selinux_supported": true, "__fapolicyd_supported": true, "__fapolicyd_syslog_format_supported": true, "__fapolicyd_trust_supported": true, "__fapolicyd_trustfiles_supported": true, "__fapolicyd_watch_fs_supported": true }, "changed": false } TASK [fedora.linux_system_roles.fapolicyd : System check] ********************** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:5 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.061) 0:00:03.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check trust compatibility] ********* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:13 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.013) 0:00:03.550 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check integrity compatibility] ***** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:24 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.014) 0:00:03.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check trust files compatibility] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:35 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.013) 0:00:03.578 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check failed conditions] *********** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:46 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.013) 0:00:03.591 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Install fapolicyd packages] ******** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:51 Saturday 27 July 2024 08:38:20 -0400 (0:00:00.013) 0:00:03.604 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: fapolicyd fapolicyd-selinux TASK [fedora.linux_system_roles.fapolicyd : Copy fapolicyd configuration file] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:59 Saturday 27 July 2024 08:38:23 -0400 (0:00:02.789) 0:00:06.393 ********* ok: [managed_node1] => { "changed": false, "checksum": "611ed3f8d3403114d50150ce45832b75f3a6ea33", "dest": "/etc/fapolicyd/fapolicyd.conf", "gid": 991, "group": "fapolicyd", "mode": "0644", "owner": "root", "path": "/etc/fapolicyd/fapolicyd.conf", "secontext": "system_u:object_r:fapolicyd_config_t:s0", "size": 471, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.fapolicyd : Run fapolicyd configuration check] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:68 Saturday 27 July 2024 08:38:24 -0400 (0:00:00.918) 0:00:07.312 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Start fapolicyd service] *********** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:76 Saturday 27 July 2024 08:38:24 -0400 (0:00:00.016) 0:00:07.328 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "fapolicyd.service", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:38:13 EDT", "ActiveEnterTimestampMonotonic": "231327076", "ActiveExitTimestamp": "Sat 2024-07-27 08:38:10 EDT", "ActiveExitTimestampMonotonic": "228910349", "ActiveState": "active", "After": "systemd-journald.socket local-fs.target systemd-tmpfiles-setup.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:38:13 EDT", "AssertTimestampMonotonic": "231288307", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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_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 cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 08:38:13 EDT", "ConditionTimestampMonotonic": "231288305", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/fapolicyd.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "File Access Policy Daemon", "DevicePolicy": "auto", "Documentation": "man:fapolicyd(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8540", "ExecMainStartTimestamp": "Sat 2024-07-27 08:38:13 EDT", "ExecMainStartTimestampMonotonic": "231323711", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/fapolicyd ; argv[]=/usr/sbin/fapolicyd ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:38:13 EDT] ; stop_time=[Sat 2024-07-27 08:38:13 EDT] ; pid=8539 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/sbin/fagenrules ; argv[]=/usr/sbin/fagenrules ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:38:13 EDT] ; stop_time=[Sat 2024-07-27 08:38:13 EDT] ; pid=8514 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/fapolicyd.service", "FreezerState": "running", "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": "fapolicyd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 08:38:13 EDT", "InactiveEnterTimestampMonotonic": "231287550", "InactiveExitTimestamp": "Sat 2024-07-27 08:38:13 EDT", "InactiveExitTimestampMonotonic": "231289353", "InvocationID": "d24bb5e2e4b14d05aa70359ee5a37307", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8540", "MemoryAccounting": "yes", "MemoryCurrent": "22761472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "fapolicyd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PIDFile": "/run/fapolicyd.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "on-abnormal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "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": "Sat 2024-07-27 08:38:13 EDT", "StateChangeTimestampMonotonic": "231327076", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.fapolicyd : Restart fapolicyd service] ********* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:85 Saturday 27 July 2024 08:38:25 -0400 (0:00:00.791) 0:00:08.119 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check fapolicyd logs] ************** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:96 Saturday 27 July 2024 08:38:25 -0400 (0:00:00.015) 0:00:08.135 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Trustdb cleanup] ******************* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:103 Saturday 27 July 2024 08:38:25 -0400 (0:00:00.013) 0:00:08.149 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "fapolicyd-cli", "--file", "delete", "/" ], "delta": "0:00:00.011008", "end": "2024-07-27 08:38:25.777667", "failed_when_result": false, "rc": 1, "start": "2024-07-27 08:38:25.766659" } STDERR: / is not in the trust database MSG: non-zero return code TASK [fedora.linux_system_roles.fapolicyd : Add file to trustdb] *************** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:108 Saturday 27 July 2024 08:38:25 -0400 (0:00:00.564) 0:00:08.713 ********* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Update fapolicyd db] *************** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:124 Saturday 27 July 2024 08:38:25 -0400 (0:00:00.018) 0:00:08.732 ********* changed: [managed_node1] => { "changed": true, "cmd": "set -euo pipefail\n# get current journal cursor\ncursor=\"\"\nwhile [ -z \"$cursor\" ]; do\n sleep 1\n cursor=\"$(journalctl -u fapolicyd -n 0 --show-cursor |\n awk '/^-- cursor:/ {print $3}')\" || :\ndone\nsystemctl restart fapolicyd\nsearch_str='fapolicyd[^:\\ ]*:\\ Starting to listen for events$'\n# wait until we see the search_str - wait up to 30 seconds\nwaittime=30 # seconds\nendtime=\"$(expr \"$(date +%s)\" + \"$waittime\")\"\nset +o pipefail # the read will always return a failure code at EOF\njournalctl -u fapolicyd --no-tail -f --after-cursor \"$cursor\" | \\\nwhile read -r line; do\n if [[ \"$line\" =~ $search_str ]]; then\n echo INFO: trustdb is updated\n exit 0\n fi\ndone & pid=$!\nwhile ps -p \"$pid\"; do\n if [ \"$(date +%s)\" -gt \"$endtime\" ]; then\n echo ERROR: failed to update the trustdb\n exit 1\n fi\n sleep 1\ndone\necho INFO: trustdb is updated\nexit 0 # success\n", "delta": "0:00:05.186902", "end": "2024-07-27 08:38:31.454134", "rc": 0, "start": "2024-07-27 08:38:26.267232" } STDOUT: PID TTY TIME CMD 9716 pts/0 00:00:00 sh PID TTY TIME CMD 9716 pts/0 00:00:00 sh INFO: trustdb is updated PID TTY TIME CMD INFO: trustdb is updated TASK [fedora.linux_system_roles.fapolicyd : Making sure fapolicyd does not run if it was set so] *** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:160 Saturday 27 July 2024 08:38:31 -0400 (0:00:05.660) 0:00:14.392 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:8 Saturday 27 July 2024 08:38:31 -0400 (0:00:00.014) 0:00:14.407 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:47 Saturday 27 July 2024 08:38:31 -0400 (0:00:00.021) 0:00:14.429 ********* changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722083898.2963672-8331-156680060875525/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722083898.2963672-8331-156680060875525/source', '_original_basename': 'tmpxqx6folv', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS-8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpxqx6folv", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.2963672-8331-156680060875525/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.2963672-8331-156680060875525/source", "state": "file", "uid": 0 }, "path": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-8.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722083898.8750277-8331-91814471467088/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722083898.8750277-8331-91814471467088/source', '_original_basename': 'tmpsow1xccm', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS_8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpsow1xccm", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.8750277-8331-91814471467088/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083898.8750277-8331-91814471467088/source", "state": "file", "uid": 0 }, "path": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_8.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722083899.258019-8331-129122450273013/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722083899.258019-8331-129122450273013/source', '_original_basename': 'tmpxjz4ld0m', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpxjz4ld0m", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.258019-8331-129122450273013/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.258019-8331-129122450273013/source", "state": "file", "uid": 0 }, "path": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722083899.6419766-8331-11822076785325/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722083899.6419766-8331-11822076785325/source', '_original_basename': 'tmpfrz7b5ph', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpfrz7b5ph", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.6419766-8331-11822076785325/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722083899.6419766-8331-11822076785325/source", "state": "file", "uid": 0 }, "path": "/tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=13 changed=4 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.907) 0:00:15.336 ********* =============================================================================== fedora.linux_system_roles.fapolicyd : Update fapolicyd db --------------- 5.66s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:124 fedora.linux_system_roles.fapolicyd : Install fapolicyd packages -------- 2.79s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:51 Create var file in caller that can override the one in called role ------ 1.76s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.fapolicyd : Copy fapolicyd configuration file --- 0.92s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:59 Cleanup ----------------------------------------------------------------- 0.91s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:47 fedora.linux_system_roles.fapolicyd : Start fapolicyd service ----------- 0.79s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:76 fedora.linux_system_roles.fapolicyd : Trustdb cleanup ------------------- 0.56s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:103 fedora.linux_system_roles.fapolicyd : Check if system is ostree --------- 0.47s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:10 fedora.linux_system_roles.fapolicyd : Set fapolicyd feature facts for OS versions --- 0.06s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:40 fedora.linux_system_roles.fapolicyd : Set platform/version specific variables --- 0.03s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:19 Include role ------------------------------------------------------------ 0.03s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.fapolicyd : Set platform/version specific variables --- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:2 caller : Assert variable not overridden --------------------------------- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:8 fedora.linux_system_roles.fapolicyd : Add file to trustdb --------------- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:108 fedora.linux_system_roles.fapolicyd : Set flag to indicate system is ostree --- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:15 fedora.linux_system_roles.fapolicyd : Ensure ansible_facts used by role --- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:2 fedora.linux_system_roles.fapolicyd : Run fapolicyd configuration check --- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:68 fedora.linux_system_roles.fapolicyd : Restart fapolicyd service --------- 0.02s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:85 fedora.linux_system_roles.fapolicyd : Making sure fapolicyd does not run if it was set so --- 0.01s /tmp/tmp.nFtCWcVgde/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:160