ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Shf executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:2 Sunday 29 September 2024 01:24:20 -0400 (0:00:00.011) 0:00:00.011 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:6 Sunday 29 September 2024 01:24:22 -0400 (0:00:01.019) 0:00:01.030 ****** changed: [managed-node1 -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml", "gid": 0, "group": "root", "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.0993838-9171-280948253345465/.source.yml", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml", "gid": 0, "group": "root", "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.6598709-9171-4523949123179/.source.yml", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.038037-9171-84485324168296/.source.yml", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.4322646-9171-90888874248825/.source.yml", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/tasks/main.yml:4 Sunday 29 September 2024 01:24:23 -0400 (0:00:01.975) 0:00:03.006 ****** included: fedora.linux_system_roles.vpn for managed-node1 TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.061) 0:00:03.067 ****** included: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.022) 0:00:03.089 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.035) 0:00:03.125 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.317) 0:00:03.442 ****** ok: [managed-node1] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.022) 0:00:03.465 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Sunday 29 September 2024 01:24:24 -0400 (0:00:00.032) 0:00:03.498 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: libreswan-4.15-3.el9.x86_64" ] } lsrpackages: iproute libreswan TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Sunday 29 September 2024 01:24:26 -0400 (0:00:02.410) 0:00:05.908 ****** included: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for managed-node1 TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Sunday 29 September 2024 01:24:26 -0400 (0:00:00.065) 0:00:05.973 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "vpn_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 Sunday 29 September 2024 01:24:27 -0400 (0:00:00.102) 0:00:06.076 ****** included: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for managed-node1 TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Sunday 29 September 2024 01:24:27 -0400 (0:00:00.084) 0:00:06.160 ****** ok: [managed-node1] => { "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" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd-restricted.service": { "name": "chronyd-restricted.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": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "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.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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "microcode.service": { "name": "microcode.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": "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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "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": "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": "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-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-random-seed.service": { "name": "systemd-boot-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-growfs-root.service": { "name": "systemd-growfs-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-growfs@.service": { "name": "systemd-growfs@.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-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": "not-found" }, "systemd-pcrfs-root.service": { "name": "systemd-pcrfs-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pcrfs@.service": { "name": "systemd-pcrfs@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-pcrmachine.service": { "name": "systemd-pcrmachine.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase-initrd.service": { "name": "systemd-pcrphase-initrd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase-sysinit.service": { "name": "systemd-pcrphase-sysinit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase.service": { "name": "systemd-pcrphase.service", "source": "systemd", "state": "stopped", "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-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": "stopped", "status": "disabled" }, "systemd-sysupdate-reboot.service": { "name": "systemd-sysupdate-reboot.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "systemd-sysupdate.service": { "name": "systemd-sysupdate.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "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": "static" }, "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-tmpfiles.service": { "name": "systemd-tmpfiles.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Sunday 29 September 2024 01:24:28 -0400 (0:00:01.790) 0:00:07.951 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Initialize _vpn_selinux] ***************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Sunday 29 September 2024 01:24:28 -0400 (0:00:00.023) 0:00:07.974 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Add the ipsec service ports to _vpn_selinux] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Sunday 29 September 2024 01:24:28 -0400 (0:00:00.027) 0:00:08.002 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.031) 0:00:08.033 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.036) 0:00:08.069 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not \"/usr/bin/openssl\" is exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.069) 0:00:08.138 ****** ok: [managed-node1 -> localhost] => { "ansible_facts": { "vpn_connections": [] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.062) 0:00:08.201 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.062) 0:00:08.264 ****** ok: [managed-node1 -> localhost] => { "ansible_facts": { "vpn_connections": [] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.080) 0:00:08.344 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.086) 0:00:08.431 ****** ok: [managed-node1 -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Set psks for hosts] ********************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.084) 0:00:08.515 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Create ipsec.conf files] ***************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.155) 0:00:08.670 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Check if secrets file already exists] **** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.047) 0:00:08.718 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.044) 0:00:08.763 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:185 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.017) 0:00:08.780 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [caller : Test variable override] ***************************************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/tasks/main.yml:8 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.020) 0:00:08.801 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:47 Sunday 29 September 2024 01:24:29 -0400 (0:00:00.028) 0:00:08.830 ****** changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727587462.0993838-9171-280948253345465/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727587462.0993838-9171-280948253345465/.source.yml', '_original_basename': '.csjuf4_w', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS-9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".csjuf4_w", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.0993838-9171-280948253345465/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.0993838-9171-280948253345465/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727587462.6598709-9171-4523949123179/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727587462.6598709-9171-4523949123179/.source.yml', '_original_basename': '.9zwh767r', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS_9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".9zwh767r", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.6598709-9171-4523949123179/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587462.6598709-9171-4523949123179/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727587463.038037-9171-84485324168296/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727587463.038037-9171-84485324168296/.source.yml', '_original_basename': '.cdm096l_', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".cdm096l_", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.038037-9171-84485324168296/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.038037-9171-84485324168296/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727587463.4322646-9171-90888874248825/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727587463.4322646-9171-90888874248825/.source.yml', '_original_basename': '.z7a7s4is', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".z7a7s4is", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.4322646-9171-90888874248825/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727587463.4322646-9171-90888874248825/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/vars/RedHat.yml", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=16 changed=3 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Sunday 29 September 2024 01:24:31 -0400 (0:00:01.312) 0:00:10.143 ****** =============================================================================== fedora.linux_system_roles.vpn : Ensure required packages are installed --- 2.41s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.98s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:6 fedora.linux_system_roles.vpn : Populate service facts ------------------ 1.79s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Cleanup ----------------------------------------------------------------- 1.31s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:47 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.vpn : Check if system is ostree --------------- 0.32s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 fedora.linux_system_roles.vpn : Set psks for hosts ---------------------- 0.16s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Ensure the vpn ports status with the firewall role ---------------------- 0.10s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert --- 0.09s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 fedora.linux_system_roles.vpn : Configure selinux ----------------------- 0.08s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content --- 0.08s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection --- 0.08s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller --- 0.07s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 fedora.linux_system_roles.vpn : Configure firewall ---------------------- 0.07s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 fedora.linux_system_roles.vpn : Enforce default auth method as needed --- 0.06s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty --- 0.06s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Include role ------------------------------------------------------------ 0.06s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/tests/vpn/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.vpn : Create ipsec.conf files ----------------- 0.05s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 fedora.linux_system_roles.vpn : Check if secrets file already exists ---- 0.04s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Ensure the service and the ports status with the selinux role ----------- 0.04s /tmp/collections-Shf/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31