[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.16.11] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-sOf executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml PLAY [Test mesh tunnels with certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:3 Sunday 15 September 2024 00:25:51 -0400 (0:00:00.019) 0:00:00.019 ****** ok: [managed_node2] TASK [Set up test environment] ************************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:16 Sunday 15 September 2024 00:25:53 -0400 (0:00:01.274) 0:00:01.294 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml for managed_node2 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:2 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.037) 0:00:01.331 ****** TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.039) 0:00:01.371 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.051) 0:00:01.422 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.426) 0:00:01.849 ****** ok: [managed_node2] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.041) 0:00:01.891 ****** skipping: [managed_node2] => (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_node2] => (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" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [Change inventory_hostname] *********************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:11 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.072) 0:00:01.963 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not (__vpn_opportunistic | d(false) | bool)", "skip_reason": "Conditional result was False" } TASK [Add sample main host] **************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:18 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.045) 0:00:02.008 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 Sunday 15 September 2024 00:25:53 -0400 (0:00:00.041) 0:00:02.050 ****** changed: [managed_node2] => { "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": 6, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:28 Sunday 15 September 2024 00:25:54 -0400 (0:00:00.434) 0:00:02.484 ****** ok: [managed_node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Dynamically add more hosts] ********************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:34 Sunday 15 September 2024 00:25:54 -0400 (0:00:00.322) 0:00:02.806 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml for managed_node2 TASK [Dynamically add multiple hosts for testing] ****************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:2 Sunday 15 September 2024 00:25:54 -0400 (0:00:00.023) 0:00:02.830 ****** creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [managed_node2] => (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_node2] => (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/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:11 Sunday 15 September 2024 00:25:54 -0400 (0:00:00.046) 0:00:02.876 ****** ok: [managed_node2] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:40 Sunday 15 September 2024 00:25:54 -0400 (0:00:00.023) 0:00:02.899 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d/policies", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:46 Sunday 15 September 2024 00:25:55 -0400 (0:00:00.344) 0:00:03.244 ****** changed: [managed_node2] => { "changed": true, "dest": "/etc/ipsec.d/policies/private", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:52 Sunday 15 September 2024 00:25:55 -0400 (0:00:00.347) 0:00:03.592 ****** changed: [managed_node2] => { "changed": true, "dest": "/etc/ipsec.d/policies/private-or-clear", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:58 Sunday 15 September 2024 00:25:55 -0400 (0:00:00.344) 0:00:03.937 ****** changed: [managed_node2] => { "changed": true, "dest": "/etc/ipsec.d/policies/clear", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.353) 0:00:04.290 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:21 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.036) 0:00:04.327 ****** ok: [managed_node2] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "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/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:36 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.020) 0:00:04.347 ****** ok: [managed_node2] => { "ansible_facts": { "cert_name": "main_cert" }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:40 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.015) 0:00:04.363 ****** TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.046) 0:00:04.410 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.030) 0:00:04.440 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.037) 0:00:04.478 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.018) 0:00:04.496 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.027) 0:00:04.523 ****** skipping: [managed_node2] => (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_node2] => (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" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Sunday 15 September 2024 00:25:56 -0400 (0:00:00.041) 0:00:04.565 ****** changed: [managed_node2] => { "changed": true, "rc": 0, "results": [ "Installed: libreswan-4.12-2.el8.3.x86_64" ] } lsrpackages: iproute libreswan TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Sunday 15 September 2024 00:26:00 -0400 (0:00:04.000) 0:00:08.566 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for managed_node2 TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.035) 0:00:08.601 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.089) 0:00:08.690 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.043) 0:00:08.733 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.056) 0:00:08.790 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.395) 0:00:09.185 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Sunday 15 September 2024 00:26:00 -0400 (0:00:00.038) 0:00:09.223 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Sunday 15 September 2024 00:26:01 -0400 (0:00:00.395) 0:00:09.619 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Sunday 15 September 2024 00:26:01 -0400 (0:00:00.081) 0:00:09.701 ****** ok: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Sunday 15 September 2024 00:26:04 -0400 (0:00:02.782) 0:00:12.484 ****** skipping: [managed_node2] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Sunday 15 September 2024 00:26:04 -0400 (0:00:00.035) 0:00:12.519 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Sunday 15 September 2024 00:26:04 -0400 (0:00:00.032) 0:00:12.552 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Sunday 15 September 2024 00:26:04 -0400 (0:00:00.034) 0:00:12.586 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Sunday 15 September 2024 00:26:04 -0400 (0:00:00.030) 0:00:12.617 ****** skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Sunday 15 September 2024 00:26:04 -0400 (0:00:00.041) 0:00:12.658 ****** ok: [managed_node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target polkit.service sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ebtables.service ipset.service ip6tables.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Sunday 15 September 2024 00:26:05 -0400 (0:00:00.903) 0:00:13.562 ****** changed: [managed_node2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket system.slice polkit.service dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Sunday 15 September 2024 00:26:06 -0400 (0:00:01.307) 0:00:14.870 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Sunday 15 September 2024 00:26:06 -0400 (0:00:00.043) 0:00:14.913 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Sunday 15 September 2024 00:26:06 -0400 (0:00:00.032) 0:00:14.946 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Sunday 15 September 2024 00:26:06 -0400 (0:00:00.031) 0:00:14.977 ****** changed: [managed_node2] => (item={'service': 'ipsec', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "ipsec", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Sunday 15 September 2024 00:26:08 -0400 (0:00:01.382) 0:00:16.360 ****** skipping: [managed_node2] => (item={'service': 'ipsec', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "'detailed' in fw[0]", "item": { "service": "ipsec", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.058) 0:00:16.418 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.043) 0:00:16.462 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.034) 0:00:16.497 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.038) 0:00:16.535 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.045) 0:00:16.581 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.054) 0:00:16.636 ****** skipping: [managed_node2] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.046) 0:00:16.683 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for managed_node2 TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Sunday 15 September 2024 00:26:08 -0400 (0:00:00.046) 0:00:16.730 ****** ok: [managed_node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.fedoraproject.FirewallD1.service": { "name": "dbus-org.fedoraproject.FirewallD1.service", "source": "systemd", "state": "active", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "running", "status": "enabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipset.service": { "name": "ipset.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Sunday 15 September 2024 00:26:10 -0400 (0:00:01.529) 0:00:18.259 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Initialize _vpn_selinux] ***************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.042) 0:00:18.302 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Add the ipsec service ports to _vpn_selinux] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.047) 0:00:18.350 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.049) 0:00:18.399 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.051) 0:00:18.450 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not \"/usr/bin/openssl\" is exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.044) 0:00:18.495 ****** ok: [managed_node2 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "opportunistic": true, "policies": [ { "cidr": "203.0.113.0/24", "policy": "private" }, { "cidr": "198.51.100.0/24", "policy": "clear" } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.042) 0:00:18.537 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.040) 0:00:18.578 ****** ok: [managed_node2 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "hosts": { "host01.local": "", "host02.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "opportunistic": true, "policies": [ { "cidr": "203.0.113.0/24", "policy": "private" }, { "cidr": "198.51.100.0/24", "policy": "clear" } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.044) 0:00:18.623 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.096) 0:00:18.719 ****** ok: [managed_node2 -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Set psks for hosts] ********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.063) 0:00:18.782 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Create ipsec.conf files] ***************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.116) 0:00:18.899 ****** skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Check if secrets file already exists] **** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.039) 0:00:18.939 ****** skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.039) 0:00:18.978 ****** skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:185 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.016) 0:00:18.995 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml for managed_node2 => (item=(censored due to no_log)) TASK [fedora.linux_system_roles.vpn : Set current IP fact for each host] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:3 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.052) 0:00:19.048 ****** ok: [managed_node2] => { "ansible_facts": { "current_ip": "10.31.46.216" }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set IP with prefix register] ************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:7 Sunday 15 September 2024 00:26:10 -0400 (0:00:00.042) 0:00:19.090 ****** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\nip addr show | grep 10.31.46.216 | awk '{print $2}'", "delta": "0:00:00.005881", "end": "2024-09-15 00:26:11.246763", "rc": 0, "start": "2024-09-15 00:26:11.240882" } STDOUT: 10.31.46.216/22 TASK [fedora.linux_system_roles.vpn : Set net CIDR fact] *********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:14 Sunday 15 September 2024 00:26:11 -0400 (0:00:00.444) 0:00:19.535 ****** ok: [managed_node2] => { "ansible_facts": { "current_subnet": "10.31.44.0/22" }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set policies fact] *********************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:18 Sunday 15 September 2024 00:26:11 -0400 (0:00:00.049) 0:00:19.584 ****** ok: [managed_node2] => { "ansible_facts": { "policies": [ { "cidr": "203.0.113.0/24", "policy": "private" }, { "cidr": "198.51.100.0/24", "policy": "clear" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Apply the default policy as needed] ****** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:22 Sunday 15 September 2024 00:26:11 -0400 (0:00:00.050) 0:00:19.635 ****** [WARNING]: The value 'False' is not a valid IP address or network, passing this value to ipaddr filter might result in breaking change in future. ok: [managed_node2 -> localhost] => { "ansible_facts": { "policies": [ { "cidr": "203.0.113.0/24", "policy": "private" }, { "cidr": "198.51.100.0/24", "policy": "clear" }, { "cidr": "10.31.44.0/22", "policy": "private-or-clear" }, { "cidr": "169.254.0.0/16", "policy": "private-or-clear" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Write tunnel policies for each network] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:48 Sunday 15 September 2024 00:26:11 -0400 (0:00:00.078) 0:00:19.713 ****** changed: [managed_node2] => (item=private) => { "ansible_loop_var": "item", "changed": true, "checksum": "a4789f2036166e565e40fdcea385e5ff82ad16b6", "dest": "/etc/ipsec.d/policies/private", "gid": 0, "group": "root", "item": "private", "md5sum": "8a1d49feea7237a76e10628ddc628987", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 56, "src": "/root/.ansible/tmp/ansible-tmp-1726374371.5317364-11537-68939834786916/source", "state": "file", "uid": 0 } changed: [managed_node2] => (item=clear) => { "ansible_loop_var": "item", "changed": true, "checksum": "b3813bc54754cc738fae6c9fd8011b7165c12da4", "dest": "/etc/ipsec.d/policies/clear", "gid": 0, "group": "root", "item": "clear", "md5sum": "e8ed4c5e8408ffcdea43aa3810fd3442", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 57, "src": "/root/.ansible/tmp/ansible-tmp-1726374372.4152188-11537-202740158414326/source", "state": "file", "uid": 0 } changed: [managed_node2] => (item=private-or-clear) => { "ansible_loop_var": "item", "changed": true, "checksum": "a01deacf3d39f3cbb1dd98f27ef285fe5848e9cc", "dest": "/etc/ipsec.d/policies/private-or-clear", "gid": 0, "group": "root", "item": "private-or-clear", "md5sum": "8dcb5bc8da86138efbb4fe824e03f9a1", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:ipsec_key_file_t:s0", "size": 70, "src": "/root/.ansible/tmp/ansible-tmp-1726374373.0532153-11537-164584196923349/source", "state": "file", "uid": 0 } Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_init_mesh_conns has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_init_mesh_conns has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_init_mesh_conns has been saved. TASK [fedora.linux_system_roles.vpn : Deploy opportunistic configuration to each node] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:58 Sunday 15 September 2024 00:26:13 -0400 (0:00:02.185) 0:00:21.899 ****** Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_init_mesh_conns has been saved. changed: [managed_node2] => { "changed": true, "checksum": "433a116d6d92ed3a1793ba1a066c4f1436b58452", "dest": "/etc/ipsec.d/mesh.conf", "gid": 0, "group": "root", "md5sum": "755e302046e7ac0e477c61e07c01dfab", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 859, "src": "/root/.ansible/tmp/ansible-tmp-1726374373.6983054-11642-206649460679610/source", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:46 Sunday 15 September 2024 00:26:14 -0400 (0:00:00.706) 0:00:22.605 ****** NOTIFIED HANDLER fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return for managed_node2 NOTIFIED HANDLER fedora.linux_system_roles.vpn : Send pings to initialize mesh connections for managed_node2 META: triggered running handlers for managed_node2 RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Sunday 15 September 2024 00:26:14 -0400 (0:00:00.010) 0:00:22.615 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for managed_node2 RUNNING HANDLER [fedora.linux_system_roles.vpn : Enable and restart vpn services] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Sunday 15 September 2024 00:26:14 -0400 (0:00:00.022) 0:00:22.638 ****** changed: [managed_node2] => (item=ipsec) => { "ansible_job_id": "j259757197376.19811", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/j259757197376.19811", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Sunday 15 September 2024 00:26:14 -0400 (0:00:00.481) 0:00:23.119 ****** ok: [managed_node2] => { "changed": false, "elapsed": 3 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Send pings to initialize mesh connections] *** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:6 Sunday 15 September 2024 00:26:18 -0400 (0:00:03.593) 0:00:26.713 ****** skipping: [managed_node2] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != inventory_hostname", "item": "managed_node2", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Assert file existence] *************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:49 Sunday 15 September 2024 00:26:18 -0400 (0:00:00.033) 0:00:26.746 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_mesh_conf_exists.yml for managed_node2 TASK [Stat mesh.conf file path] ************************************************ task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_mesh_conf_exists.yml:2 Sunday 15 September 2024 00:26:18 -0400 (0:00:00.052) 0:00:26.799 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726374375.2233915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "433a116d6d92ed3a1793ba1a066c4f1436b58452", "ctime": 1726374374.3073785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 419430531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726374374.058375, "nlink": 1, "path": "/etc/ipsec.d/mesh.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 859, "uid": 0, "version": "851649575", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that mesh.conf exists] ******************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_mesh_conf_exists.yml:7 Sunday 15 September 2024 00:26:18 -0400 (0:00:00.353) 0:00:27.153 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Reset success flag] ****************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:52 Sunday 15 September 2024 00:26:18 -0400 (0:00:00.021) 0:00:27.174 ****** ok: [managed_node2] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store mesh.conf file] ******************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:56 Sunday 15 September 2024 00:26:18 -0400 (0:00:00.017) 0:00:27.192 ****** ok: [managed_node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHByaXZhdGUKICAgICAgdHlwZT10dW5uZWwKICAgICAgbGVmdD0lZGVmYXVsdHJvdXRlCiAgICAgIGxlZnRpZD0lZnJvbWNlcnQKICAgICAgcmlnaHRpZD0lZnJvbWNlcnQKICAgICAgcmlnaHRyc2FzaWdrZXk9JWNlcnQKICAgICAgcmlnaHRjYT0lc2FtZQogICAgICBsZWZ0Y2VydD1tYWluX2NlcnQKICAgICAgYXV0bz1yb3V0ZQogICAgICByaWdodD0lb3Bwb3J0dW5pc3RpY2dyb3VwCiAgICAgIG5lZ290aWF0aW9uc2h1bnQ9aG9sZAogICAgICBmYWlsdXJlc2h1bnQ9ZHJvcAogICAgICBpa2V2Mj1pbnNpc3QKICAgICAga2V5aW5ndHJpZXM9MQogICAgICByZXRyYW5zbWl0LXRpbWVvdXQ9MnMKCmNvbm4gcHJpdmF0ZS1vci1jbGVhcgogICAgICB0eXBlPXR1bm5lbAogICAgICBsZWZ0PSVkZWZhdWx0cm91dGUKICAgICAgbGVmdGlkPSVmcm9tY2VydAogICAgICByaWdodGlkPSVmcm9tY2VydAogICAgICByaWdodHJzYXNpZ2tleT0lY2VydAogICAgICByaWdodGNhPSVzYW1lCiAgICAgIGxlZnRjZXJ0PW1haW5fY2VydAogICAgICBhdXRvPXJvdXRlCiAgICAgIHJpZ2h0PSVvcHBvcnR1bmlzdGljZ3JvdXAKICAgICAgbmVnb3RpYXRpb25zaHVudD1ob2xkCiAgICAgIGZhaWx1cmVzaHVudD1wYXNzdGhyb3VnaAogICAgICBpa2V2Mj1pbnNpc3QKICAgICAga2V5aW5ndHJpZXM9MQogICAgICByZXRyYW5zbWl0LXRpbWVvdXQ9MnMKCmNvbm4gY2xlYXIKICAgICAgdHlwZT1wYXNzdGhyb3VnaAogICAgICBsZWZ0PSVkZWZhdWx0cm91dGUKICAgICAgcmlnaHQ9JWdyb3VwCiAgICAgIGF1dG89cm91dGUKICAgICAgYXV0aGJ5PW5ldmVyCg==", "encoding": "base64", "source": "/etc/ipsec.d/mesh.conf" } TASK [Extract content for conn private] **************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:61 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.401) 0:00:27.593 ****** ok: [managed_node2] => { "ansible_facts": { "conn_private": "conn private\n type=tunnel\n left=%defaultroute\n leftid=%fromcert\n rightid=%fromcert\n rightrsasigkey=%cert\n rightca=%same\n leftcert=main_cert\n auto=route\n right=%opportunisticgroup\n negotiationshunt=hold\n failureshunt=drop\n ikev2=insist\n keyingtries=1\n retransmit-timeout=2s" }, "changed": false } TASK [Extract content for conn private-or-clear] ******************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:65 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.043) 0:00:27.637 ****** ok: [managed_node2] => { "ansible_facts": { "conn_private_or_clear": "conn private-or-clear\n type=tunnel\n left=%defaultroute\n leftid=%fromcert\n rightid=%fromcert\n rightrsasigkey=%cert\n rightca=%same\n leftcert=main_cert\n auto=route\n right=%opportunisticgroup\n negotiationshunt=hold\n failureshunt=passthrough\n ikev2=insist\n keyingtries=1\n retransmit-timeout=2s" }, "changed": false } TASK [Extract content for conn clear] ****************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:69 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.038) 0:00:27.676 ****** ok: [managed_node2] => { "ansible_facts": { "conn_clear": "conn clear\n type=passthrough\n left=%defaultroute\n right=%group\n auto=route\n authby=never\n" }, "changed": false } TASK [Check that private section contains correct information] ***************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:73 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.038) 0:00:27.715 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "conn_private is not search('type=tunnel') or conn_private is not search('left=%defaultroute') or conn_private is not search('leftid=%fromcert') or conn_private is not search('rightid=%fromcert') or conn_private is not search('rightrsasigkey=%cert') or conn_private is not search('rightca=%same') or conn_private is not search('leftcert=' + __vpn_main_certname) or conn_private is not search('auto=route') or conn_private is not search('right=%opportunisticgroup') or conn_private is not search('negotiationshunt=hold') or conn_private is not search('failureshunt=drop') or conn_private is not search('ikev2=insist') or conn_private is not search('keyingtries=1') or conn_private is not search('retransmit-timeout=2s')", "skip_reason": "Conditional result was False" } TASK [Assert success for private part of conf file] **************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:92 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.027) 0:00:27.742 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check that private-or-clear section contains correct information] ******** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:97 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.041) 0:00:27.784 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "conn_private_or_clear is not search('type=tunnel') or conn_private_or_clear is not search('left=%defaultroute') or conn_private_or_clear is not search('leftid=%fromcert') or conn_private_or_clear is not search('rightid=%fromcert') or conn_private_or_clear is not search('rightrsasigkey=%cert') or conn_private_or_clear is not search('rightca=%same') or conn_private_or_clear is not search('leftcert=' + __vpn_main_certname) or conn_private_or_clear is not search('auto=route') or conn_private_or_clear is not search('right=%opportunisticgroup') or conn_private_or_clear is not search('negotiationshunt=hold') or conn_private_or_clear is not search('failureshunt=passthrough') or conn_private_or_clear is not search('ikev2=insist') or conn_private_or_clear is not search('keyingtries=1') or conn_private_or_clear is not search('retransmit-timeout=2s')", "skip_reason": "Conditional result was False" } TASK [Assert success for private or clear part of conf file] ******************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:116 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.027) 0:00:27.811 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check that clear section contains correct information] ******************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:121 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.038) 0:00:27.849 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "conn_clear is not search('type=passthrough') or conn_clear is not search('left=%defaultroute') or conn_clear is not search('right=%group') or conn_clear is not search('auto=route') or conn_clear is not search('authby=never')", "skip_reason": "Conditional result was False" } TASK [Assert success for clear part of conf file] ****************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:131 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.021) 0:00:27.871 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get and store policies private file] ************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:136 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.041) 0:00:27.913 ****** ok: [managed_node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoyMDMuMC4xMTMuMC8yNAo=", "encoding": "base64", "source": "/etc/ipsec.d/policies/private" } TASK [Get and store policies private or clear file] **************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:141 Sunday 15 September 2024 00:26:19 -0400 (0:00:00.327) 0:00:28.240 ****** ok: [managed_node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoxMC4zMS40NC4wLzIyCjE2OS4yNTQuMC4wLzE2Cg==", "encoding": "base64", "source": "/etc/ipsec.d/policies/private-or-clear" } TASK [Get and store policies clear file] *************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:146 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.337) 0:00:28.577 ****** ok: [managed_node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoxOTguNTEuMTAwLjAvMjQK", "encoding": "base64", "source": "/etc/ipsec.d/policies/clear" } TASK [Check contents of policy private file] *********************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:151 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.314) 0:00:28.892 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_register_private['content'] | b64decode is not search(__vpn_private_host_cidr)", "skip_reason": "Conditional result was False" } TASK [Assert success for policy private file] ********************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:158 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.038) 0:00:28.930 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check contents of policy private or clear file] ************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:163 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.038) 0:00:28.969 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_register_private_or_clear['content'] | b64decode is not search(current_subnet) or __vpn_register_private_or_clear['content'] | b64decode is not search(__vpn_dynamic_hosts_sample_cidr)", "skip_reason": "Conditional result was False" } TASK [Assert success for policy private or clear file] ************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:172 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.037) 0:00:29.007 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check contents of policy clear file] ************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:177 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.038) 0:00:29.046 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_register_clear['content'] | b64decode is not search(__vpn_clear_host_cidr)", "skip_reason": "Conditional result was False" } TASK [Assert success for policy clear file] ************************************ task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:184 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.040) 0:00:29.087 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:189 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.042) 0:00:29.129 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml for managed_node2 TASK [Get firewall service] **************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:9 Sunday 15 September 2024 00:26:20 -0400 (0:00:00.036) 0:00:29.165 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--list-services" ], "delta": "0:00:00.245557", "end": "2024-09-15 00:26:21.447729", "rc": 0, "start": "2024-09-15 00:26:21.202172" } STDOUT: cockpit dhcpv6-client ipsec ssh TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:14 Sunday 15 September 2024 00:26:21 -0400 (0:00:00.573) 0:00:29.739 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get associated selinux ports] ******************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:19 Sunday 15 September 2024 00:26:21 -0400 (0:00:00.029) 0:00:29.769 ****** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --info-service=ipsec | egrep \"^ +ports: +\" | sed -e \"s/ *ports: //\"", "delta": "0:00:00.247835", "end": "2024-09-15 00:26:22.055396", "rc": 0, "start": "2024-09-15 00:26:21.807561" } STDOUT: 500/udp 4500/udp 4500/tcp TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:27 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.575) 0:00:30.345 ****** skipping: [managed_node2] => (item=500/udp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "vpn_manage_selinux | bool", "item": "500/udp", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=4500/udp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "vpn_manage_selinux | bool", "item": "4500/udp", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=4500/tcp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "vpn_manage_selinux | bool", "item": "4500/tcp", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:192 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.065) 0:00:30.411 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node2 => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHByaXZhdGUKICAgICAgdHlwZT10dW5uZWwKICAgICAgbGVmdD0lZGVmYXVsdHJvdXRlCiAgICAgIGxlZnRpZD0lZnJvbWNlcnQKICAgICAgcmlnaHRpZD0lZnJvbWNlcnQKICAgICAgcmlnaHRyc2FzaWdrZXk9JWNlcnQKICAgICAgcmlnaHRjYT0lc2FtZQogICAgICBsZWZ0Y2VydD1tYWluX2NlcnQKICAgICAgYXV0bz1yb3V0ZQogICAgICByaWdodD0lb3Bwb3J0dW5pc3RpY2dyb3VwCiAgICAgIG5lZ290aWF0aW9uc2h1bnQ9aG9sZAogICAgICBmYWlsdXJlc2h1bnQ9ZHJvcAogICAgICBpa2V2Mj1pbnNpc3QKICAgICAga2V5aW5ndHJpZXM9MQogICAgICByZXRyYW5zbWl0LXRpbWVvdXQ9MnMKCmNvbm4gcHJpdmF0ZS1vci1jbGVhcgogICAgICB0eXBlPXR1bm5lbAogICAgICBsZWZ0PSVkZWZhdWx0cm91dGUKICAgICAgbGVmdGlkPSVmcm9tY2VydAogICAgICByaWdodGlkPSVmcm9tY2VydAogICAgICByaWdodHJzYXNpZ2tleT0lY2VydAogICAgICByaWdodGNhPSVzYW1lCiAgICAgIGxlZnRjZXJ0PW1haW5fY2VydAogICAgICBhdXRvPXJvdXRlCiAgICAgIHJpZ2h0PSVvcHBvcnR1bmlzdGljZ3JvdXAKICAgICAgbmVnb3RpYXRpb25zaHVudD1ob2xkCiAgICAgIGZhaWx1cmVzaHVudD1wYXNzdGhyb3VnaAogICAgICBpa2V2Mj1pbnNpc3QKICAgICAga2V5aW5ndHJpZXM9MQogICAgICByZXRyYW5zbWl0LXRpbWVvdXQ9MnMKCmNvbm4gY2xlYXIKICAgICAgdHlwZT1wYXNzdGhyb3VnaAogICAgICBsZWZ0PSVkZWZhdWx0cm91dGUKICAgICAgcmlnaHQ9JWdyb3VwCiAgICAgIGF1dG89cm91dGUKICAgICAgYXV0aGJ5PW5ldmVyCg==', 'source': '/etc/ipsec.d/mesh.conf', 'encoding': 'base64', 'failed': False, 'changed': False}) included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node2 => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoyMDMuMC4xMTMuMC8yNAo=', 'source': '/etc/ipsec.d/policies/private', 'encoding': 'base64', 'failed': False, 'changed': False}) included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node2 => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoxMC4zMS40NC4wLzIyCjE2OS4yNTQuMC4wLzE2Cg==', 'source': '/etc/ipsec.d/policies/private-or-clear', 'encoding': 'base64', 'failed': False, 'changed': False}) included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node2 => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgoxOTguNTEuMTAwLjAvMjQK', 'source': '/etc/ipsec.d/policies/clear', 'encoding': 'base64', 'failed': False, 'changed': False}) TASK [Get file] **************************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.052) 0:00:30.463 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.021) 0:00:30.485 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.057) 0:00:30.542 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.022) 0:00:30.564 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.057) 0:00:30.622 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.021) 0:00:30.644 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.058) 0:00:30.702 ****** skipping: [managed_node2] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.021) 0:00:30.723 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:204 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.064) 0:00:30.787 ****** included: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml for managed_node2 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:2 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.043) 0:00:30.831 ****** TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.032) 0:00:30.863 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.041) 0:00:30.904 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.022) 0:00:30.926 ****** skipping: [managed_node2] => { "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/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.026) 0:00:30.953 ****** skipping: [managed_node2] => (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_node2] => (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" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [Get service facts] ******************************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 Sunday 15 September 2024 00:26:22 -0400 (0:00:00.051) 0:00:31.004 ****** ok: [managed_node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.fedoraproject.FirewallD1.service": { "name": "dbus-org.fedoraproject.FirewallD1.service", "source": "systemd", "state": "active", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "running", "status": "enabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "running", "status": "enabled" }, "ipset.service": { "name": "ipset.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [Stop ipsec service] ****************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:11 Sunday 15 September 2024 00:26:24 -0400 (0:00:01.398) 0:00:32.403 ****** changed: [managed_node2] => { "changed": true, "enabled": false, "name": "ipsec", "state": "stopped", "status": { "ActiveEnterTimestamp": "Sun 2024-09-15 00:26:15 EDT", "ActiveEnterTimestampMonotonic": "317731911", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target sysinit.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-09-15 00:26:15 EDT", "AssertTimestampMonotonic": "317230366", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2024-09-15 00:26:15 EDT", "ConditionTimestampMonotonic": "317230365", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/ipsec.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Internet Key Exchange (IKE) Protocol Daemon for IPsec", "DevicePolicy": "auto", "Documentation": "man:ipsec(8) man:pluto(8) man:ipsec.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20162", "ExecMainStartTimestamp": "Sun 2024-09-15 00:26:15 EDT", "ExecMainStartTimestampMonotonic": "317692553", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/ipsec/pluto ; argv[]=/usr/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork ; ignore_errors=no ; start_time=[Sun 2024-09-15 00:26:15 EDT] ; stop_time=[n/a] ; pid=20162 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --checknflog ; ignore_errors=no ; start_time=[Sun 2024-09-15 00:26:15 EDT] ; stop_time=[Sun 2024-09-15 00:26:15 EDT] ; pid=20151 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --shutdown ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --stopnflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ipsec.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "ipsec.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2024-09-15 00:26:15 EDT", "InactiveExitTimestampMonotonic": "317230960", "InvocationID": "855ad5ab168a462eacd6378db7b35b21", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20162", "MemoryAccounting": "yes", "MemoryCurrent": "4444160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "ipsec.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2024-09-15 00:26:15 EDT", "StateChangeTimestampMonotonic": "317743807", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Startup completed.", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target", "WatchdogTimestamp": "Sun 2024-09-15 00:26:15 EDT", "WatchdogTimestampMonotonic": "317731902", "WatchdogUSec": "3min 20s" } } TASK [Uninstall packages] ****************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 Sunday 15 September 2024 00:26:24 -0400 (0:00:00.663) 0:00:33.067 ****** changed: [managed_node2] => (item=libreswan) => { "ansible_loop_var": "item", "changed": true, "item": "libreswan", "rc": 0, "results": [ "Removed: libreswan-4.12-2.el8.3.x86_64" ] } TASK [Remove ipsec.conf files] ************************************************* task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 Sunday 15 September 2024 00:26:28 -0400 (0:00:03.536) 0:00:36.604 ****** ok: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node1", "path": "/etc/ipsec.d/managed_node2-to-managed_node1.conf", "state": "absent" } ok: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node3", "path": "/etc/ipsec.d/managed_node2-to-managed_node3.conf", "state": "absent" } ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "path": "/etc/ipsec.d/managed_node2-to-host01.local.conf", "state": "absent" } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "path": "/etc/ipsec.d/managed_node2-to-host02.local.conf", "state": "absent" } TASK [Remove ipsec.secrets files] ********************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 Sunday 15 September 2024 00:26:29 -0400 (0:00:01.267) 0:00:37.871 ****** ok: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node1", "path": "/etc/ipsec.d/managed_node2-to-managed_node1.secrets", "state": "absent" } ok: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node3", "path": "/etc/ipsec.d/managed_node2-to-managed_node3.secrets", "state": "absent" } ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "path": "/etc/ipsec.d/managed_node2-to-host01.local.secrets", "state": "absent" } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "path": "/etc/ipsec.d/managed_node2-to-host02.local.secrets", "state": "absent" } TASK [Stop firewall] *********************************************************** task path: /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:55 Sunday 15 September 2024 00:26:30 -0400 (0:00:01.252) 0:00:39.123 ****** changed: [managed_node2] => { "changed": true, "name": "firewalld", "state": "stopped", "status": { "ActiveEnterTimestamp": "Sun 2024-09-15 00:26:06 EDT", "ActiveEnterTimestampMonotonic": "308579267", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.service polkit.service basic.target system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-09-15 00:26:05 EDT", "AssertTimestampMonotonic": "307868844", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2024-09-15 00:26:05 EDT", "ConditionTimestampMonotonic": "307868843", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service ip6tables.service shutdown.target iptables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "18244", "ExecMainStartTimestamp": "Sun 2024-09-15 00:26:05 EDT", "ExecMainStartTimestampMonotonic": "307870099", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2024-09-15 00:26:05 EDT", "InactiveExitTimestampMonotonic": "307870139", "InvocationID": "d0122ecb2bc347818d2e88fc7652851a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "18244", "MemoryAccounting": "yes", "MemoryCurrent": "40308736", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2024-09-15 00:26:06 EDT", "StateChangeTimestampMonotonic": "308579267", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sun 2024-09-15 00:26:06 EDT", "WatchdogTimestampMonotonic": "308579264", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed_node2 : ok=84 changed=15 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Sunday 15 September 2024 00:26:31 -0400 (0:00:00.870) 0:00:39.994 ****** =============================================================================== fedora.linux_system_roles.vpn : Ensure required packages are installed --- 4.00s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.59s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Uninstall packages ------------------------------------------------------ 3.54s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.78s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.vpn : Write tunnel policies for each network --- 2.19s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:48 fedora.linux_system_roles.vpn : Populate service facts ------------------ 1.53s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Get service facts ------------------------------------------------------- 1.40s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.38s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.31s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_mesh_cert.yml:3 Remove ipsec.conf files ------------------------------------------------- 1.27s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 Remove ipsec.secrets files ---------------------------------------------- 1.25s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.90s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Stop firewall ----------------------------------------------------------- 0.87s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:55 fedora.linux_system_roles.vpn : Deploy opportunistic configuration to each node --- 0.71s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:58 Stop ipsec service ------------------------------------------------------ 0.66s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:11 Get associated selinux ports -------------------------------------------- 0.58s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:19 Get firewall service ---------------------------------------------------- 0.57s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:9 fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 0.48s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 fedora.linux_system_roles.vpn : Set IP with prefix register ------------- 0.44s /tmp/collections-sOf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/mesh_conf.yml:7