[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.IZmM7yLACI 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_mesh_cert.yml ************************************************** 1 plays in /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml PLAY [Test mesh tunnels with certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:3 Sunday 04 August 2024 00:23:08 -0400 (0:00:00.022) 0:00:00.022 ********* [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 up test environment] ************************************************* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:16 Sunday 04 August 2024 00:23:09 -0400 (0:00:01.174) 0:00:01.196 ********* included: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml for managed_node1 TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:2 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.027) 0:00:01.223 ********* included: fedora.linux_system_roles.vpn for managed_node1 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.027) 0:00:01.251 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.033) 0:00:01.284 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.444) 0:00:01.728 ********* ok: [managed_node1] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.022) 0:00:01.750 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Change inventory_hostname] *********************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:11 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.032) 0:00:01.783 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not (__vpn_opportunistic | d(false) | bool)", "skip_reason": "Conditional result was False" } TASK [Add sample main host] **************************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:18 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.030) 0:00:01.813 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not (__vpn_opportunistic | d(false) | bool)", "skip_reason": "Conditional result was False" } TASK [Create nss directory for testing] **************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 Sunday 04 August 2024 00:23:09 -0400 (0:00:00.032) 0:00:01.846 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/var/lib/ipsec/nss", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:28 Sunday 04 August 2024 00:23:10 -0400 (0:00:00.469) 0:00:02.315 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 22, "state": "directory", "uid": 0 } TASK [Dynamically add more hosts] ********************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:34 Sunday 04 August 2024 00:23:10 -0400 (0:00:00.371) 0:00:02.687 ********* included: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml for managed_node1 TASK [Dynamically add multiple hosts for testing] ****************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:2 Sunday 04 August 2024 00:23:10 -0400 (0:00:00.016) 0:00:02.703 ********* creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [managed_node1] => (item=1) => { "add_host": { "groups": [ "testing" ], "host_name": "host01.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 1 } changed: [managed_node1] => (item=2) => { "add_host": { "groups": [ "testing" ], "host_name": "host02.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 2 } TASK [Create mock vpn_connections] ********************************************* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:11 Sunday 04 August 2024 00:23:10 -0400 (0:00:00.042) 0:00:02.746 ********* ok: [managed_node1] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:40 Sunday 04 August 2024 00:23:10 -0400 (0:00:00.018) 0:00:02.765 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d/policies", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 120, "state": "directory", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:46 Sunday 04 August 2024 00:23:11 -0400 (0:00:00.390) 0:00:03.155 ********* changed: [managed_node1] => { "changed": true, "dest": "/etc/ipsec.d/policies/private", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 614, "state": "file", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:52 Sunday 04 August 2024 00:23:11 -0400 (0:00:00.400) 0:00:03.555 ********* changed: [managed_node1] => { "changed": true, "dest": "/etc/ipsec.d/policies/private-or-clear", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 728, "state": "file", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:58 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.393) 0:00:03.949 ********* changed: [managed_node1] => { "changed": true, "dest": "/etc/ipsec.d/policies/clear", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 417, "state": "file", "uid": 0 } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.397) 0:00:04.346 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not vpn_manage_firewall | d(false)", "skip_reason": "Conditional result was False" } TASK [Add extra options to check] ********************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:21 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.030) 0:00:04.376 ********* ok: [managed_node1] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "" }, "opportunistic": true, "policies": [ { "cidr": "203.0.113.0/24", "policy": "private" }, { "cidr": "198.51.100.0/24", "policy": "clear" } ] } ] }, "changed": false } TASK [Add cert_name fact to controller] **************************************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:36 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.020) 0:00:04.397 ********* ok: [managed_node1] => { "ansible_facts": { "cert_name": "main_cert" }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:40 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.015) 0:00:04.412 ********* included: fedora.linux_system_roles.vpn for managed_node1 TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.042) 0:00:04.455 ********* included: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.018) 0:00:04.474 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.033) 0:00:04.507 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.021) 0:00:04.528 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.017) 0:00:04.546 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Sunday 04 August 2024 00:23:12 -0400 (0:00:00.029) 0:00:04.575 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute libreswan TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.789) 0:00:05.364 ********* included: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for managed_node1 TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.018) 0:00:05.383 ********* included: fedora.linux_system_roles.firewall for managed_node1 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.055) 0:00:05.439 ********* included: /tmp/tmp.IZmM7yLACI/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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.029) 0:00:05.468 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.033) 0:00:05.501 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.368) 0:00:05.869 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Sunday 04 August 2024 00:23:13 -0400 (0:00:00.023) 0:00:05.892 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Sunday 04 August 2024 00:23:14 -0400 (0:00:00.367) 0:00:06.260 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Sunday 04 August 2024 00:23:14 -0400 (0:00:00.022) 0:00:06.283 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.688) 0:00:06.971 ********* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.031) 0:00:07.003 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.033) 0:00:07.036 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.032) 0:00:07.068 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.032) 0:00:07.100 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.037) 0:00:07.138 ********* 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": "dbus.socket sysinit.target polkit.service basic.target dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.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": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.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": "3700932608", "EffectiveMemoryMax": "3700932608", "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": "3295145984", "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": "dbus.socket system.slice 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Sunday 04 August 2024 00:23:15 -0400 (0:00:00.721) 0:00:07.859 ********* 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": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.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": "3700932608", "EffectiveMemoryMax": "3700932608", "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": "3286212608", "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 sysinit.target 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Sunday 04 August 2024 00:23:17 -0400 (0:00:01.694) 0:00:09.554 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Sunday 04 August 2024 00:23:17 -0400 (0:00:00.045) 0:00:09.599 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Sunday 04 August 2024 00:23:17 -0400 (0:00:00.034) 0:00:09.634 ********* 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.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Sunday 04 August 2024 00:23:17 -0400 (0:00:00.031) 0:00:09.666 ********* failed: [managed_node1] (item={'service': 'ipsec', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "ipsec", "state": "enabled" } } MSG: [Errno 13] Permission denied: '/etc/firewalld/zones/public.xml' PLAY RECAP ********************************************************************* managed_node1 : ok=30 changed=8 unreachable=0 failed=1 skipped=17 rescued=0 ignored=0 Sunday 04 August 2024 00:23:18 -0400 (0:00:00.941) 0:00:10.607 ********* =============================================================================== fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.69s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:3 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.94s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.vpn : Ensure required packages are installed --- 0.79s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.72s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.69s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Create nss directory for testing ---------------------------------------- 0.47s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 fedora.linux_system_roles.vpn : Check if system is ostree --------------- 0.44s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Create sample policy files for testing ---------------------------------- 0.40s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:46 Create sample policy files for testing ---------------------------------- 0.40s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:58 Create sample policy files for testing ---------------------------------- 0.39s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:52 Create sample policies directory for testing ---------------------------- 0.39s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:40 Create /etc/ipsec.d directory for testing ------------------------------- 0.37s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:28 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.37s /tmp/tmp.IZmM7yLACI/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.37s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Ensure the vpn ports status with the firewall role ---------------------- 0.06s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Use vpn role ------------------------------------------------------------ 0.04s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:40 Dynamically add multiple hosts for testing ------------------------------ 0.04s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:2 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.04s /tmp/tmp.IZmM7yLACI/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9