# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_host_to_host_psk_custom.yml ************************************ 1 plays in /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:2 Monday 21 November 2022 20:05:18 +0000 (0:00:00.018) 0:00:00.018 ******* ok: [sut] META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:28 Monday 21 November 2022 20:05:19 +0000 (0:00:01.009) 0:00:01.028 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:2 Monday 21 November 2022 20:05:19 +0000 (0:00:00.036) 0:00:01.065 ******* TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Monday 21 November 2022 20:05:19 +0000 (0:00:00.043) 0:00:01.108 ******* ok: [sut] TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:7 Monday 21 November 2022 20:05:20 +0000 (0:00:00.466) 0:00:01.575 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } META: role_complete for sut TASK [Change inventory_hostname] *********************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:10 Monday 21 November 2022 20:05:20 +0000 (0:00:00.074) 0:00:01.649 ******* ok: [sut] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [add dummy main host] ***************************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:16 Monday 21 November 2022 20:05:20 +0000 (0:00:00.056) 0:00:01.706 ******* creating host via 'add_host': hostname=mainhost.local changed: [sut] => { "add_host": { "groups": [], "host_name": "mainhost.local", "host_vars": {} }, "changed": true } TASK [Create nss directory for testing] **************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:22 Monday 21 November 2022 20:05:20 +0000 (0:00:00.050) 0:00:01.756 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/var/lib/ipsec/nss", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:28 Monday 21 November 2022 20:05:20 +0000 (0:00:00.444) 0:00:02.200 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Dynamically add more hosts] ********************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:34 Monday 21 November 2022 20:05:21 +0000 (0:00:00.254) 0:00:02.455 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/add_hosts.yml for sut TASK [dynamically add multiple hosts for testing] ****************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/add_hosts.yml:2 Monday 21 November 2022 20:05:21 +0000 (0:00:00.030) 0:00:02.486 ******* creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [sut] => (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: [sut] => (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: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/add_hosts.yml:11 Monday 21 November 2022 20:05:21 +0000 (0:00:00.062) 0:00:02.548 ******* ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [Create dummy policies directory for testing] ***************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:39 Monday 21 November 2022 20:05:21 +0000 (0:00:00.035) 0:00:02.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy policy files for testing] *********************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:45 Monday 21 November 2022 20:05:21 +0000 (0:00:00.044) 0:00:02.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy policy files for testing] *********************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:51 Monday 21 November 2022 20:05:21 +0000 (0:00:00.044) 0:00:02.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy policy files for testing] *********************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:57 Monday 21 November 2022 20:05:21 +0000 (0:00:00.047) 0:00:02.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add extra options to check] ********************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:34 Monday 21 November 2022 20:05:21 +0000 (0:00:00.045) 0:00:02.766 ******* ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:65 Monday 21 November 2022 20:05:21 +0000 (0:00:00.045) 0:00:02.812 ******* TASK [fedora.linux_system_roles.vpn : set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Monday 21 November 2022 20:05:21 +0000 (0:00:00.063) 0:00:02.875 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Monday 21 November 2022 20:05:21 +0000 (0:00:00.033) 0:00:02.909 ******* ok: [sut] TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:7 Monday 21 November 2022 20:05:21 +0000 (0:00:00.465) 0:00:03.374 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Monday 21 November 2022 20:05:22 +0000 (0:00:00.065) 0:00:03.439 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: logrotate-3.18.1-4.fc35.x86_64", "Installed: nss-tools-3.83.0-1.fc35.x86_64", "Installed: libreswan-4.9-1.fc35.x86_64", "Installed: ldns-1.8.1-3.fc35.x86_64" ] } TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:12 Monday 21 November 2022 20:05:27 +0000 (0:00:05.063) 0:00:08.502 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for sut TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Monday 21 November 2022 20:05:27 +0000 (0:00:00.037) 0:00:08.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:15 Monday 21 November 2022 20:05:27 +0000 (0:00:00.044) 0:00:08.585 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for sut TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Monday 21 November 2022 20:05:27 +0000 (0:00:00.037) 0:00:08.622 ******* ok: [sut] => { "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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "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": "inactive", "status": "disabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "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" }, "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.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "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" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "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": "inactive", "status": "static" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "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" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "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" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "stopped", "status": "not-found" }, "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-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.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": "enabled-runtime" }, "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-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "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-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "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": "inactive", "status": "disabled" }, "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": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "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-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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": "stopped", "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-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "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" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "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" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:7 Monday 21 November 2022 20:05:29 +0000 (0:00:02.482) 0:00:11.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Initialize _vpn_selinux] ***************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:15 Monday 21 November 2022 20:05:29 +0000 (0:00:00.037) 0:00:11.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Add the ipsec service ports to _vpn_selinux] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:19 Monday 21 November 2022 20:05:29 +0000 (0:00:00.039) 0:00:11.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:26 Monday 21 November 2022 20:05:29 +0000 (0:00:00.042) 0:00:11.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:23 Monday 21 November 2022 20:05:29 +0000 (0:00:00.050) 0:00:11.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:31 Monday 21 November 2022 20:05:29 +0000 (0:00:00.066) 0:00:11.342 ******* ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:41 Monday 21 November 2022 20:05:29 +0000 (0:00:00.065) 0:00:11.408 ******* skipping: [sut] => { "changed": false, "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: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:55 Monday 21 November 2022 20:05:30 +0000 (0:00:00.059) 0:00:11.467 ******* ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:69 Monday 21 November 2022 20:05:30 +0000 (0:00:00.064) 0:00:11.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:95 Monday 21 November 2022 20:05:30 +0000 (0:00:00.092) 0:00:11.624 ******* ok: [sut -> 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: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:134 Monday 21 November 2022 20:05:30 +0000 (0:00:00.079) 0:00:11.703 ******* ok: [sut] => { "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: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:158 Monday 21 November 2022 20:05:30 +0000 (0:00:00.183) 0:00:11.887 ******* changed: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "5548de9a6ca5ceb221ed78759cfd24d33b73abeb", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "gid": 0, "group": "root", "item": "host01.local", "md5sum": "6f8be36a518fdb1df9b1b8cf6f1a0c39", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 447, "src": "/root/.ansible/tmp/ansible-tmp-1669061130.539538-5028-174991369969382/source", "state": "file", "uid": 0 } changed: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "6205a9776734ace683025a5a3c281111c7519559", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "gid": 0, "group": "root", "item": "host02.local", "md5sum": "ee3f70fc92e7feb2fd72fc76255e3db6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 447, "src": "/root/.ansible/tmp/ansible-tmp-1669061131.5725732-5028-209223600162326/source", "state": "file", "uid": 0 } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "checksum": "85d92f6116d7160b37b6bc2d75c63a2e3746b8ce", "dest": "/etc/ipsec.d/mainhost.local-to-sut.conf", "gid": 0, "group": "root", "item": "sut", "md5sum": "36cbd4158285c49c987487f27d51a871", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 439, "src": "/root/.ansible/tmp/ansible-tmp-1669061132.2717607-5028-25726298583203/source", "state": "file", "uid": 0 } NOTIFIED HANDLER fedora.linux_system_roles.vpn : restart vpn service and wait for ssh conn to return for sut NOTIFIED HANDLER fedora.linux_system_roles.vpn : restart vpn service and wait for ssh conn to return for sut TASK [fedora.linux_system_roles.vpn : check if secrets file already exists] **** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:166 Monday 21 November 2022 20:05:32 +0000 (0:00:02.498) 0:00:14.386 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "exists": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "exists": false } } ok: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": false, "item": "sut", "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : create ipsec.secrets files] ************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:172 Monday 21 November 2022 20:05:33 +0000 (0:00:00.714) 0:00:15.100 ******* changed: [sut] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "exists": false } }, "md5sum": "96bc074a63c7df2035dde05852c94b64", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 94, "src": "/root/.ansible/tmp/ansible-tmp-1669061133.7346482-5059-178299105917131/source", "state": "file", "uid": 0 } changed: [sut] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "exists": false } }, "md5sum": "96bc074a63c7df2035dde05852c94b64", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 94, "src": "/root/.ansible/tmp/ansible-tmp-1669061134.4443152-5059-188925818767549/source", "state": "file", "uid": 0 } changed: [sut] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-sut.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'sut', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd2f824a9c4619623bac9127f2e047a90eb46d55", "dest": "/etc/ipsec.d/mainhost.local-to-sut.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-sut.secrets" } }, "item": "sut", "stat": { "exists": false } }, "md5sum": "b178a52f62ae4962025ee8c5564b03c9", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 86, "src": "/root/.ansible/tmp/ansible-tmp-1669061135.1308517-5059-222627159590682/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.vpn : build opportunistic configuration] ******* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:182 Monday 21 November 2022 20:05:35 +0000 (0:00:02.126) 0:00:17.226 ******* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: role_complete for sut TASK [Assert file existence] *************************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:70 Monday 21 November 2022 20:05:35 +0000 (0:00:00.064) 0:00:17.291 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml for sut TASK [stat conf files paths] *************************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:2 Monday 21 November 2022 20:05:35 +0000 (0:00:00.043) 0:00:17.335 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1669061131.4579966, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5548de9a6ca5ceb221ed78759cfd24d33b73abeb", "ctime": 1669061131.4629967, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262428, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1669061131.0389802, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 447, "uid": 0, "version": "2204660480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1669061132.1600242, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6205a9776734ace683025a5a3c281111c7519559", "ctime": 1669061132.1650243, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262429, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1669061131.9140146, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 447, "uid": 0, "version": "679633898", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [stat secrets files paths] ************************************************ task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:8 Monday 21 November 2022 20:05:36 +0000 (0:00:00.495) 0:00:17.830 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1669061134.3361094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "ctime": 1669061134.3411095, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1669061134.0890996, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 94, "uid": 0, "version": "3057152930", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1669061135.0221362, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "ctime": 1669061135.0271366, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1669061134.7771266, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 94, "uid": 0, "version": "3363319888", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:14 Monday 21 November 2022 20:05:36 +0000 (0:00:00.490) 0:00:18.321 ******* ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 447, 'inode': 262428, 'dev': 51713, 'nlink': 1, 'atime': 1669061131.4579966, 'mtime': 1669061131.0389802, 'ctime': 1669061131.4629967, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '5548de9a6ca5ceb221ed78759cfd24d33b73abeb', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2204660480', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "stat": { "atime": 1669061131.4579966, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5548de9a6ca5ceb221ed78759cfd24d33b73abeb", "ctime": 1669061131.4629967, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262428, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1669061131.0389802, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 447, "uid": 0, "version": "2204660480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 447, 'inode': 262429, 'dev': 51713, 'nlink': 1, 'atime': 1669061132.1600242, 'mtime': 1669061131.9140146, 'ctime': 1669061132.1650243, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '6205a9776734ace683025a5a3c281111c7519559', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '679633898', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "stat": { "atime": 1669061132.1600242, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6205a9776734ace683025a5a3c281111c7519559", "ctime": 1669061132.1650243, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262429, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1669061131.9140146, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 447, "uid": 0, "version": "679633898", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:20 Monday 21 November 2022 20:05:36 +0000 (0:00:00.052) 0:00:18.373 ******* ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 94, 'inode': 262431, 'dev': 51713, 'nlink': 1, 'atime': 1669061134.3361094, 'mtime': 1669061134.0890996, 'ctime': 1669061134.3411095, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '22c220a0418ac1d437680bb44f9f744c3eda51a0', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3057152930', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "atime": 1669061134.3361094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "ctime": 1669061134.3411095, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1669061134.0890996, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 94, "uid": 0, "version": "3057152930", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 94, 'inode': 262432, 'dev': 51713, 'nlink': 1, 'atime': 1669061135.0221362, 'mtime': 1669061134.7771266, 'ctime': 1669061135.0271366, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '22c220a0418ac1d437680bb44f9f744c3eda51a0', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3363319888', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "atime": 1669061135.0221362, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22c220a0418ac1d437680bb44f9f744c3eda51a0", "ctime": 1669061135.0271366, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1669061134.7771266, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 94, "uid": 0, "version": "3363319888", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [reset success flag] ****************************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:73 Monday 21 November 2022 20:05:36 +0000 (0:00:00.051) 0:00:18.425 ******* ok: [sut] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [get and store conf files] ************************************************ task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:77 Monday 21 November 2022 20:05:37 +0000 (0:00:00.028) 0:00:18.453 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAxLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAyLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } TASK [check that conf file contains correct information] *********************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:83 Monday 21 November 2022 20:05:37 +0000 (0:00:00.577) 0:00:19.030 ******* skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAxLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.conf'}}, 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAxLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAyLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.conf'}}, 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbGVmdGlkX2Zvcl90ZXN0aW5nCiAgcmlnaHQ9aG9zdDAyLmxvY2FsCiAgcmlnaHRpZD1AcmlnaHRpZF9mb3JfdGVzdGluZwogIGlrZXYyPWluc2lzdAogIGF1dG89c3RhcnQKICBkcGRhY3Rpb249cmVzdGFydAogIGRwZGRlbGF5PTMwcwogIGRwZHRpbWVvdXQ9MzFzCiAgZXNwPWVzcF9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2U9aWtlX3N0cmluZ19mb3JfdGVzdGluZwogIGlrZWxpZmV0aW1lPTE1aAogIGxlZnR1cGRvd249ImxlZnR1cGRvd24gLS1vcHRpb249dmFsdWUiCiAgcmV0cmFuc21pdC10aW1lb3V0PTEwcwogIHNhbGlmZXRpbWU9MTZoCiAgdHlwZT10dW5uZWxfdHlwZV9mb3JfdGVzdGluZwogIGF1dGhieT1zZWNyZXQK", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" }, "skip_reason": "Conditional result was False" } TASK [assert success for conf files] ******************************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:125 Monday 21 November 2022 20:05:37 +0000 (0:00:00.113) 0:00:19.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [get and store secrets files] ********************************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:130 Monday 21 November 2022 20:05:37 +0000 (0:00:00.053) 0:00:19.197 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } TASK [check that secrets file contains correct information] ******************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:136 Monday 21 November 2022 20:05:38 +0000 (0:00:00.458) 0:00:19.655 ******* skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets'}}, 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets'}}, 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkBsZWZ0aWRfZm9yX3Rlc3RpbmcgQHJpZ2h0aWRfZm9yX3Rlc3RpbmcgOiBQU0sgInNoYXJlZF9rZXlfZm9yX3Rlc3RpbmciCg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" }, "skip_reason": "Conditional result was False" } TASK [assert success for secrets files] **************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:148 Monday 21 November 2022 20:05:38 +0000 (0:00:00.066) 0:00:19.722 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [check the firewall and the selinux port status] ************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:153 Monday 21 November 2022 20:05:38 +0000 (0:00:00.056) 0:00:19.778 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/check_firewall_selinux.yml for sut TASK [Get firewall service] **************************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/check_firewall_selinux.yml:4 Monday 21 November 2022 20:05:38 +0000 (0:00:00.045) 0:00:19.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/check_firewall_selinux.yml:9 Monday 21 November 2022 20:05:38 +0000 (0:00:00.030) 0:00:19.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/check_firewall_selinux.yml:14 Monday 21 November 2022 20:05:38 +0000 (0:00:00.029) 0:00:19.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/check_firewall_selinux.yml:22 Monday 21 November 2022 20:05:38 +0000 (0:00:00.030) 0:00:19.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.vpn : restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Monday 21 November 2022 20:05:38 +0000 (0:00:00.030) 0:00:19.944 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for sut RUNNING HANDLER [fedora.linux_system_roles.vpn : enable and restart vpn services] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Monday 21 November 2022 20:05:38 +0000 (0:00:00.035) 0:00:19.980 ******* changed: [sut] => (item=ipsec) => { "ansible_job_id": "401177184141.6190", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/401177184141.6190", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Monday 21 November 2022 20:05:39 +0000 (0:00:01.035) 0:00:21.016 ******* ok: [sut] => { "changed": false, "elapsed": 3 } RUNNING HANDLER [fedora.linux_system_roles.vpn : restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Monday 21 November 2022 20:05:43 +0000 (0:00:03.726) 0:00:24.743 ******* included: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for sut RUNNING HANDLER [fedora.linux_system_roles.vpn : enable and restart vpn services] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Monday 21 November 2022 20:05:43 +0000 (0:00:00.038) 0:00:24.781 ******* changed: [sut] => (item=ipsec) => { "ansible_job_id": "654891038580.6395", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/654891038580.6395", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Monday 21 November 2022 20:05:43 +0000 (0:00:00.564) 0:00:25.345 ******* ok: [sut] => { "changed": false, "elapsed": 3 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=43 changed=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 21 November 2022 20:05:47 +0000 (0:00:03.580) 0:00:28.926 ******* =============================================================================== fedora.linux_system_roles.vpn : Ensure required packages are installed --- 5.06s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.73s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.58s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : create ipsec.conf files ----------------- 2.50s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:158 fedora.linux_system_roles.vpn : Populate service facts ------------------ 2.48s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 fedora.linux_system_roles.vpn : create ipsec.secrets files -------------- 2.13s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:172 fedora.linux_system_roles.vpn : enable and restart vpn services --------- 1.04s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Gathering Facts --------------------------------------------------------- 1.01s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:2 fedora.linux_system_roles.vpn : check if secrets file already exists ---- 0.71s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:166 get and store conf files ------------------------------------------------ 0.58s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:77 fedora.linux_system_roles.vpn : enable and restart vpn services --------- 0.56s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 stat conf files paths --------------------------------------------------- 0.50s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:2 stat secrets files paths ------------------------------------------------ 0.49s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/assert_conf_secrets_files_exist.yml:8 fedora.linux_system_roles.vpn : Ensure ansible_facts used by role ------- 0.47s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 fedora.linux_system_roles.vpn : Ensure ansible_facts used by role ------- 0.47s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 get and store secrets files --------------------------------------------- 0.46s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:130 Create nss directory for testing ---------------------------------------- 0.44s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:22 Create /etc/ipsec.d directory for testing ------------------------------- 0.25s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tasks/setup_test.yml:28 fedora.linux_system_roles.vpn : set psks for hosts ---------------------- 0.18s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:134 check that conf file contains correct information ----------------------- 0.11s /WORKDIR/dist-git-vpn-tests-check-firewall-only-if-managed-i5xyzvdj/tests/tests_host_to_host_psk_custom.yml:83 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---