[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.2] 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/tmp.rK7gxlLkBb executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug 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_relp.yml ******************************************************* 1 plays in /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/tests/logging/tests_relp.yml PLAY [Test the server/client configuration using tls relp] ********************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/tests/logging/tests_relp.yml:2 Saturday 03 August 2024 04:39:30 -0400 (0:00:00.007) 0:00:00.007 ******* [WARNING]: Platform linux on host managed_node1 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_node1] TASK [Set firewall and selinux to true] **************************************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/tests/logging/tests_relp.yml:23 Saturday 03 August 2024 04:39:31 -0400 (0:00:01.057) 0:00:01.065 ******* ok: [managed_node1] => { "ansible_facts": { "logging_manage_firewall": true, "logging_manage_selinux": true }, "changed": false } TASK [TEST CASE 0; Test the server configuration containing tls tcp, plain tcp and udp connection] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/tests/logging/tests_relp.yml:28 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.012) 0:00:01.078 ******* included: fedora.linux_system_roles.logging for managed_node1 TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.037) 0:00:01.116 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "logging_outputs | d([]) | selectattr('name', 'defined') | selectattr('type', 'defined') | selectattr('type', 'match', '^files$') | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.036) 0:00:01.152 ******* ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "files_output", "type": "files" }, { "name": "forwards_output", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.039) 0:00:01.192 ******* ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "system_input", "type": "basics" }, { "ca_cert": "/etc/pki/tls/certs/logging_cert.crt", "cert": "/etc/pki/tls/certs/logging_cert.crt", "name": "relp_server0", "permitted_clients": [ "*.client.com", "*.example.com" ], "pki_authmode": "name", "port": 6514, "private_key": "/etc/pki/tls/private/logging_cert.key", "tls": true, "type": "relp" }, { "ca_cert": "/etc/pki/tls/certs/logging_cert.crt", "cert": "/etc/pki/tls/certs/logging_cert.crt", "name": "relp_server1", "pki_authmode": "name", "port": 20514, "private_key": "/etc/pki/tls/private/logging_cert.key", "tls": true, "type": "relp" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.044) 0:00:01.236 ******* skipping: [managed_node1] => { "false_condition": "rsyslog_custom_config_files is defined" } TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.032) 0:00:01.269 ******* skipping: [managed_node1] => { "false_condition": "__custom_output_files | length > 0" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.038) 0:00:01.308 ******* skipping: [managed_node1] => (item={'name': 'flows', 'inputs': ['system_input', 'relp_server0', 'relp_server1'], 'outputs': ['files_output', 'forwards_output']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.inputs | intersect(__logging_input_names) | length != item.inputs | length", "item": { "inputs": [ "system_input", "relp_server0", "relp_server1" ], "name": "flows", "outputs": [ "files_output", "forwards_output" ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.047) 0:00:01.356 ******* included: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed_node1 TASK [fedora.linux_system_roles.logging : Initialize logging_tls_tcp_ports] **** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 03 August 2024 04:39:31 -0400 (0:00:00.050) 0:00:01.406 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.033) 0:00:01.440 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.034) 0:00:01.474 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.033) 0:00:01.508 ******* ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.033) 0:00:01.542 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [ 6514, 20514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (without tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.044) 0:00:01.586 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [ 1514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (with tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.042) 0:00:01.629 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [ 6514, 20514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (without tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.042) 0:00:01.672 ******* ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (with tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.043) 0:00:01.715 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (without tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.042) 0:00:01.758 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [ 1514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (with tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.042) 0:00:01.800 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [ 6514, 20514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.043) 0:00:01.843 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [ 1514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.047) 0:00:01.891 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [ 6514, 20514 ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.049) 0:00:01.941 ******* ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (with tls)] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.048) 0:00:01.990 ******* ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Manage firewall on the gathered ports] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.049) 0:00:02.040 ******* included: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed_node1 TASK [fedora.linux_system_roles.logging : Initialize logging_firewall_ports] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.049) 0:00:02.089 ******* ok: [managed_node1] => { "ansible_facts": { "logging_firewall_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.035) 0:00:02.125 ******* ok: [managed_node1] => (item=1514/tcp) => { "ansible_facts": { "logging_firewall_ports": [ { "port": "1514/tcp", "state": "enabled" } ] }, "ansible_loop_var": "item", "changed": false, "item": "1514/tcp" } ok: [managed_node1] => (item=6514/tcp) => { "ansible_facts": { "logging_firewall_ports": [ { "port": "1514/tcp", "state": "enabled" }, { "port": "6514/tcp", "state": "enabled" } ] }, "ansible_loop_var": "item", "changed": false, "item": "6514/tcp" } ok: [managed_node1] => (item=20514/tcp) => { "ansible_facts": { "logging_firewall_ports": [ { "port": "1514/tcp", "state": "enabled" }, { "port": "6514/tcp", "state": "enabled" }, { "port": "20514/tcp", "state": "enabled" } ] }, "ansible_loop_var": "item", "changed": false, "item": "20514/tcp" } TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.072) 0:00:02.197 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.028) 0:00:02.226 ******* included: fedora.linux_system_roles.firewall for managed_node1 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.058) 0:00:02.285 ******* included: /tmp/tmp.rK7gxlLkBb/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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.048) 0:00:02.333 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 03 August 2024 04:39:32 -0400 (0:00:00.038) 0:00:02.372 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 03 August 2024 04:39:33 -0400 (0:00:00.414) 0:00:02.786 ******* 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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 03 August 2024 04:39:33 -0400 (0:00:00.039) 0:00:02.826 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 03 August 2024 04:39:33 -0400 (0:00:00.336) 0:00:03.162 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 03 August 2024 04:39:33 -0400 (0:00:00.039) 0:00:03.201 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.723) 0:00:03.924 ******* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.038) 0:00:03.963 ******* 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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.036) 0:00:03.999 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.037) 0:00:04.036 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.035) 0:00:04.072 ******* 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 : Unmask firewalld service] *********** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 03 August 2024 04:39:34 -0400 (0:00:00.059) 0:00:04.131 ******* 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": "sysinit.target basic.target system.slice polkit.service dbus.socket dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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", "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": "iptables.service ebtables.service ipset.service shutdown.target ip6tables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "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)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3700936704", "EffectiveMemoryMax": "3700936704", "EffectiveTasksMax": "22402", "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/sbin/firewalld ; argv[]=/usr/sbin/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/sbin/firewalld ; argv[]=/usr/sbin/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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3296559104", "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": "yes", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "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": "22402", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 03 August 2024 04:39:35 -0400 (0:00:00.700) 0:00:04.831 ******* 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": "basic.target polkit.service dbus-broker.service sysinit.target system.slice dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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", "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": "ip6tables.service ebtables.service shutdown.target iptables.service ipset.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "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)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3700936704", "EffectiveMemoryMax": "3700936704", "EffectiveTasksMax": "22402", "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/sbin/firewalld ; argv[]=/usr/sbin/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/sbin/firewalld ; argv[]=/usr/sbin/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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3303796736", "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": "yes", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "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": "22402", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 03 August 2024 04:39:36 -0400 (0:00:01.286) 0:00:06.117 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3.12", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 03 August 2024 04:39:36 -0400 (0:00:00.044) 0:00:06.162 ******* 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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 03 August 2024 04:39:36 -0400 (0:00:00.035) 0:00:06.198 ******* 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/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 03 August 2024 04:39:36 -0400 (0:00:00.036) 0:00:06.234 ******* failed: [managed_node1] (item={'port': '1514/tcp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "port": "1514/tcp", "state": "enabled" } } MSG: [Errno 13] Permission denied: '/etc/firewalld/zones/public.xml' failed: [managed_node1] (item={'port': '6514/tcp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "port": "6514/tcp", "state": "enabled" } } MSG: [Errno 13] Permission denied: '/etc/firewalld/zones/public.xml' failed: [managed_node1] (item={'port': '20514/tcp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "port": "20514/tcp", "state": "enabled" } } MSG: [Errno 13] Permission denied: '/etc/firewalld/zones/public.xml' PLAY RECAP ********************************************************************* managed_node1 : ok=34 changed=1 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0 Saturday 03 August 2024 04:39:38 -0400 (0:00:01.499) 0:00:07.734 ******* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.50s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.29s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/tests/logging/tests_relp.yml:2 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.72s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.70s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.41s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.34s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports --- 0.07s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.06s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Manage firewall for specified ports ------------------------------------- 0.06s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 fedora.linux_system_roles.logging : Parameter 'udp_ports' values (with tls) --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls) --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls) --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls) --- 0.05s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.04s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 fedora.linux_system_roles.logging : Parameter 'port' values ------------- 0.04s /tmp/tmp.rK7gxlLkBb/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24