# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_host_to_host_psk_custom.yml ************************************ 1 plays in /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml PLAY [Test host to host tunnel with custom PSK] ******************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:2 Friday 01 December 2023 01:07:43 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:26 Friday 01 December 2023 01:07:44 +0000 (0:00:00.511) 0:00:00.528 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:2 Friday 01 December 2023 01:07:44 +0000 (0:00:00.018) 0:00:00.546 ******* TASK [linux-system-roles.vpn : Ensure ansible_facts used by role] ************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:2 Friday 01 December 2023 01:07:44 +0000 (0:00:00.034) 0:00:00.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Check if system is ostree] ********************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 Friday 01 December 2023 01:07:44 +0000 (0:00:00.022) 0:00:00.603 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.vpn : Set flag to indicate system is ostree] ********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:16 Friday 01 December 2023 01:07:44 +0000 (0:00:00.222) 0:00:00.825 ******* ok: [sut] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:20 Friday 01 December 2023 01:07:44 +0000 (0:00:00.025) 0:00:00.850 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Change inventory_hostname] *********************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:11 Friday 01 December 2023 01:07:44 +0000 (0:00:00.041) 0:00:00.892 ******* ok: [sut] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [Add sample main host] **************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:18 Friday 01 December 2023 01:07:44 +0000 (0:00:00.025) 0:00:00.918 ******* creating host via 'add_host': hostname=mainhost.local changed: [sut] => { "add_host": { "groups": [], "host_name": "mainhost.local", "host_vars": {} }, "changed": true } TASK [Create nss directory for testing] **************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:22 Friday 01 December 2023 01:07:44 +0000 (0:00:00.023) 0:00:00.941 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Create /etc/ipsec.d directory for testing] ******************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:28 Friday 01 December 2023 01:07:44 +0000 (0:00:00.215) 0:00:01.157 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/ipsec.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Dynamically add more hosts] ********************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:34 Friday 01 December 2023 01:07:44 +0000 (0:00:00.130) 0:00:01.287 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/add_hosts.yml for sut TASK [Dynamically add multiple hosts for testing] ****************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/add_hosts.yml:2 Friday 01 December 2023 01:07:44 +0000 (0:00:00.014) 0:00:01.302 ******* creating host via 'add_host': hostname=host01.local changed: [sut] => (item=1) => { "add_host": { "groups": [ "testing" ], "host_name": "host01.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 1 } creating host via 'add_host': hostname=host02.local changed: [sut] => (item=2) => { "add_host": { "groups": [ "testing" ], "host_name": "host02.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 2 } TASK [Create mock vpn_connections] ********************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/add_hosts.yml:11 Friday 01 December 2023 01:07:44 +0000 (0:00:00.031) 0:00:01.334 ******* ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "mainhost.local": "", "sut": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:40 Friday 01 December 2023 01:07:44 +0000 (0:00:00.024) 0:00:01.359 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:46 Friday 01 December 2023 01:07:44 +0000 (0:00:00.021) 0:00:01.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:52 Friday 01 December 2023 01:07:44 +0000 (0:00:00.021) 0:00:01.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:58 Friday 01 December 2023 01:07:45 +0000 (0:00:00.022) 0:00:01.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:67 Friday 01 December 2023 01:07:45 +0000 (0:00:00.021) 0:00:01.446 ******* ok: [sut] => { "changed": false, "enabled": false, "failed_when_result": false, "name": "firewalld", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ebtables.service ipset.service shutdown.target ip6tables.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Add extra options to check] ********************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:29 Friday 01 December 2023 01:07:45 +0000 (0:00:00.370) 0:00:01.816 ******* ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:60 Friday 01 December 2023 01:07:45 +0000 (0:00:00.032) 0:00:01.849 ******* TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:3 Friday 01 December 2023 01:07:45 +0000 (0:00:00.031) 0:00:01.881 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml for sut TASK [linux-system-roles.vpn : Ensure ansible_facts used by role] ************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:2 Friday 01 December 2023 01:07:45 +0000 (0:00:00.018) 0:00:01.899 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Check if system is ostree] ********************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 Friday 01 December 2023 01:07:45 +0000 (0:00:00.025) 0:00:01.925 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Set flag to indicate system is ostree] ********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:16 Friday 01 December 2023 01:07:45 +0000 (0:00:00.023) 0:00:01.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:20 Friday 01 December 2023 01:07:45 +0000 (0:00:00.021) 0:00:01.970 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Ensure required packages are installed] ********* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:6 Friday 01 December 2023 01:07:45 +0000 (0:00:00.038) 0:00:02.008 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "libreswan" ] }, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package libreswan.x86_64 0:3.25-9.1.el7_8 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n libreswan x86_64 3.25-9.1.el7_8 updates 1.4 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 1.4 M\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libreswan-3.25-9.1.el7_8.x86_64 1/1 \n Verifying : libreswan-3.25-9.1.el7_8.x86_64 1/1 \n\nInstalled:\n libreswan.x86_64 0:3.25-9.1.el7_8 \n\nComplete!\n" ] } TASK [linux-system-roles.vpn : Configure firewall] ***************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:14 Friday 01 December 2023 01:07:48 +0000 (0:00:02.450) 0:00:04.459 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/firewall.yml for sut TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/firewall.yml:3 Friday 01 December 2023 01:07:48 +0000 (0:00:00.016) 0:00:04.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Configure selinux] ****************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:17 Friday 01 December 2023 01:07:48 +0000 (0:00:00.022) 0:00:04.499 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml for sut TASK [linux-system-roles.vpn : Populate service facts] ************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:3 Friday 01 December 2023 01:07:48 +0000 (0:00:00.021) 0:00:04.520 ******* ok: [sut] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-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" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.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.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "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-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [linux-system-roles.vpn : Get the ipsec tcp service ports] **************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:12 Friday 01 December 2023 01:07:48 +0000 (0:00:00.799) 0:00:05.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Initialize _vpn_selinux] ************************ task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:20 Friday 01 December 2023 01:07:48 +0000 (0:00:00.029) 0:00:05.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Add the ipsec service ports to _vpn_selinux] **** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:24 Friday 01 December 2023 01:07:48 +0000 (0:00:00.029) 0:00:05.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:33 Friday 01 December 2023 01:07:48 +0000 (0:00:00.034) 0:00:05.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:27 Friday 01 December 2023 01:07:49 +0000 (0:00:00.034) 0:00:05.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Enforce default auth method as needed] ********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:35 Friday 01 December 2023 01:07:49 +0000 (0:00:00.030) 0:00:05.478 ******* ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [linux-system-roles.vpn : Make sure that the hosts list is not empty] ***** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:45 Friday 01 December 2023 01:07:49 +0000 (0:00:00.035) 0:00:05.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:60 Friday 01 December 2023 01:07:49 +0000 (0:00:00.031) 0:00:05.546 ******* ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "psk", "auto": "start", "dpdaction": "restart", "dpddelay": "30s", "dpdtimeout": "31s", "esp": "esp_string_for_testing", "hosts": { "host01.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "host02.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "mainhost.local": { "leftid": "leftid_for_testing", "rightid": "rightid_for_testing" }, "sut": "" }, "ike": "ike_string_for_testing", "ikelifetime": "15h", "leftupdown": "leftupdown --option=value", "retransmit_timeout": "10s", "salifetime": "16h", "shared_key_content": "shared_key_for_testing", "type": "tunnel_type_for_testing" } ] }, "changed": false } TASK [linux-system-roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:74 Friday 01 December 2023 01:07:49 +0000 (0:00:00.030) 0:00:05.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:101 Friday 01 December 2023 01:07:49 +0000 (0:00:00.034) 0:00:05.611 ******* ok: [sut -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.vpn : Set psks for hosts] ***************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:138 Friday 01 December 2023 01:07:49 +0000 (0:00:00.032) 0:00:05.644 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.vpn : Create ipsec.conf files] ************************ task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:162 Friday 01 December 2023 01:07:49 +0000 (0:00:00.082) 0:00:05.727 ******* changed: [sut] => (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-1701392869.360976-2727-143569315489380/source", "state": "file", "uid": 0 } changed: [sut] => (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-1701392869.9458702-2727-208053145868616/source", "state": "file", "uid": 0 } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "checksum": "9b5b610775963b0ef8c1054996725096deec3b27", "dest": "/etc/ipsec.d/mainhost.local-to-sut.conf", "gid": 0, "group": "root", "item": "sut", "md5sum": "d01e07a6459b77be04a3013d75acc4a3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 458, "src": "/root/.ansible/tmp/ansible-tmp-1701392870.331159-2727-239360854432390/source", "state": "file", "uid": 0 } NOTIFIED HANDLER linux-system-roles.vpn : Restart vpn service and wait for ssh conn to return for sut NOTIFIED HANDLER linux-system-roles.vpn : Restart vpn service and wait for ssh conn to return for sut TASK [linux-system-roles.vpn : Check if secrets file already exists] *********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:170 Friday 01 December 2023 01:07:50 +0000 (0:00:01.392) 0:00:07.120 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "exists": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "exists": false } } ok: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": false, "item": "sut", "stat": { "exists": false } } TASK [linux-system-roles.vpn : Create ipsec.secrets files] ********************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:176 Friday 01 December 2023 01:07:51 +0000 (0:00:00.372) 0:00:07.492 ******* changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'exists': False}, 'changed': False, '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_md5": false, "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-1701392871.12511-2772-7389940470544/source", "state": "file", "uid": 0 } changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'exists': False}, 'changed': False, '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_md5": false, "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-1701392871.5586567-2772-221928312377653/source", "state": "file", "uid": 0 } changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-sut.secrets', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'exists': False}, 'changed': False, 'failed': False, 'item': 'sut', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd399f335ee49251ca32196f8806a3e2436f5fb3", "dest": "/etc/ipsec.d/mainhost.local-to-sut.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-sut.secrets" } }, "item": "sut", "stat": { "exists": false } }, "md5sum": "11838e7ad2cbae2afa1337f6eb97dcad", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 105, "src": "/root/.ansible/tmp/ansible-tmp-1701392871.950411-2772-42185476575636/source", "state": "file", "uid": 0 } TASK [linux-system-roles.vpn : Build opportunistic configuration] ************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:186 Friday 01 December 2023 01:07:52 +0000 (0:00:01.254) 0:00:08.747 ******* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Assert file existence] *************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:65 Friday 01 December 2023 01:07:52 +0000 (0:00:00.031) 0:00:08.778 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml for sut TASK [Stat conf files paths] *************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:2 Friday 01 December 2023 01:07:52 +0000 (0:00:00.027) 0:00:08.805 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1701392869.8770432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1aaa38ce169f0f10e11e83ca17e784db0a5b15a9", "ctime": 1701392869.8820431, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701392869.6350474, "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": "18446744072515624274", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1701392870.2670364, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4f44b0aa502735782b6a4ada96b1e49b71ac94ed", "ctime": 1701392870.2710364, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701392870.1330388, "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": "18446744072515624282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Stat secrets files paths] ************************************************ task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:8 Friday 01 December 2023 01:07:52 +0000 (0:00:00.309) 0:00:09.115 ******* ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1701392871.449016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1701392871.453016, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701392871.3120186, "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": "18446744072515624308", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1701392871.8840086, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1701392871.8880086, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701392871.748011, "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": "18446744072515624316", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:14 Friday 01 December 2023 01:07:52 +0000 (0:00:00.278) 0:00:09.394 ******* ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1701392869.6350474, 'block_size': 4096, 'inode': 262515, 'isgid': False, 'size': 466, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072515624274', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'xusr': False, 'atime': 1701392869.8770432, 'isdir': False, 'ctime': 1701392869.8820431, 'isblk': False, 'wgrp': False, 'checksum': '1aaa38ce169f0f10e11e83ca17e784db0a5b15a9', 'dev': 51713, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "stat": { "atime": 1701392869.8770432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1aaa38ce169f0f10e11e83ca17e784db0a5b15a9", "ctime": 1701392869.8820431, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701392869.6350474, "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": "18446744072515624274", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1701392870.1330388, 'block_size': 4096, 'inode': 263515, 'isgid': False, 'size': 466, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072515624282', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'xusr': False, 'atime': 1701392870.2670364, 'isdir': False, 'ctime': 1701392870.2710364, 'isblk': False, 'wgrp': False, 'checksum': '4f44b0aa502735782b6a4ada96b1e49b71ac94ed', 'dev': 51713, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "stat": { "atime": 1701392870.2670364, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4f44b0aa502735782b6a4ada96b1e49b71ac94ed", "ctime": 1701392870.2710364, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701392870.1330388, "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": "18446744072515624282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:20 Friday 01 December 2023 01:07:53 +0000 (0:00:00.048) 0:00:09.442 ******* ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1701392871.3120186, 'block_size': 4096, 'inode': 263517, 'isgid': False, 'size': 113, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072515624308', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'xusr': False, 'atime': 1701392871.449016, 'isdir': False, 'ctime': 1701392871.453016, 'isblk': False, 'wgrp': False, 'checksum': '93759ec35bdf30eb5702da4ef83b311b588018a0', 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0600', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'failed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "atime": 1701392871.449016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1701392871.453016, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701392871.3120186, "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": "18446744072515624308", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1701392871.748011, 'block_size': 4096, 'inode': 263518, 'isgid': False, 'size': 113, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072515624316', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'xusr': False, 'atime': 1701392871.8840086, 'isdir': False, 'ctime': 1701392871.8880086, 'isblk': False, 'wgrp': False, 'checksum': '93759ec35bdf30eb5702da4ef83b311b588018a0', 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0600', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'failed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "atime": 1701392871.8840086, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93759ec35bdf30eb5702da4ef83b311b588018a0", "ctime": 1701392871.8880086, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701392871.748011, "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": "18446744072515624316", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Reset success flag] ****************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:68 Friday 01 December 2023 01:07:53 +0000 (0:00:00.038) 0:00:09.481 ******* ok: [sut] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store conf files] ************************************************ task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:72 Friday 01 December 2023 01:07:53 +0000 (0:00:00.012) 0:00:09.494 ******* ok: [sut] => (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: [sut] => (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: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:78 Friday 01 December 2023 01:07:53 +0000 (0:00:00.321) 0:00:09.815 ******* skipping: [sut] => (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, "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: [sut] => (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, "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" } TASK [Assert success for conf files] ******************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:120 Friday 01 December 2023 01:07:53 +0000 (0:00:00.067) 0:00:09.883 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get and store secrets files] ********************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:125 Friday 01 December 2023 01:07:53 +0000 (0:00:00.025) 0:00:09.908 ******* ok: [sut] => (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: [sut] => (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: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:131 Friday 01 December 2023 01:07:53 +0000 (0:00:00.251) 0:00:10.160 ******* skipping: [sut] => (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, "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: [sut] => (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, "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" } TASK [Assert success for secrets files] **************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:143 Friday 01 December 2023 01:07:53 +0000 (0:00:00.037) 0:00:10.197 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:148 Friday 01 December 2023 01:07:53 +0000 (0:00:00.028) 0:00:10.226 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/check_firewall_selinux.yml for sut TASK [Get firewall service] **************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/check_firewall_selinux.yml:9 Friday 01 December 2023 01:07:53 +0000 (0:00:00.024) 0:00:10.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/check_firewall_selinux.yml:14 Friday 01 December 2023 01:07:53 +0000 (0:00:00.024) 0:00:10.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/check_firewall_selinux.yml:19 Friday 01 December 2023 01:07:53 +0000 (0:00:00.025) 0:00:10.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/check_firewall_selinux.yml:27 Friday 01 December 2023 01:07:53 +0000 (0:00:00.023) 0:00:10.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:151 Friday 01 December 2023 01:07:53 +0000 (0:00:00.024) 0:00:10.348 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:2 Friday 01 December 2023 01:07:53 +0000 (0:00:00.033) 0:00:10.382 ******* TASK [linux-system-roles.vpn : Ensure ansible_facts used by role] ************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:2 Friday 01 December 2023 01:07:53 +0000 (0:00:00.020) 0:00:10.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Check if system is ostree] ********************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 Friday 01 December 2023 01:07:54 +0000 (0:00:00.027) 0:00:10.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Set flag to indicate system is ostree] ********** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:16 Friday 01 December 2023 01:07:54 +0000 (0:00:00.026) 0:00:10.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:20 Friday 01 December 2023 01:07:54 +0000 (0:00:00.026) 0:00:10.483 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Get service facts] ******************************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:8 Friday 01 December 2023 01:07:54 +0000 (0:00:00.045) 0:00:10.529 ******* ok: [sut] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-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" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.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.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "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-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [Stop ipsec service] ****************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:11 Friday 01 December 2023 01:07:54 +0000 (0:00:00.712) 0:00:11.242 ******* ok: [sut] => { "changed": false, "enabled": false, "name": "ipsec", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Internet Key Exchange (IKE) Protocol Daemon for IPsec", "DevicePolicy": "auto", "Documentation": "man:ipsec(8) man:pluto(8) man:ipsec.conf(5)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --listen ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "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 }", "ExecStop": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --shutdown ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --stopnflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ipsec.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "ipsec.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "ipsec.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "always", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "3min 20s" } } TASK [Uninstall packages] ****************************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:18 Friday 01 December 2023 01:07:55 +0000 (0:00:00.215) 0:00:11.457 ******* changed: [sut] => (item=libreswan) => { "ansible_loop_var": "item", "changed": true, "changes": { "removed": [ "libreswan" ] }, "item": "libreswan", "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package libreswan.x86_64 0:3.25-9.1.el7_8 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n libreswan x86_64 3.25-9.1.el7_8 @updates 4.7 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : libreswan-3.25-9.1.el7_8.x86_64 1/1 \n Verifying : libreswan-3.25-9.1.el7_8.x86_64 1/1 \n\nRemoved:\n libreswan.x86_64 0:3.25-9.1.el7_8 \n\nComplete!\n" ] } TASK [Remove ipsec.conf files] ************************************************* task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:43 Friday 01 December 2023 01:07:57 +0000 (0:00:02.848) 0:00:14.306 ******* changed: [sut] => (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: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "item": "host02.local", "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "state": "absent" } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "item": "sut", "path": "/etc/ipsec.d/mainhost.local-to-sut.conf", "state": "absent" } TASK [Remove ipsec.secrets files] ********************************************** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:49 Friday 01 December 2023 01:07:58 +0000 (0:00:00.390) 0:00:14.696 ******* changed: [sut] => (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: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "item": "host02.local", "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "state": "absent" } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "item": "sut", "path": "/etc/ipsec.d/mainhost.local-to-sut.secrets", "state": "absent" } RUNNING HANDLER [linux-system-roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/handlers/main.yml:2 Friday 01 December 2023 01:07:58 +0000 (0:00:00.384) 0:00:15.081 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml for sut RUNNING HANDLER [linux-system-roles.vpn : Enable and restart vpn services] ***** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:2 Friday 01 December 2023 01:07:58 +0000 (0:00:00.017) 0:00:15.099 ******* changed: [sut] => (item=ipsec) => { "ansible_job_id": "420525427774.12930", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/420525427774.12930", "started": 1 } RUNNING HANDLER [linux-system-roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:11 Friday 01 December 2023 01:07:59 +0000 (0:00:00.430) 0:00:15.529 ******* ok: [sut] => { "changed": false, "elapsed": 3 } RUNNING HANDLER [linux-system-roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/handlers/main.yml:2 Friday 01 December 2023 01:08:02 +0000 (0:00:03.643) 0:00:19.173 ******* included: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml for sut RUNNING HANDLER [linux-system-roles.vpn : Enable and restart vpn services] ***** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:2 Friday 01 December 2023 01:08:02 +0000 (0:00:00.018) 0:00:19.192 ******* changed: [sut] => (item=ipsec) => { "ansible_job_id": "501017881673.13009", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/501017881673.13009", "started": 1 } RUNNING HANDLER [linux-system-roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:11 Friday 01 December 2023 01:08:03 +0000 (0:00:00.384) 0:00:19.577 ******* ok: [sut] => { "changed": false, "elapsed": 3 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=51 changed=11 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 Friday 01 December 2023 01:08:06 +0000 (0:00:03.544) 0:00:23.121 ******* =============================================================================== linux-system-roles.vpn : Wait for ssh connection to return -------------- 3.64s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:11 linux-system-roles.vpn : Wait for ssh connection to return -------------- 3.54s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:11 Uninstall packages ------------------------------------------------------ 2.85s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:18 -------- linux-system-roles.vpn : Ensure required packages are installed --------- 2.45s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:6 linux-system-roles.vpn : Create ipsec.conf files ------------------------ 1.39s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:162 linux-system-roles.vpn : Create ipsec.secrets files --------------------- 1.25s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:176 linux-system-roles.vpn : Populate service facts ------------------------- 0.80s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/selinux.yml:3 Get service facts ------------------------------------------------------- 0.71s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:8 --------- Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:2 linux-system-roles.vpn : Enable and restart vpn services ---------------- 0.43s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:2 Remove ipsec.conf files ------------------------------------------------- 0.39s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:43 -------- linux-system-roles.vpn : Enable and restart vpn services ---------------- 0.38s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/enable_restart_vpn.yml:2 Remove ipsec.secrets files ---------------------------------------------- 0.38s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/cleanup.yml:49 -------- linux-system-roles.vpn : Check if secrets file already exists ----------- 0.37s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/main.yml:170 Ensure firewalld not running if not testing firewall -------------------- 0.37s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/setup_test.yml:67 ----- Get and store conf files ------------------------------------------------ 0.32s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:72 Stat conf files paths --------------------------------------------------- 0.31s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:2 Stat secrets files paths ------------------------------------------------ 0.28s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tasks/assert_conf_secrets_files_exist.yml:8 Get and store secrets files --------------------------------------------- 0.25s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/tests_host_to_host_psk_custom.yml:125 linux-system-roles.vpn : Check if system is ostree ---------------------- 0.25s /WORKDIR/git-test-no-remove-iproutesnsyqvxa/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---