[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var 
naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This 
feature will be removed from ansible-core in version 2.19. Deprecation warnings
 can be disabled by setting deprecation_warnings=False in ansible.cfg.
ansible-playbook [core 2.17.3]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /tmp/collections-uQg
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
No config file found; using defaults
running playbook inside collection fedora.linux_system_roles
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
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_set_banner.yml *************************************************
1 plays in /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_banner.yml

PLAY [Set smtpd banner] ********************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_banner.yml:2
Wednesday 04 September 2024  13:35:01 -0400 (0:00:00.007)       0:00:00.007 *** 
[WARNING]: Platform linux on host managed-node3 is using the discovered Python
interpreter at /usr/bin/python3.12, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [managed-node3]

TASK [Run the role with test smtpd_banner] *************************************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_banner.yml:12
Wednesday 04 September 2024  13:35:04 -0400 (0:00:02.975)       0:00:02.982 *** 
included: fedora.linux_system_roles.postfix for managed-node3

TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.053)       0:00:03.036 *** 
included: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node3

TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.018)       0:00:03.055 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "__postfix_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.postfix : Check if system is ostree] ***********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.033)       0:00:03.088 *** 
ok: [managed-node3] => {"changed": false, "stat": {"exists": false}}

TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.419)       0:00:03.508 *** 
ok: [managed-node3] => {"ansible_facts": {"__postfix_is_ostree": false}, "changed": false}

TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.021)       0:00:03.530 *** 
ok: [managed-node3] => (item=RedHat.yml) => {"ansible_facts": {"__postfix_smtp_services": ["smtp", "smtps", "submission"]}, "ansible_included_var_files": ["/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml"], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml"}
skipping: [managed-node3] => (item=CentOS.yml)  => {"ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False"}
ok: [managed-node3] => (item=CentOS_9.yml) => {"ansible_facts": {"__postfix_smtp_services": ["smtp", "smtps", "smtp-submission"]}, "ansible_included_var_files": ["/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_9.yml"], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml"}
ok: [managed-node3] => (item=CentOS_9.yml) => {"ansible_facts": {"__postfix_smtp_services": ["smtp", "smtps", "smtp-submission"]}, "ansible_included_var_files": ["/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_9.yml"], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml"}

TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.041)       0:00:03.571 *** 
skipping: [managed-node3] => (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-node3] => {"changed": false, "msg": "All items skipped"}

TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.020)       0:00:03.591 *** 
skipping: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.021)       0:00:03.613 *** 
skipping: [managed-node3] => (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-node3] => {"changed": false, "msg": "All items skipped"}

TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] ****
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.041)       0:00:03.654 *** 
skipping: [managed-node3] => {"changed": false, "skipped_reason": "No items in the list"}

TASK [fedora.linux_system_roles.postfix : Configure firewall] ******************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.035)       0:00:03.690 *** 
included: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node3

TASK [Ensure the postfix ports status with the firewall role] ******************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.017)       0:00:03.708 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "postfix_manage_firewall | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.postfix : Configure selinux] *******************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.030)       0:00:03.738 *** 
included: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node3

TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.021)       0:00:03.759 *** 
skipping: [managed-node3] => (item=smtp)  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtp", "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => (item=smtps)  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtps", "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => (item=smtp-submission)  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => {"changed": false, "msg": "All items skipped"}

TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] *********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33
Wednesday 04 September 2024  13:35:04 -0400 (0:00:00.040)       0:00:03.800 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "postfix_manage_firewall | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.031)       0:00:03.832 *** 
skipping: [managed-node3] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_firewall | bool', 'item': 'smtp', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtp", "skip_reason": "Conditional result was False", "skipped": true}, "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_firewall | bool', 'item': 'smtps', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtps", "skip_reason": "Conditional result was False", "skipped": true}, "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_firewall | bool', 'item': 'smtp-submission', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": {"ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_firewall | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False", "skipped": true}, "skip_reason": "Conditional result was False"}
skipping: [managed-node3] => {"changed": false, "msg": "All items skipped"}

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-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.040)       0:00:03.872 *** 
ok: [managed-node3] => {"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"}]}, "changed": false}

TASK [Ensure the service and the ports status with the selinux role] ***********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.038)       0:00:03.911 *** 
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-node3

TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.068)       0:00:03.979 *** 
included: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node3

TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.044)       0:00:04.024 *** 
skipping: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.035)       0:00:04.059 *** 
included: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node3

TASK [fedora.linux_system_roles.selinux : Check if system is ostree] ***********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.047)       0:00:04.107 *** 
ok: [managed-node3] => {"changed": false, "stat": {"exists": false}}

TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.366)       0:00:04.474 *** 
ok: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17
Wednesday 04 September 2024  13:35:05 -0400 (0:00:00.039)       0:00:04.513 *** 
ok: [managed-node3] => {"changed": false, "stat": {"exists": false}}

TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22
Wednesday 04 September 2024  13:35:06 -0400 (0:00:00.370)       0:00:04.884 *** 
ok: [managed-node3] => {"ansible_facts": {"__selinux_is_transactional": false}, "changed": false}

TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] *******
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26
Wednesday 04 September 2024  13:35:06 -0400 (0:00:00.039)       0:00:04.923 *** 
skipping: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35
Wednesday 04 September 2024  13:35:06 -0400 (0:00:00.034)       0:00:04.958 *** 
ok: [managed-node3] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}

TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] *******
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46
Wednesday 04 September 2024  13:35:10 -0400 (0:00:04.362)       0:00:09.321 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "ansible_os_family == \"Suse\"", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] *******
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58
Wednesday 04 September 2024  13:35:10 -0400 (0:00:00.063)       0:00:09.384 *** 
ok: [managed-node3] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}

TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72
Wednesday 04 September 2024  13:35:12 -0400 (0:00:01.714)       0:00:11.099 *** 
skipping: [managed-node3] => {"false_condition": "__selinux_is_transactional | d(false)"}

TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77
Wednesday 04 September 2024  13:35:12 -0400 (0:00:00.082)       0:00:11.181 *** 
skipping: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82
Wednesday 04 September 2024  13:35:12 -0400 (0:00:00.063)       0:00:11.245 *** 
skipping: [managed-node3] => {"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-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89
Wednesday 04 September 2024  13:35:12 -0400 (0:00:00.063)       0:00:11.309 *** 
ok: [managed-node3]

TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.833)       0:00:12.143 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "ansible_selinux.status == \"enabled\" and (selinux_state or selinux_policy)", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.032)       0:00:12.175 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "ansible_selinux.status == \"disabled\" and selinux_state", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] *********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.031)       0:00:12.206 *** 
ok: [managed-node3] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false}

TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] **********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.038)       0:00:12.245 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_reboot_required", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] *********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.030)       0:00:12.276 *** 
skipping: [managed-node3] => {"false_condition": "ansible_selinux.status == \"disabled\""}

TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.031)       0:00:12.308 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_all_purge | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.031)       0:00:12.339 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_booleans_purge | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.033)       0:00:12.372 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_fcontexts_purge | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.032)       0:00:12.405 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_ports_purge | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] ***
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.032)       0:00:12.438 *** 
skipping: [managed-node3] => {"changed": false, "false_condition": "selinux_logins_purge | bool", "skip_reason": "Conditional result was False"}

TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] ****************
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.032)       0:00:12.470 *** 
skipping: [managed-node3] => {"changed": false, "skipped_reason": "No items in the list"}

TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] ***********
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.013)       0:00:12.484 *** 
skipping: [managed-node3] => {"changed": false, "skipped_reason": "No items in the list"}

TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ******
task path: /tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87
Wednesday 04 September 2024  13:35:13 -0400 (0:00:00.015)       0:00:12.500 *** 
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'selinux'
failed: [managed-node3] (item={'ports': 25, 'proto': 'tcp', 'setype': 'smtp_port_t', 'state': 'present', 'local': 'true'}) => {"__selinux_item": {"local": "true", "ports": 25, "proto": "tcp", "setype": "smtp_port_t", "state": "present"}, "ansible_loop_var": "__selinux_item", "changed": false, "msg": "Failed to import the required Python library (libselinux-python) on ip-10-31-41-26.us-east-1.aws.redhat.com's Python /usr/bin/python3.12. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'selinux'
failed: [managed-node3] (item={'ports': 465, 'proto': 'tcp', 'setype': 'smtp_port_t', 'state': 'present', 'local': 'true'}) => {"__selinux_item": {"local": "true", "ports": 465, "proto": "tcp", "setype": "smtp_port_t", "state": "present"}, "ansible_loop_var": "__selinux_item", "changed": false, "msg": "Failed to import the required Python library (libselinux-python) on ip-10-31-41-26.us-east-1.aws.redhat.com's Python /usr/bin/python3.12. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'selinux'
failed: [managed-node3] (item={'ports': 587, 'proto': 'tcp', 'setype': 'smtp_port_t', 'state': 'present', 'local': 'true'}) => {"__selinux_item": {"local": "true", "ports": 587, "proto": "tcp", "setype": "smtp_port_t", "state": "present"}, "ansible_loop_var": "__selinux_item", "changed": false, "msg": "Failed to import the required Python library (libselinux-python) on ip-10-31-41-26.us-east-1.aws.redhat.com's Python /usr/bin/python3.12. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

PLAY RECAP *********************************************************************
managed-node3              : ok=20   changed=0    unreachable=0    failed=1    skipped=26   rescued=0    ignored=0   

Wednesday 04 September 2024  13:35:14 -0400 (0:00:01.233)       0:00:13.733 *** 
=============================================================================== 
fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 4.36s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 
Gathering Facts --------------------------------------------------------- 2.98s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_banner.yml:2 
fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.71s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 
fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 1.23s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 
fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.83s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 
fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.42s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 
fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.37s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 
fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.37s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 
fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes --- 0.08s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 
Ensure the service and the ports status with the selinux role ----------- 0.07s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 
fedora.linux_system_roles.selinux : Reboot transactional update systems --- 0.06s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 
fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.06s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 
fedora.linux_system_roles.selinux : Fail if reboot is needed and not set --- 0.06s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 
Run the role with test smtpd_banner ------------------------------------- 0.05s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_banner.yml:12 
fedora.linux_system_roles.selinux : Ensure SELinux packages ------------- 0.05s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 
fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.04s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 
fedora.linux_system_roles.postfix : Get status of config files ---------- 0.04s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 
fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.04s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 
fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux --- 0.04s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 
fedora.linux_system_roles.postfix : Get the smtp related tcp service ports --- 0.04s
/tmp/collections-uQg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12