# 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-weekly-ci-7omvoi8n/.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_unmanaged_host.yml ************************************* 1 plays in /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml PLAY [Test tunnels to hosts not managed by Ansible] **************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:3 Monday 30 January 2023 09:16:40 +0000 (0:00:00.118) 0:00:00.118 ******** ok: [sut] META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:12 Monday 30 January 2023 09:16:46 +0000 (0:00:06.472) 0:00:06.591 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:2 Monday 30 January 2023 09:16:47 +0000 (0:00:00.716) 0:00:07.307 ******** TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Monday 30 January 2023 09:16:48 +0000 (0:00:00.549) 0:00:07.857 ******** ok: [sut] TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:7 Monday 30 January 2023 09:16:49 +0000 (0:00:01.706) 0:00:09.564 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } META: role_complete for sut TASK [Change inventory_hostname] *********************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:11 Monday 30 January 2023 09:16:51 +0000 (0:00:01.946) 0:00:11.511 ******** ok: [sut] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [Add sample main host] **************************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:17 Monday 30 January 2023 09:16:52 +0000 (0:00:00.827) 0:00:12.338 ******** 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-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:21 Monday 30 January 2023 09:16:53 +0000 (0:00:00.667) 0:00:13.005 ******** 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": 6, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:27 Monday 30 January 2023 09:16:57 +0000 (0:00:04.000) 0:00:17.006 ******** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Dynamically add more hosts] ********************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:33 Monday 30 January 2023 09:16:58 +0000 (0:00:01.396) 0:00:18.402 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/add_hosts.yml for sut TASK [Dynamically add multiple hosts for testing] ****************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/add_hosts.yml:2 Monday 30 January 2023 09:16:59 +0000 (0:00:00.666) 0:00:19.069 ******** 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-weekly-ci-7omvoi8n/tests/tasks/add_hosts.yml:11 Monday 30 January 2023 09:17:00 +0000 (0:00:00.801) 0:00:19.870 ******** ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:39 Monday 30 January 2023 09:17:01 +0000 (0:00:00.869) 0:00:20.739 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:45 Monday 30 January 2023 09:17:01 +0000 (0:00:00.785) 0:00:21.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:51 Monday 30 January 2023 09:17:02 +0000 (0:00:00.642) 0:00:22.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:57 Monday 30 January 2023 09:17:03 +0000 (0:00:00.717) 0:00:22.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add extra options and unmanaged host] ************************************ task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:15 Monday 30 January 2023 09:17:04 +0000 (0:00:01.576) 0:00:24.463 ******** ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "host03.local": { "hostname": "169.254.1.1" }, "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:24 Monday 30 January 2023 09:17:05 +0000 (0:00:00.376) 0:00:24.839 ******** TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Monday 30 January 2023 09:17:05 +0000 (0:00:00.639) 0:00:25.478 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Monday 30 January 2023 09:17:06 +0000 (0:00:00.484) 0:00:25.963 ******** ok: [sut] TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:7 Monday 30 January 2023 09:17:08 +0000 (0:00:02.050) 0:00:28.014 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Monday 30 January 2023 09:17:09 +0000 (0:00:01.129) 0:00:29.143 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libreswan-4.9-1.el8.x86_64", "Installed: ldns-1.7.0-21.el8.x86_64", "Installed: nss-tools-3.79.0-10.el8_6.x86_64" ] } TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:12 Monday 30 January 2023 09:17:18 +0000 (0:00:09.411) 0:00:38.555 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Monday 30 January 2023 09:17:19 +0000 (0:00:00.700) 0:00:39.255 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:15 Monday 30 January 2023 09:17:20 +0000 (0:00:00.637) 0:00:39.892 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Monday 30 January 2023 09:17:20 +0000 (0:00:00.710) 0:00:40.602 ******** 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" }, "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.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" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "inactive", "status": "disabled" }, "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": "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "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" }, "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": "inactive", "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.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": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "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-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: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Monday 30 January 2023 09:17:25 +0000 (0:00:04.853) 0:00:45.456 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Monday 30 January 2023 09:17:26 +0000 (0:00:00.404) 0:00:45.861 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Monday 30 January 2023 09:17:27 +0000 (0:00:00.822) 0:00:46.683 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Monday 30 January 2023 09:17:28 +0000 (0:00:01.062) 0:00:47.746 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:25 Monday 30 January 2023 09:17:28 +0000 (0:00:00.526) 0:00:48.272 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:33 Monday 30 January 2023 09:17:30 +0000 (0:00:01.435) 0:00:49.708 ******** ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "hosts": { "host01.local": "", "host02.local": "", "host03.local": { "hostname": "169.254.1.1" }, "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:43 Monday 30 January 2023 09:17:31 +0000 (0:00:01.337) 0:00:51.045 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:58 Monday 30 January 2023 09:17:32 +0000 (0:00:01.490) 0:00:52.535 ******** ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "hosts": { "host01.local": "", "host02.local": "", "host03.local": { "hostname": "169.254.1.1" }, "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:72 Monday 30 January 2023 09:17:34 +0000 (0:00:01.373) 0:00:53.909 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:99 Monday 30 January 2023 09:17:36 +0000 (0:00:02.271) 0:00:56.180 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:136 Monday 30 January 2023 09:17:39 +0000 (0:00:02.934) 0:00:59.115 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:160 Monday 30 January 2023 09:17:41 +0000 (0:00:02.305) 0:01:01.420 ******** changed: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "3c349116d2241c5716771ef38cc932518cf89491", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "gid": 0, "group": "root", "item": "host01.local", "md5sum": "2ef4a4474fdfffdfa753158e5437931c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 181, "src": "/root/.ansible/tmp/ansible-tmp-1675070262.5887868-4989-166165187439074/source", "state": "file", "uid": 0 } changed: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "042329adf4821370840eac0dbc3f1b9a194956ec", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "gid": 0, "group": "root", "item": "host02.local", "md5sum": "b1720b1fe8309f15d66e68d9e6305db2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 181, "src": "/root/.ansible/tmp/ansible-tmp-1675070273.1204016-4989-76644220460524/source", "state": "file", "uid": 0 } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "checksum": "98f8e333441e90a2ec8778a53d9f5d80474c87b7", "dest": "/etc/ipsec.d/mainhost.local-to-sut.conf", "gid": 0, "group": "root", "item": "sut", "md5sum": "a91baa74640c3c1b290a7a95e40751d9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 180, "src": "/root/.ansible/tmp/ansible-tmp-1675070277.6601791-4989-262797838479823/source", "state": "file", "uid": 0 } changed: [sut] => (item=host03.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "3221a466fed42b41acfc1b2afb21bb8182b4f1be", "dest": "/etc/ipsec.d/mainhost.local-to-host03.local.conf", "gid": 0, "group": "root", "item": "host03.local", "md5sum": "c7bc1a2fc5ee585c8c59e1cb84348e72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 177, "src": "/root/.ansible/tmp/ansible-tmp-1675070282.5901525-4989-210833423020898/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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:168 Monday 30 January 2023 09:18:07 +0000 (0:00:25.536) 0:01:26.957 ******** 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 } } ok: [sut] => (item=host03.local) => { "ansible_loop_var": "item", "changed": false, "item": "host03.local", "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:174 Monday 30 January 2023 09:18:11 +0000 (0:00:04.526) 0:01:31.483 ******** 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": "3bd511d965354520318243e30faeed16c9f398ac", "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": "9cb44cf20f61d4c990c7afead07da3fc", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 125, "src": "/root/.ansible/tmp/ansible-tmp-1675070293.6207178-5069-96585320918265/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": "fb330ce8b384df136fddcb837e99b15dbb472ecd", "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": "9da42011d82643a0a300fdbbdd54b0d6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 125, "src": "/root/.ansible/tmp/ansible-tmp-1675070300.7056074-5069-140048363199481/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": "404cbad507420548f98033b828182bb4dd0f0a62", "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": "54e316cd9a64188ae11928a098f9976b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 124, "src": "/root/.ansible/tmp/ansible-tmp-1675070306.3352594-5069-188581012616760/source", "state": "file", "uid": 0 } changed: [sut] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host03.local.secrets', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host03.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9cd87f9f6dc9b52c541a9807ccfce0ff948977aa", "dest": "/etc/ipsec.d/mainhost.local-to-host03.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-host03.local.secrets" } }, "item": "host03.local", "stat": { "exists": false } }, "md5sum": "932c9a860f511e100c438b9045dd9c71", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 123, "src": "/root/.ansible/tmp/ansible-tmp-1675070311.9087644-5069-111939989077876/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:184 Monday 30 January 2023 09:18:36 +0000 (0:00:24.552) 0:01:56.035 ******** 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 [Stat unmanaged host conf file path] ************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:29 Monday 30 January 2023 09:18:38 +0000 (0:00:02.423) 0:01:58.459 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1675070285.8096232, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3221a466fed42b41acfc1b2afb21bb8182b4f1be", "ctime": 1675070285.814623, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 41943431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1675070284.753644, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host03.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 177, "uid": 0, "version": "1797654795", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert existence of unmanaged host conf file] **************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:34 Monday 30 January 2023 09:18:41 +0000 (0:00:02.999) 0:02:01.458 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Stat unmanaged host secrets file path] *********************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:39 Monday 30 January 2023 09:18:42 +0000 (0:00:00.503) 0:02:01.962 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1675070315.0540547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9cd87f9f6dc9b52c541a9807ccfce0ff948977aa", "ctime": 1675070315.0640545, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 176161473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1675070314.2060711, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host03.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 123, "uid": 0, "version": "697056676", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert existence of unmanaged host secrets file] ************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:44 Monday 30 January 2023 09:18:44 +0000 (0:00:01.891) 0:02:03.854 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Reset success flag] ****************************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:49 Monday 30 January 2023 09:18:45 +0000 (0:00:01.437) 0:02:05.292 ******** ok: [sut] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store conf file for unmanaged host] ****************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:53 Monday 30 January 2023 09:18:46 +0000 (0:00:00.855) 0:02:06.147 ******** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCmNvbm4gbWFpbmhvc3QubG9jYWwtdG8tMTY5LjI1NC4xLjEKICBsZWZ0PW1haW5ob3N0LmxvY2FsCiAgbGVmdGlkPUBtYWluaG9zdC5sb2NhbAogIHJpZ2h0PTE2OS4yNTQuMS4xCiAgcmlnaHRpZD0xNjkuMjU0LjEuMQogIGlrZXYyPWluc2lzdAogIGF1dGhieT1zZWNyZXQK", "encoding": "base64", "source": "/etc/ipsec.d/mainhost.local-to-host03.local.conf" } TASK [Check that unmanaged host conf file contains correct information] ******** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:58 Monday 30 January 2023 09:18:53 +0000 (0:00:07.029) 0:02:13.176 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success for unmanaged host conf file] ***************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:71 Monday 30 January 2023 09:18:55 +0000 (0:00:01.537) 0:02:14.714 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get and store unmanaged host secrets files] ****************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:76 Monday 30 January 2023 09:18:56 +0000 (0:00:01.140) 0:02:15.854 ******** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkBtYWluaG9zdC5sb2NhbCAxNjkuMjU0LjEuMSA6IFBTSyAiN2VwU1JHdUgzd25KMm1DZUdkY1Yyamh1cjBWeFFxb1lBbitZUWpHTEo3Qk04T2E2MkxMZFV3Q0VFZHo2Ti9CTSIK", "encoding": "base64", "source": "/etc/ipsec.d/mainhost.local-to-host03.local.secrets" } TASK [Check that secrets file contains correct information] ******************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:81 Monday 30 January 2023 09:18:58 +0000 (0:00:01.897) 0:02:17.752 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success for unmanaged host secrets files] ************************* task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:90 Monday 30 January 2023 09:19:00 +0000 (0:00:02.084) 0:02:19.837 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:95 Monday 30 January 2023 09:19:00 +0000 (0:00:00.681) 0:02:20.519 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/check_firewall_selinux.yml for sut TASK [Get firewall service] **************************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/check_firewall_selinux.yml:9 Monday 30 January 2023 09:19:02 +0000 (0:00:01.749) 0:02:22.268 ******** 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-weekly-ci-7omvoi8n/tests/tasks/check_firewall_selinux.yml:14 Monday 30 January 2023 09:19:02 +0000 (0:00:00.320) 0:02:22.588 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/check_firewall_selinux.yml:19 Monday 30 January 2023 09:19:03 +0000 (0:00:00.249) 0:02:22.838 ******** 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-weekly-ci-7omvoi8n/tests/tasks/check_firewall_selinux.yml:27 Monday 30 January 2023 09:19:03 +0000 (0:00:00.345) 0:02:23.184 ******** 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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Monday 30 January 2023 09:19:04 +0000 (0:00:00.691) 0:02:23.875 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Monday 30 January 2023 09:19:05 +0000 (0:00:01.338) 0:02:25.214 ******** changed: [sut] => (item=ipsec) => { "ansible_job_id": "172705882010.7439", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/172705882010.7439", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Monday 30 January 2023 09:19:24 +0000 (0:00:18.974) 0:02:44.188 ******** ok: [sut] => { "changed": false, "elapsed": 9 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Monday 30 January 2023 09:19:34 +0000 (0:00:10.343) 0:02:54.531 ******** included: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.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-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Monday 30 January 2023 09:19:35 +0000 (0:00:00.556) 0:02:55.088 ******** changed: [sut] => (item=ipsec) => { "ansible_job_id": "543078074431.7933", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/543078074431.7933", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Monday 30 January 2023 09:19:40 +0000 (0:00:04.877) 0:02:59.966 ******** ok: [sut] => { "changed": false, "elapsed": 6 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=42 changed=8 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 30 January 2023 09:19:48 +0000 (0:00:07.909) 0:03:07.875 ******** =============================================================================== fedora.linux_system_roles.vpn : Create ipsec.conf files ---------------- 25.54s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:160 fedora.linux_system_roles.vpn : Create ipsec.secrets files ------------- 24.55s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:174 fedora.linux_system_roles.vpn : Enable and restart vpn services -------- 18.97s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------ 10.34s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : Ensure required packages are installed --- 9.41s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 7.91s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Get and store conf file for unmanaged host ------------------------------ 7.03s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:53 Gathering Facts --------------------------------------------------------- 6.47s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:3 fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 4.88s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 fedora.linux_system_roles.vpn : Populate service facts ------------------ 4.85s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 fedora.linux_system_roles.vpn : Check if secrets file already exists ---- 4.53s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:168 Create nss directory for testing ---------------------------------------- 4.00s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tasks/setup_test.yml:21 -------- Stat unmanaged host conf file path -------------------------------------- 3.00s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:29 fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content --- 2.93s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:99 fedora.linux_system_roles.vpn : Build opportunistic configuration ------- 2.42s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:184 fedora.linux_system_roles.vpn : Set psks for hosts ---------------------- 2.31s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:136 fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert --- 2.27s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:72 Check that secrets file contains correct information -------------------- 2.08s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/tests/tests_host_to_unmanaged_host.yml:81 fedora.linux_system_roles.vpn : Ensure ansible_facts used by role ------- 2.05s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 fedora.linux_system_roles.vpn : Set platform/version specific variables --- 1.95s /WORKDIR/dist-git-vpn-weekly-ci-7omvoi8n/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:7 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---