[WARNING]: Skipping plugin (/tmp/collections-Wiv/ansible_collections/ansible/posix/plugins/callback/cgroup_perf_recap.py), cannot load: cannot import name 'json' from 'ansible.parsing.ajson' (/usr/local/lib/python3.13/site-packages/ansible/parsing/ajson.py) ansible-playbook [core 2.19.0b5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-Wiv executable location = /usr/local/bin/ansible-playbook python version = 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 15.0.1 20250418 (Red Hat 15.0.1-0)] (/usr/bin/python3.13) jinja version = 3.1.6 pyyaml version = 6.0.2 (with libyaml v0.2.5) No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Run the postfix role] **************************************************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Monday 09 June 2025 11:42:40 -0400 (0:00:00.032) 0:00:00.032 *********** included: fedora.linux_system_roles.postfix for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Monday 09 June 2025 11:42:41 -0400 (0:00:00.054) 0:00:00.087 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Monday 09 June 2025 11:42:41 -0400 (0:00:00.020) 0:00:00.108 *********** [WARNING]: Host 'managed-node1' is using the discovered Python interpreter at '/usr/bin/python3.13', but future installation of another Python interpreter could cause a different interpreter to be discovered. See https://docs.ansible.com/ansible-core/devel/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Monday 09 June 2025 11:42:42 -0400 (0:00:01.281) 0:00:01.389 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Monday 09 June 2025 11:42:42 -0400 (0:00:00.655) 0:00:02.044 *********** ok: [managed-node1] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Monday 09 June 2025 11:42:43 -0400 (0:00:00.036) 0:00:02.080 *********** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed-node1] => (item=Fedora.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node1] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Monday 09 June 2025 11:42:43 -0400 (0:00:00.078) 0:00:02.159 *********** skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous is defined", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Monday 09 June 2025 11:42:43 -0400 (0:00:00.053) 0:00:02.213 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "postfix_conf.previous is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of config files] ********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Monday 09 June 2025 11:42:43 -0400 (0:00:00.018) 0:00:02.231 *********** skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous | d() == \"replaced\"", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Monday 09 June 2025 11:42:43 -0400 (0:00:00.030) 0:00:02.262 *********** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Monday 09 June 2025 11:42:43 -0400 (0:00:00.027) 0:00:02.289 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node1 TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Monday 09 June 2025 11:42:43 -0400 (0:00:00.018) 0:00:02.308 *********** included: fedora.linux_system_roles.firewall for managed-node1 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 09 June 2025 11:42:43 -0400 (0:00:00.070) 0:00:02.378 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 June 2025 11:42:43 -0400 (0:00:00.046) 0:00:02.425 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 09 June 2025 11:42:44 -0400 (0:00:00.683) 0:00:03.108 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 09 June 2025 11:42:44 -0400 (0:00:00.486) 0:00:03.595 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Monday 09 June 2025 11:42:44 -0400 (0:00:00.047) 0:00:03.642 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Monday 09 June 2025 11:42:45 -0400 (0:00:00.583) 0:00:04.226 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Monday 09 June 2025 11:42:45 -0400 (0:00:00.052) 0:00:04.279 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008910", "end": "2025-06-09 11:42:45.798714", "failed_when_result": false, "rc": 0, "start": "2025-06-09 11:42:45.789804" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Monday 09 June 2025 11:42:45 -0400 (0:00:00.674) 0:00:04.953 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Monday 09 June 2025 11:42:45 -0400 (0:00:00.073) 0:00:05.026 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Monday 09 June 2025 11:42:46 -0400 (0:00:00.050) 0:00:05.077 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Monday 09 June 2025 11:42:52 -0400 (0:00:06.117) 0:00:11.195 *********** skipping: [managed-node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Monday 09 June 2025 11:42:52 -0400 (0:00:00.032) 0:00:11.227 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Monday 09 June 2025 11:42:52 -0400 (0:00:00.031) 0:00:11.258 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 09 June 2025 11:42:52 -0400 (0:00:00.032) 0:00:11.290 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 June 2025 11:42:52 -0400 (0:00:00.041) 0:00:11.332 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'nftables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'iptables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'ufw', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Monday 09 June 2025 11:42:52 -0400 (0:00:00.041) 0:00:11.374 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice polkit.service sysinit.target basic.target dbus.socket dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "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", "CanLiveMount": "yes", "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_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ip6tables.service shutdown.target iptables.service ipset.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DeviceAllow": "char-rtc r", "DevicePolicy": "closed", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EffectiveMemoryHigh": "3894464512", "EffectiveMemoryMax": "3894464512", "EffectiveTasksMax": "4415", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/firewalld ; argv[]=/usr/bin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/firewalld ; argv[]=/usr/bin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "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": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14718", "LimitNPROCSoft": "14718", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14718", "LimitSIGPENDINGSoft": "14718", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3489726464", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "yes", "ProtectControlGroupsEx": "yes", "ProtectHome": "yes", "ProtectHostname": "yes", "ProtectKernelLogs": "yes", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Monday 09 June 2025 11:42:53 -0400 (0:00:00.923) 0:00:12.298 *********** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service polkit.service basic.target dbus.socket sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "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", "CanLiveMount": "yes", "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_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service shutdown.target iptables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DeviceAllow": "char-rtc r", "DevicePolicy": "closed", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EffectiveMemoryHigh": "3894464512", "EffectiveMemoryMax": "3894464512", "EffectiveTasksMax": "4415", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/firewalld ; argv[]=/usr/bin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/firewalld ; argv[]=/usr/bin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "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": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14718", "LimitNPROCSoft": "14718", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14718", "LimitSIGPENDINGSoft": "14718", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3475058688", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "yes", "ProtectControlGroupsEx": "yes", "ProtectHome": "yes", "ProtectHostname": "yes", "ProtectKernelLogs": "yes", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 June 2025 11:42:54 -0400 (0:00:01.310) 0:00:13.608 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3.13", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Monday 09 June 2025 11:42:54 -0400 (0:00:00.063) 0:00:13.671 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Monday 09 June 2025 11:42:54 -0400 (0:00:00.042) 0:00:13.714 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 June 2025 11:42:54 -0400 (0:00:00.041) 0:00:13.755 *********** changed: [managed-node1] => (item={'service': 'smtp', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp", "state": "enabled" } } changed: [managed-node1] => (item={'service': 'smtps', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtps", "state": "enabled" } } changed: [managed-node1] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp-submission", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Monday 09 June 2025 11:42:56 -0400 (0:00:02.169) 0:00:15.925 *********** skipping: [managed-node1] => (item={'service': 'smtp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "service": "smtp", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'service': 'smtps', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "service": "smtps", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "service": "smtp-submission", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Monday 09 June 2025 11:42:56 -0400 (0:00:00.099) 0:00:16.025 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "firewall | length == 1", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Monday 09 June 2025 11:42:56 -0400 (0:00:00.039) 0:00:16.064 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Monday 09 June 2025 11:42:57 -0400 (0:00:00.032) 0:00:16.097 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Monday 09 June 2025 11:42:57 -0400 (0:00:00.032) 0:00:16.130 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Monday 09 June 2025 11:42:57 -0400 (0:00:00.026) 0:00:16.156 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Monday 09 June 2025 11:42:57 -0400 (0:00:00.026) 0:00:16.183 *********** skipping: [managed-node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.postfix : Configure selinux] ******************* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Monday 09 June 2025 11:42:57 -0400 (0:00:00.026) 0:00:16.209 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Monday 09 June 2025 11:42:57 -0400 (0:00:00.024) 0:00:16.234 *********** ok: [managed-node1] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.213586", "end": "2025-06-09 11:42:57.802844", "item": "smtp", "rc": 0, "start": "2025-06-09 11:42:57.589258" } STDOUT: 25/tcp ok: [managed-node1] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.217264", "end": "2025-06-09 11:42:58.482025", "item": "smtps", "rc": 0, "start": "2025-06-09 11:42:58.264761" } STDOUT: 465/tcp ok: [managed-node1] => (item=submission) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.213958", "end": "2025-06-09 11:42:59.159807", "item": "submission", "rc": 0, "start": "2025-06-09 11:42:58.945849" } STDOUT: 587/tcp TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Monday 09 June 2025 11:42:59 -0400 (0:00:02.058) 0:00:18.292 *********** ok: [managed-node1] => { "ansible_facts": { "_postfix_selinux": [] }, "changed": false } TASK [fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Monday 09 June 2025 11:42:59 -0400 (0:00:00.043) 0:00:18.336 *********** ok: [managed-node1] => (item={'changed': False, 'stdout': '25/tcp', 'stderr': '', 'rc': 0, 'cmd': 'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', 'start': '2025-06-09 11:42:57.589258', 'end': '2025-06-09 11:42:57.802844', 'delta': '0:00:00.213586', 'msg': '', 'invocation': {'module_args': {'_raw_params': 'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', '_uses_shell': True, 'expand_argument_vars': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'cmd': None, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': ['25/tcp'], 'stderr_lines': [], 'failed': False, 'item': 'smtp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.213586", "end": "2025-06-09 11:42:57.802844", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "cmd": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "item": "smtp", "msg": "", "rc": 0, "start": "2025-06-09 11:42:57.589258", "stderr": "", "stderr_lines": [], "stdout": "25/tcp", "stdout_lines": [ "25/tcp" ] } } ok: [managed-node1] => (item={'changed': False, 'stdout': '465/tcp', 'stderr': '', 'rc': 0, 'cmd': 'set -euo pipefail\nports="$(firewall-cmd --info-service="smtps" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtps" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', 'start': '2025-06-09 11:42:58.264761', 'end': '2025-06-09 11:42:58.482025', 'delta': '0:00:00.217264', 'msg': '', 'invocation': {'module_args': {'_raw_params': 'set -euo pipefail\nports="$(firewall-cmd --info-service="smtps" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtps" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', '_uses_shell': True, 'expand_argument_vars': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'cmd': None, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': ['465/tcp'], 'stderr_lines': [], 'failed': False, 'item': 'smtps', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.217264", "end": "2025-06-09 11:42:58.482025", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "cmd": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "item": "smtps", "msg": "", "rc": 0, "start": "2025-06-09 11:42:58.264761", "stderr": "", "stderr_lines": [], "stdout": "465/tcp", "stdout_lines": [ "465/tcp" ] } } ok: [managed-node1] => (item={'changed': False, 'stdout': '587/tcp', 'stderr': '', 'rc': 0, 'cmd': 'set -euo pipefail\nports="$(firewall-cmd --info-service="submission" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="submission" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', 'start': '2025-06-09 11:42:58.945849', 'end': '2025-06-09 11:42:59.159807', 'delta': '0:00:00.213958', 'msg': '', 'invocation': {'module_args': {'_raw_params': 'set -euo pipefail\nports="$(firewall-cmd --info-service="submission" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="submission" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', '_uses_shell': True, 'expand_argument_vars': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'cmd': None, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': ['587/tcp'], 'stderr_lines': [], 'failed': False, 'item': 'submission', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "587", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.213958", "end": "2025-06-09 11:42:59.159807", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "cmd": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "item": "submission", "msg": "", "rc": 0, "start": "2025-06-09 11:42:58.945849", "stderr": "", "stderr_lines": [], "stdout": "587/tcp", "stdout_lines": [ "587/tcp" ] } } TASK [fedora.linux_system_roles.postfix : Set hardcoded ports to _postfix_selinux for no firewall or rhel-6 or not redhat] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Monday 09 June 2025 11:42:59 -0400 (0:00:00.096) 0:00:18.432 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "(not postfix_manage_firewall | bool) or (ansible_facts['os_family'] != 'RedHat') or (ansible_facts['distribution_version'] is version('7', '<'))", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Monday 09 June 2025 11:42:59 -0400 (0:00:00.036) 0:00:18.468 *********** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: fedora.linux_system_roles.selinux for managed-node1 TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Monday 09 June 2025 11:42:59 -0400 (0:00:00.123) 0:00:18.592 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Monday 09 June 2025 11:42:59 -0400 (0:00:00.051) 0:00:18.644 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Monday 09 June 2025 11:42:59 -0400 (0:00:00.049) 0:00:18.694 *********** included: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Monday 09 June 2025 11:42:59 -0400 (0:00:00.057) 0:00:18.751 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Monday 09 June 2025 11:43:00 -0400 (0:00:00.486) 0:00:19.238 *********** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Monday 09 June 2025 11:43:00 -0400 (0:00:00.059) 0:00:19.297 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Monday 09 June 2025 11:43:00 -0400 (0:00:00.518) 0:00:19.816 *********** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Monday 09 June 2025 11:43:00 -0400 (0:00:00.059) 0:00:19.875 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_python_version is version('3', '<')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Monday 09 June 2025 11:43:00 -0400 (0:00:00.051) 0:00:19.927 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Monday 09 June 2025 11:43:02 -0400 (0:00:02.001) 0:00:21.929 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_os_family == \"Suse\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Monday 09 June 2025 11:43:02 -0400 (0:00:00.051) 0:00:21.980 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Monday 09 June 2025 11:43:04 -0400 (0:00:02.008) 0:00:23.988 *********** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: policycoreutils-python-utils-3.8-1.fc42.noarch" ] } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Monday 09 June 2025 11:43:07 -0400 (0:00:02.304) 0:00:26.293 *********** skipping: [managed-node1] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Monday 09 June 2025 11:43:07 -0400 (0:00:00.028) 0:00:26.322 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Monday 09 June 2025 11:43:07 -0400 (0:00:00.027) 0:00:26.349 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Monday 09 June 2025 11:43:07 -0400 (0:00:00.028) 0:00:26.378 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:9 Monday 09 June 2025 11:43:08 -0400 (0:00:01.082) 0:00:27.460 *********** [ERROR]: Task failed: Conditional result was 'None' of type 'NoneType', which evaluates to False. Conditionals must have a boolean result. Task failed. Origin: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:9:7 7 __update_kernel_param: "{{ ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version... 8 block: 9 - name: Set permanent SELinux state if enabled ^ column 7 <<< caused by >>> Conditional result was 'None' of type 'NoneType', which evaluates to False. Conditionals must have a boolean result. Origin: /tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:18:11 16 when: 17 - ansible_selinux.status == "enabled" 18 - selinux_state or selinux_policy ^ column 11 Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option. fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Task failed: Conditional result was 'None' of type 'NoneType', which evaluates to False. Conditionals must have a boolean result. PLAY RECAP ********************************************************************* managed-node1 : ok=36 changed=3 unreachable=0 failed=1 skipped=26 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.19.0b5", "end_time": "2025-06-09T15:43:08.419733+00:00Z", "host": "managed-node1", "message": "Task failed: Conditional result was 'None' of type 'NoneType', which evaluates to False. Conditionals must have a boolean result.", "start_time": "2025-06-09T15:43:08.391726+00:00Z", "task_name": "Set permanent SELinux state if enabled", "task_path": "/tmp/collections-Wiv/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:9" } ] SYSTEM ROLES ERRORS END v1