[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-0z2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_host_to_host_psk_custom.yml ************************************ 1 plays in /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml PLAY [Test host to host tunnel with custom PSK] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:2 Sunday 25 August 2024 00:31:02 -0400 (0:00:00.009) 0:00:00.009 ********* [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Set up test environment] ************************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:26 Sunday 25 August 2024 00:31:03 -0400 (0:00:01.163) 0:00:01.172 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml for managed_node2 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:2 Sunday 25 August 2024 00:31:03 -0400 (0:00:00.042) 0:00:01.214 ********* included: fedora.linux_system_roles.vpn for managed_node2 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 25 August 2024 00:31:03 -0400 (0:00:00.050) 0:00:01.265 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 25 August 2024 00:31:03 -0400 (0:00:00.056) 0:00:01.321 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.411) 0:00:01.732 ********* ok: [managed_node2] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.024) 0:00:01.757 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Change inventory_hostname] *********************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:11 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.047) 0:00:01.805 ********* ok: [managed_node2] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [Add sample main host] **************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:18 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.061) 0:00:01.866 ********* creating host via 'add_host': hostname=mainhost.local changed: [managed_node2] => { "add_host": { "groups": [], "host_name": "mainhost.local", "host_vars": {} }, "changed": true } TASK [Create nss directory for testing] **************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.069) 0:00:01.935 ********* changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/var/lib/ipsec/nss", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:28 Sunday 25 August 2024 00:31:04 -0400 (0:00:00.432) 0:00:02.368 ********* changed: [managed_node2] => { "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 [Dynamically add more hosts] ********************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:34 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.333) 0:00:02.701 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml for managed_node2 TASK [Dynamically add multiple hosts for testing] ****************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:2 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.016) 0:00:02.718 ********* creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [managed_node2] => (item=1) => { "add_host": { "groups": [ "testing" ], "host_name": "host01.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 1 } changed: [managed_node2] => (item=2) => { "add_host": { "groups": [ "testing" ], "host_name": "host02.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 2 } TASK [Create mock vpn_connections] ********************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:11 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.044) 0:00:02.763 ********* ok: [managed_node2] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "mainhost.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:40 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.019) 0:00:02.782 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:46 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.033) 0:00:02.815 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:52 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.032) 0:00:02.848 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:58 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.036) 0:00:02.884 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 Sunday 25 August 2024 00:31:05 -0400 (0:00:00.038) 0:00:02.923 ********* ok: [managed_node2] => { "changed": false, "enabled": false, "failed_when_result": false, "name": "firewalld", "state": "stopped", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target polkit.service sysinit.target dbus.socket dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service shutdown.target ipset.service ip6tables.service ebtables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DeviceAllow": "char-rtc r", "DevicePolicy": "closed", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3702898688", "EffectiveMemoryMax": "3702898688", "EffectiveTasksMax": "22368", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13980", "LimitNPROCSoft": "13980", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13980", "LimitSIGPENDINGSoft": "13980", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3316797440", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "yes", "ProtectHome": "yes", "ProtectHostname": "yes", "ProtectKernelLogs": "yes", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22368", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [Add extra options to check] ********************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:29 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.718) 0:00:03.642 ********* ok: [managed_node2] => { "ansible_facts": { "vpn_connections": [ { "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:60 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.047) 0:00:03.689 ********* included: fedora.linux_system_roles.vpn for managed_node2 TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.083) 0:00:03.773 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.036) 0:00:03.809 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.055) 0:00:03.865 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.028) 0:00:03.893 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.029) 0:00:03.923 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Sunday 25 August 2024 00:31:06 -0400 (0:00:00.059) 0:00:03.982 ********* changed: [managed_node2] => { "changed": true, "rc": 0, "results": [ "Installed: libreswan-4.15-5.el10.x86_64" ] } lsrpackages: iproute libreswan TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Sunday 25 August 2024 00:31:09 -0400 (0:00:02.675) 0:00:06.657 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for managed_node2 TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Sunday 25 August 2024 00:31:09 -0400 (0:00:00.022) 0:00:06.680 ********* skipping: [managed_node2] => { "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-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 Sunday 25 August 2024 00:31:09 -0400 (0:00:00.033) 0:00:06.714 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for managed_node2 TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Sunday 25 August 2024 00:31:09 -0400 (0:00:00.034) 0:00:06.749 ********* ok: [managed_node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "audit-rules.service": { "name": "audit-rules.service", "source": "systemd", "state": "stopped", "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" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "capsule@.service": { "name": "capsule@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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" }, "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" }, "dhcpcd.service": { "name": "dhcpcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dhcpcd@.service": { "name": "dhcpcd@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "fips-crypto-policy-overlay.service": { "name": "fips-crypto-policy-overlay.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fsidd.service": { "name": "fsidd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "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" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.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" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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@dm_mod.service": { "name": "modprobe@dm_mod.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@loop.service": { "name": "modprobe@loop.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": "inactive", "status": "disabled" }, "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" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-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" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon-root.service": { "name": "quotaon-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "quotaon@.service": { "name": "quotaon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ssh-host-keys-migration.service": { "name": "ssh-host-keys-migration.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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-battery-check.service": { "name": "systemd-battery-check.service", "source": "systemd", "state": "stopped", "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": "inactive", "status": "disabled" }, "systemd-bootctl@.service": { "name": "systemd-bootctl@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-confext.service": { "name": "systemd-confext.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-creds@.service": { "name": "systemd-creds@.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-clear.service": { "name": "systemd-hibernate-clear.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hibernate-resume.service": { "name": "systemd-hibernate-resume.service", "source": "systemd", "state": "stopped", "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": "stopped", "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-sync@.service": { "name": "systemd-journald-sync@.service", "source": "systemd", "state": "unknown", "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-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-pcrextend@.service": { "name": "systemd-pcrextend@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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-pcrlock-file-system.service": { "name": "systemd-pcrlock-file-system.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-firmware-code.service": { "name": "systemd-pcrlock-firmware-code.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-firmware-config.service": { "name": "systemd-pcrlock-firmware-config.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-machine-id.service": { "name": "systemd-pcrlock-machine-id.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-make-policy.service": { "name": "systemd-pcrlock-make-policy.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-secureboot-authority.service": { "name": "systemd-pcrlock-secureboot-authority.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-secureboot-policy.service": { "name": "systemd-pcrlock-secureboot-policy.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock@.service": { "name": "systemd-pcrlock@.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": "stopped", "status": "enabled" }, "systemd-quotacheck-root.service": { "name": "systemd-quotacheck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-quotacheck@.service": { "name": "systemd-quotacheck@.service", "source": "systemd", "state": "unknown", "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-soft-reboot.service": { "name": "systemd-soft-reboot.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": "enabled" }, "systemd-sysext@.service": { "name": "systemd-sysext@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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-early.service": { "name": "systemd-tmpfiles-setup-dev-early.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-tpm2-setup-early.service": { "name": "systemd-tpm2-setup-early.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tpm2-setup.service": { "name": "systemd-tpm2-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-load-credentials.service": { "name": "systemd-udev-load-credentials.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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" }, "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" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Sunday 25 August 2024 00:31:11 -0400 (0:00:01.834) 0:00:08.583 ********* skipping: [managed_node2] => { "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-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.021) 0:00:08.605 ********* skipping: [managed_node2] => { "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-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.026) 0:00:08.631 ********* skipping: [managed_node2] => { "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-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.024) 0:00:08.656 ********* skipping: [managed_node2] => { "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-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.024) 0:00:08.680 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_ensure_openssl | d(true)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.044) 0:00:08.725 ********* ok: [managed_node2 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.056) 0:00:08.781 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.042) 0:00:08.824 ********* ok: [managed_node2 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "managed_node1": "", "managed_node2": "", "managed_node3": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.050) 0:00:08.874 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.056) 0:00:08.931 ********* ok: [managed_node2 -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Set psks for hosts] ********************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.055) 0:00:08.987 ********* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Create ipsec.conf files] ***************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 Sunday 25 August 2024 00:31:11 -0400 (0:00:00.172) 0:00:09.159 ********* changed: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "checksum": "015d6addcd3d50ab497ba66c3b2ffa3dbfd88218", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node1.conf", "gid": 0, "group": "root", "item": "managed_node1", "md5sum": "78e21d6f9a2ce6660dbc737291c63af8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 458, "src": "/root/.ansible/tmp/ansible-tmp-1724560271.7197154-7623-31373173405585/.source.conf", "state": "file", "uid": 0 } changed: [managed_node2] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "checksum": "3aba1d90669e6d87e2d1c8ecec050621713b5215", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node2.conf", "gid": 0, "group": "root", "item": "managed_node2", "md5sum": "c9178f41856c102858b3eabd111fb7ef", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 455, "src": "/root/.ansible/tmp/ansible-tmp-1724560272.5563715-7623-97023865008599/.source.conf", "state": "file", "uid": 0 } changed: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "checksum": "45e133a6cd3dedec11b1af38780847f2e47d6e48", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node3.conf", "gid": 0, "group": "root", "item": "managed_node3", "md5sum": "0853c0fa5e3be5e478ccc9c72e0bcc8d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 458, "src": "/root/.ansible/tmp/ansible-tmp-1724560273.301843-7623-241178401420844/.source.conf", "state": "file", "uid": 0 } changed: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "1aaa38ce169f0f10e11e83ca17e784db0a5b15a9", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "gid": 0, "group": "root", "item": "host01.local", "md5sum": "ff6f6f5e1cb7af4246854afd4f868011", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 466, "src": "/root/.ansible/tmp/ansible-tmp-1724560273.9948862-7623-34665406006921/.source.conf", "state": "file", "uid": 0 } changed: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "4f44b0aa502735782b6a4ada96b1e49b71ac94ed", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "gid": 0, "group": "root", "item": "host02.local", "md5sum": "f713fe2cd23eac3d38b8c455135fbecc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 466, "src": "/root/.ansible/tmp/ansible-tmp-1724560274.6190774-7623-115190859661792/.source.conf", "state": "file", "uid": 0 } Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. TASK [fedora.linux_system_roles.vpn : Check if secrets file already exists] **** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Sunday 25 August 2024 00:31:15 -0400 (0:00:03.610) 0:00:12.770 ********* ok: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node1", "stat": { "exists": false } } ok: [managed_node2] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node2", "stat": { "exists": false } } ok: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node3", "stat": { "exists": false } } ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "exists": false } } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Sunday 25 August 2024 00:31:16 -0400 (0:00:01.603) 0:00:14.374 ********* changed: [managed_node2] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-managed_node1.secrets', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'managed_node1', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ec02b332aa427091e033dbbb02afcef1014caa93", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node1.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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.secrets" } }, "item": "managed_node1", "stat": { "exists": false } }, "md5sum": "733967674dceb95795dda66584f1e423", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 105, "src": "/root/.ansible/tmp/ansible-tmp-1724560276.892166-7929-36237258129682/.source.secrets", "state": "file", "uid": 0 } changed: [managed_node2] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-managed_node2.secrets', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'managed_node2', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b42c54460d1102650a8808558cc493a69cb16e24", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node2.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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.secrets" } }, "item": "managed_node2", "stat": { "exists": false } }, "md5sum": "18117b5fa3aa2a35a0a8b944671fb2ba", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 104, "src": "/root/.ansible/tmp/ansible-tmp-1724560277.541975-7929-48433001164083/.source.secrets", "state": "file", "uid": 0 } changed: [managed_node2] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-managed_node3.secrets', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'managed_node3', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d15d8b2dfe34cf8c6e214d2a5a7a53ff854c0bf6", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node3.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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.secrets" } }, "item": "managed_node3", "stat": { "exists": false } }, "md5sum": "92c6b6b2f1e73d1efe17da552faf5623", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 105, "src": "/root/.ansible/tmp/ansible-tmp-1724560278.212512-7929-127889566427304/.source.secrets", "state": "file", "uid": 0 } changed: [managed_node2] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': 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": "93759ec35bdf30eb5702da4ef83b311b588018a0", "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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "exists": false } }, "md5sum": "f67ed89220c78a6485c3fee2dce29be5", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 113, "src": "/root/.ansible/tmp/ansible-tmp-1724560278.8676867-7929-48665422040795/.source.secrets", "state": "file", "uid": 0 } changed: [managed_node2] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': 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": "93759ec35bdf30eb5702da4ef83b311b588018a0", "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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "exists": false } }, "md5sum": "f67ed89220c78a6485c3fee2dce29be5", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 113, "src": "/root/.ansible/tmp/ansible-tmp-1724560279.5664456-7929-185397298096926/.source.secrets", "state": "file", "uid": 0 } Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:185 Sunday 25 August 2024 00:31:20 -0400 (0:00:03.333) 0:00:17.707 ********* skipping: [managed_node2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Assert file existence] *************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:65 Sunday 25 August 2024 00:31:20 -0400 (0:00:00.044) 0:00:17.751 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml for managed_node2 TASK [Stat conf files paths] *************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:2 Sunday 25 August 2024 00:31:20 -0400 (0:00:00.031) 0:00:17.783 ********* ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1724560274.5447521, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1aaa38ce169f0f10e11e83ca17e784db0a5b15a9", "ctime": 1724560274.5507522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 509608067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724560274.2997499, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 466, "uid": 0, "version": "49836983", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1724560275.1887584, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4f44b0aa502735782b6a4ada96b1e49b71ac94ed", "ctime": 1724560275.1937582, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724560274.938756, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 466, "uid": 0, "version": "1239832083", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Stat secrets files paths] ************************************************ task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:8 Sunday 25 August 2024 00:31:21 -0400 (0:00:01.025) 0:00:18.809 ********* ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1724560279.4777994, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1724560279.4827993, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35651717, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724560279.2027967, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 113, "uid": 0, "version": "2806603352", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1724560280.1268055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1724560280.1318057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 41943172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724560279.870803, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 113, "uid": 0, "version": "351589425", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:14 Sunday 25 August 2024 00:31:21 -0400 (0:00:00.678) 0:00:19.487 ********* ok: [managed_node2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 466, 'inode': 509608067, 'dev': 51714, 'nlink': 1, 'atime': 1724560274.5447521, 'mtime': 1724560274.2997499, 'ctime': 1724560274.5507522, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '1aaa38ce169f0f10e11e83ca17e784db0a5b15a9', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '49836983', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "stat": { "atime": 1724560274.5447521, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1aaa38ce169f0f10e11e83ca17e784db0a5b15a9", "ctime": 1724560274.5507522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 509608067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724560274.2997499, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 466, "uid": 0, "version": "49836983", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 466, 'inode': 515899524, 'dev': 51714, 'nlink': 1, 'atime': 1724560275.1887584, 'mtime': 1724560274.938756, 'ctime': 1724560275.1937582, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '4f44b0aa502735782b6a4ada96b1e49b71ac94ed', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '1239832083', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "stat": { "atime": 1724560275.1887584, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4f44b0aa502735782b6a4ada96b1e49b71ac94ed", "ctime": 1724560275.1937582, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724560274.938756, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 466, "uid": 0, "version": "1239832083", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:20 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.034) 0:00:19.521 ********* ok: [managed_node2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 113, 'inode': 35651717, 'dev': 51714, 'nlink': 1, 'atime': 1724560279.4777994, 'mtime': 1724560279.2027967, 'ctime': 1724560279.4827993, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '93759ec35bdf30eb5702da4ef83b311b588018a0', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2806603352', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "atime": 1724560279.4777994, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1724560279.4827993, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35651717, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724560279.2027967, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 113, "uid": 0, "version": "2806603352", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 113, 'inode': 41943172, 'dev': 51714, 'nlink': 1, 'atime': 1724560280.1268055, 'mtime': 1724560279.870803, 'ctime': 1724560280.1318057, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '93759ec35bdf30eb5702da4ef83b311b588018a0', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '351589425', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "atime": 1724560280.1268055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1724560280.1318057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 41943172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724560279.870803, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 113, "uid": 0, "version": "351589425", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Reset success flag] ****************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:68 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.046) 0:00:19.568 ********* ok: [managed_node2] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store conf files] ************************************************ task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:72 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.030) 0:00:19.599 ********* ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMS5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMS5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMi5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMi5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } TASK [Check that conf file contains correct information] *********************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:78 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.702) 0:00:20.301 ********* skipping: [managed_node2] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMS5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMS5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.conf'}}, 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode is not search('left=' + __vpn_main_hostname) or item.content | b64decode is not search('leftid=@' + __vpn_leftid) or item.content | b64decode is not search('right=host0' + (idx + 1) | string + '.local') or item.content | b64decode is not search('rightid=@' + __vpn_rightid) or item.content | b64decode is not search('ikev2=insist') or item.content | b64decode is not search('authby=secret') or item.content | b64decode is not search('auto=start') or item.content | b64decode is not search('ike=' + __vpn_ike) or item.content | b64decode is not search('esp=' + __vpn_esp) or item.content | b64decode is not search('ikelifetime=' + __vpn_ikelifetime) or item.content | b64decode is not search('salifetime=' + __vpn_salifetime) or item.content | b64decode is not search('type=' + __vpn_type) or item.content | b64decode is not search('retransmit-timeout=' + __vpn_retransmit_timeout) or item.content | b64decode is not search('dpddelay=' + __vpn_dpddelay) or item.content | b64decode is not search('dpdtimeout=' + __vpn_dpdtimeout) or item.content | b64decode is not search('dpdaction=' + __vpn_dpdaction) or item.content | b64decode is not search('leftupdown=' + __vpn_leftupdown_expected)", "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMS5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMS5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMi5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMi5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.conf'}}, 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode is not search('left=' + __vpn_main_hostname) or item.content | b64decode is not search('leftid=@' + __vpn_leftid) or item.content | b64decode is not search('right=host0' + (idx + 1) | string + '.local') or item.content | b64decode is not search('rightid=@' + __vpn_rightid) or item.content | b64decode is not search('ikev2=insist') or item.content | b64decode is not search('authby=secret') or item.content | b64decode is not search('auto=start') or item.content | b64decode is not search('ike=' + __vpn_ike) or item.content | b64decode is not search('esp=' + __vpn_esp) or item.content | b64decode is not search('ikelifetime=' + __vpn_ikelifetime) or item.content | b64decode is not search('salifetime=' + __vpn_salifetime) or item.content | b64decode is not search('type=' + __vpn_type) or item.content | b64decode is not search('retransmit-timeout=' + __vpn_retransmit_timeout) or item.content | b64decode is not search('dpddelay=' + __vpn_dpddelay) or item.content | b64decode is not search('dpdtimeout=' + __vpn_dpdtimeout) or item.content | b64decode is not search('dpdaction=' + __vpn_dpdaction) or item.content | b64decode is not search('leftupdown=' + __vpn_leftupdown_expected)", "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIG1haW5ob3N0LmxvY2FsLXRvLWhvc3QwMi5sb2NhbAogIGxlZnQ9bWFpbmhvc3QubG9jYWwKICBsZWZ0aWQ9QGxlZnRpZF9mb3JfdGVzdGluZwogIHJpZ2h0PWhvc3QwMi5sb2NhbAogIHJpZ2h0aWQ9QHJpZ2h0aWRfZm9yX3Rlc3RpbmcKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgZHBkYWN0aW9uPXJlc3RhcnQKICBkcGRkZWxheT0zMHMKICBkcGR0aW1lb3V0PTMxcwogIGVzcD1lc3Bfc3RyaW5nX2Zvcl90ZXN0aW5nCiAgaWtlPWlrZV9zdHJpbmdfZm9yX3Rlc3RpbmcKICBpa2VsaWZldGltZT0xNWgKICBsZWZ0dXBkb3duPSJsZWZ0dXBkb3duIC0tb3B0aW9uPXZhbHVlIgogIHJldHJhbnNtaXQtdGltZW91dD0xMHMKICBzYWxpZmV0aW1lPTE2aAogIHR5cGU9dHVubmVsX3R5cGVfZm9yX3Rlc3RpbmcKICBhdXRoYnk9c2VjcmV0Cg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Assert success for conf files] ******************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:120 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.125) 0:00:20.427 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get and store secrets files] ********************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:125 Sunday 25 August 2024 00:31:22 -0400 (0:00:00.043) 0:00:20.471 ********* ok: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } ok: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } TASK [Check that secrets file contains correct information] ******************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:131 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.633) 0:00:21.104 ********* skipping: [managed_node2] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets'}}, 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode | regex_search('^@' + __vpn_leftid + ' @' + __vpn_rightid + ' : PSK \"' + __vpn_shared_key + '\"', multiline=True) | d() | length == 0", "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'encoding': 'base64', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets'}}, 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode | regex_search('^@' + __vpn_leftid + ' @' + __vpn_rightid + ' : PSK \"' + __vpn_shared_key + '\"', multiline=True) | d() | length == 0", "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbGVmdGlkX2Zvcl90ZXN0aW5nIEByaWdodGlkX2Zvcl90ZXN0aW5nIDogUFNLICJzaGFyZWRfa2V5X2Zvcl90ZXN0aW5nIgo=", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Assert success for secrets files] **************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:143 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.058) 0:00:21.163 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:148 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.041) 0:00:21.204 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml for managed_node2 TASK [Get firewall service] **************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:9 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.033) 0:00:21.237 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:14 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.018) 0:00:21.256 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:19 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.016) 0:00:21.273 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:27 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.016) 0:00:21.289 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:151 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.017) 0:00:21.306 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml for managed_node2 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:2 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.037) 0:00:21.344 ********* included: fedora.linux_system_roles.vpn for managed_node2 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.035) 0:00:21.379 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.044) 0:00:21.424 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.023) 0:00:21.447 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 25 August 2024 00:31:23 -0400 (0:00:00.027) 0:00:21.475 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Get service facts] ******************************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 Sunday 25 August 2024 00:31:24 -0400 (0:00:00.100) 0:00:21.575 ********* ok: [managed_node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "audit-rules.service": { "name": "audit-rules.service", "source": "systemd", "state": "stopped", "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" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "capsule@.service": { "name": "capsule@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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" }, "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" }, "dhcpcd.service": { "name": "dhcpcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dhcpcd@.service": { "name": "dhcpcd@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "fips-crypto-policy-overlay.service": { "name": "fips-crypto-policy-overlay.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fsidd.service": { "name": "fsidd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "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" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.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" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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@dm_mod.service": { "name": "modprobe@dm_mod.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@loop.service": { "name": "modprobe@loop.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": "inactive", "status": "disabled" }, "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" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-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" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon-root.service": { "name": "quotaon-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "quotaon@.service": { "name": "quotaon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ssh-host-keys-migration.service": { "name": "ssh-host-keys-migration.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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-battery-check.service": { "name": "systemd-battery-check.service", "source": "systemd", "state": "stopped", "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": "inactive", "status": "disabled" }, "systemd-bootctl@.service": { "name": "systemd-bootctl@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-confext.service": { "name": "systemd-confext.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-creds@.service": { "name": "systemd-creds@.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-clear.service": { "name": "systemd-hibernate-clear.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hibernate-resume.service": { "name": "systemd-hibernate-resume.service", "source": "systemd", "state": "stopped", "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": "stopped", "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-sync@.service": { "name": "systemd-journald-sync@.service", "source": "systemd", "state": "unknown", "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-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-pcrextend@.service": { "name": "systemd-pcrextend@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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-pcrlock-file-system.service": { "name": "systemd-pcrlock-file-system.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-firmware-code.service": { "name": "systemd-pcrlock-firmware-code.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-firmware-config.service": { "name": "systemd-pcrlock-firmware-config.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-machine-id.service": { "name": "systemd-pcrlock-machine-id.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-make-policy.service": { "name": "systemd-pcrlock-make-policy.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-secureboot-authority.service": { "name": "systemd-pcrlock-secureboot-authority.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock-secureboot-policy.service": { "name": "systemd-pcrlock-secureboot-policy.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-pcrlock@.service": { "name": "systemd-pcrlock@.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": "stopped", "status": "enabled" }, "systemd-quotacheck-root.service": { "name": "systemd-quotacheck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-quotacheck@.service": { "name": "systemd-quotacheck@.service", "source": "systemd", "state": "unknown", "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-soft-reboot.service": { "name": "systemd-soft-reboot.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": "enabled" }, "systemd-sysext@.service": { "name": "systemd-sysext@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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-early.service": { "name": "systemd-tmpfiles-setup-dev-early.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-tpm2-setup-early.service": { "name": "systemd-tpm2-setup-early.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tpm2-setup.service": { "name": "systemd-tpm2-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-load-credentials.service": { "name": "systemd-udev-load-credentials.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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" }, "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" } } }, "changed": false } TASK [Stop ipsec service] ****************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:11 Sunday 25 August 2024 00:31:25 -0400 (0:00:01.710) 0:00:23.286 ********* ok: [managed_node2] => { "changed": false, "enabled": false, "name": "ipsec", "state": "stopped", "status": { "AccessSELinuxContext": "system_u:object_r:ipsec_mgmt_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target network-online.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Internet Key Exchange (IKE) Protocol Daemon for IPsec", "DevicePolicy": "auto", "Documentation": "\"man:ipsec(8)\" \"man:pluto(8)\" \"man:ipsec.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3702898688", "EffectiveMemoryMax": "3702898688", "EffectiveTasksMax": "22368", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/ipsec/pluto ; argv[]=/usr/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/ipsec/pluto ; argv[]=/usr/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --checknflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --checknflog ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --shutdown ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --shutdown ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --stopnflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPostEx": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --stopnflog ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/ipsec.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "ipsec.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13980", "LimitNPROCSoft": "13980", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13980", "LimitSIGPENDINGSoft": "13980", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3328880640", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "ipsec.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartPreventExitStatus": "12", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22368", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-online.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [Uninstall packages] ****************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 Sunday 25 August 2024 00:31:26 -0400 (0:00:00.566) 0:00:23.852 ********* changed: [managed_node2] => (item=libreswan) => { "ansible_loop_var": "item", "changed": true, "item": "libreswan", "rc": 0, "results": [ "Removed: libreswan-4.15-5.el10.x86_64" ] } TASK [Remove ipsec.conf files] ************************************************* task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 Sunday 25 August 2024 00:31:27 -0400 (0:00:01.074) 0:00:24.927 ********* changed: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node1", "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.conf", "state": "absent" } changed: [managed_node2] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node2", "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.conf", "state": "absent" } changed: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node3", "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.conf", "state": "absent" } changed: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "item": "host01.local", "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "state": "absent" } changed: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "item": "host02.local", "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "state": "absent" } TASK [Remove ipsec.secrets files] ********************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 Sunday 25 August 2024 00:31:29 -0400 (0:00:01.694) 0:00:26.621 ********* changed: [managed_node2] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node1", "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.secrets", "state": "absent" } changed: [managed_node2] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node2", "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.secrets", "state": "absent" } changed: [managed_node2] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node3", "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.secrets", "state": "absent" } changed: [managed_node2] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "item": "host01.local", "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "state": "absent" } changed: [managed_node2] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "item": "host02.local", "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "state": "absent" } TASK [Stop firewall] *********************************************************** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:55 Sunday 25 August 2024 00:31:30 -0400 (0:00:01.694) 0:00:28.316 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "vpn_manage_firewall | bool", "skip_reason": "Conditional result was False" } NOTIFIED HANDLER fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return for managed_node2 RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Sunday 25 August 2024 00:31:30 -0400 (0:00:00.055) 0:00:28.371 ********* included: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for managed_node2 RUNNING HANDLER [fedora.linux_system_roles.vpn : Enable and restart vpn services] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Sunday 25 August 2024 00:31:30 -0400 (0:00:00.027) 0:00:28.399 ********* changed: [managed_node2] => (item=ipsec) => { "ansible_job_id": "j713399331200.13470", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/j713399331200.13470", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Sunday 25 August 2024 00:31:31 -0400 (0:00:00.468) 0:00:28.867 ********* ok: [managed_node2] => { "changed": false, "elapsed": 4 } PLAY RECAP ********************************************************************* managed_node2 : ok=48 changed=11 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 Sunday 25 August 2024 00:31:36 -0400 (0:00:04.761) 0:00:33.629 ********* =============================================================================== fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 4.76s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : Create ipsec.conf files ----------------- 3.61s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 fedora.linux_system_roles.vpn : Create ipsec.secrets files -------------- 3.33s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 fedora.linux_system_roles.vpn : Ensure required packages are installed --- 2.68s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Populate service facts ------------------ 1.83s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Get service facts ------------------------------------------------------- 1.71s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 Remove ipsec.secrets files ---------------------------------------------- 1.69s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 Remove ipsec.conf files ------------------------------------------------- 1.69s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 fedora.linux_system_roles.vpn : Check if secrets file already exists ---- 1.60s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:2 Uninstall packages ------------------------------------------------------ 1.07s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 Stat conf files paths --------------------------------------------------- 1.03s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:2 Ensure firewalld not running if not testing firewall -------------------- 0.72s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 Get and store conf files ------------------------------------------------ 0.70s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:72 Stat secrets files paths ------------------------------------------------ 0.68s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:8 Get and store secrets files --------------------------------------------- 0.63s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_psk_custom.yml:125 Stop ipsec service ------------------------------------------------------ 0.57s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:11 fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 0.47s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Create nss directory for testing ---------------------------------------- 0.43s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 fedora.linux_system_roles.vpn : Check if system is ostree --------------- 0.41s /tmp/collections-0z2/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10