# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciitn7q2sx/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_host_to_host_cert.yml ****************************************** 1 plays in /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml PLAY [Test host to host tunnel with certificate] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:3 Sunday 12 May 2024 04:41:33 +0000 (0:00:00.012) 0:00:00.012 ************ ok: [sut] TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:10 Sunday 12 May 2024 04:41:33 +0000 (0:00:00.946) 0:00:00.958 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:2 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.014) 0:00:00.973 ************ TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.017) 0:00:00.990 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.018) 0:00:01.008 ************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.188) 0:00:01.197 ************ ok: [sut] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.014) 0:00:01.211 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__vpn_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Change inventory_hostname] *********************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:11 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.023) 0:00:01.235 ************ ok: [sut] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [Add sample main host] **************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:18 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.017) 0:00:01.253 ************ 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-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:22 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.018) 0:00:01.271 ************ 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-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:28 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.205) 0:00:01.476 ************ 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-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:34 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.140) 0:00:01.617 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/add_hosts.yml for sut TASK [Dynamically add multiple hosts for testing] ****************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/add_hosts.yml:2 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.010) 0:00:01.627 ************ creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [sut] => (item=1) => { "add_host": { "groups": [ "testing" ], "host_name": "host01.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 1 } changed: [sut] => (item=2) => { "add_host": { "groups": [ "testing" ], "host_name": "host02.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 2 } TASK [Create mock vpn_connections] ********************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/add_hosts.yml:11 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.024) 0:00:01.652 ************ 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-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:40 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.012) 0:00:01.664 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:46 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.015) 0:00:01.679 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:52 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.016) 0:00:01.696 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:58 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.015) 0:00:01.712 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_opportunistic | d(false)", "skip_reason": "Conditional result was False" } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:67 Sunday 12 May 2024 04:41:34 +0000 (0:00:00.015) 0:00:01.728 ************ ok: [sut] => { "changed": false, "enabled": false, "failed_when_result": false, "name": "firewalld", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.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": "ip6tables.service ebtables.service ipset.service iptables.service shutdown.target", "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": "system.slice basic.target", "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 cert options to check] *********************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:13 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.413) 0:00:02.141 ************ ok: [sut] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert2" }, "host02.local": { "cert_name": "cert3" }, "mainhost.local": { "cert_name": "cert1" }, "sut": { "cert_name": "cert4" } }, "name": "tunnel1" } ] }, "changed": false } TASK [Save certname for main host] ********************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:27 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.020) 0:00:02.162 ************ ok: [sut] => { "ansible_facts": { "__vpn_main_certname": "cert1" }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:31 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.010) 0:00:02.173 ************ TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.028) 0:00:02.202 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.014) 0:00:02.216 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.019) 0:00:02.235 ************ skipping: [sut] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.011) 0:00:02.246 ************ skipping: [sut] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.011) 0:00:02.258 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__vpn_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Sunday 12 May 2024 04:41:35 +0000 (0:00:00.023) 0:00:02.281 ************ 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--> Processing Dependency: unbound-libs >= 1.6.6 for package: libreswan-3.25-9.1.el7_8.x86_64\n--> Processing Dependency: libunbound.so.2()(64bit) for package: libreswan-3.25-9.1.el7_8.x86_64\n--> Processing Dependency: libldns.so.1()(64bit) for package: libreswan-3.25-9.1.el7_8.x86_64\n--> Running transaction check\n---> Package ldns.x86_64 0:1.6.16-10.el7 will be installed\n--> Processing Dependency: libpcap.so.1()(64bit) for package: ldns-1.6.16-10.el7.x86_64\n---> Package unbound-libs.x86_64 0:1.6.6-5.el7_8 will be installed\n--> Running transaction check\n---> Package libpcap.x86_64 14:1.5.3-13.el7_9 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\nInstalling for dependencies:\n ldns x86_64 1.6.16-10.el7 base 476 k\n libpcap x86_64 14:1.5.3-13.el7_9 updates 139 k\n unbound-libs x86_64 1.6.6-5.el7_8 base 406 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 2.4 M\nInstalled size: 7.5 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.5 MB/s | 2.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 14:libpcap-1.5.3-13.el7_9.x86_64 1/4 \n Installing : ldns-1.6.16-10.el7.x86_64 2/4 \n Installing : unbound-libs-1.6.6-5.el7_8.x86_64 3/4 \n Installing : libreswan-3.25-9.1.el7_8.x86_64 4/4 \n Verifying : ldns-1.6.16-10.el7.x86_64 1/4 \n Verifying : libreswan-3.25-9.1.el7_8.x86_64 2/4 \n Verifying : unbound-libs-1.6.6-5.el7_8.x86_64 3/4 \n Verifying : 14:libpcap-1.5.3-13.el7_9.x86_64 4/4 \n\nInstalled:\n libreswan.x86_64 0:3.25-9.1.el7_8 \n\nDependency Installed:\n ldns.x86_64 0:1.6.16-10.el7 libpcap.x86_64 14:1.5.3-13.el7_9 \n unbound-libs.x86_64 0:1.6.6-5.el7_8 \n\nComplete!\n" ] } lsrpackages: iproute libreswan TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Sunday 12 May 2024 04:41:41 +0000 (0:00:05.958) 0:00:08.240 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for sut TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Sunday 12 May 2024 04:41:41 +0000 (0:00:00.011) 0:00:08.252 ************ skipping: [sut] => { "changed": false, "false_condition": "vpn_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 Sunday 12 May 2024 04:41:41 +0000 (0:00:00.015) 0:00:08.267 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for sut TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Sunday 12 May 2024 04:41:41 +0000 (0:00:00.014) 0:00:08.282 ************ 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" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "active" }, "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-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-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" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.926) 0:00:09.208 ************ skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Initialize _vpn_selinux] ***************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.013) 0:00:09.222 ************ skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Add the ipsec service ports to _vpn_selinux] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.012) 0:00:09.235 ************ skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.012) 0:00:09.248 ************ skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.services[\"firewalld.service\"][\"state\"] == \"running\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.012) 0:00:09.260 ************ skipping: [sut] => { "changed": false, "false_condition": "not \"/usr/bin/openssl\" is exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.021) 0:00:09.281 ************ ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert2" }, "host02.local": { "cert_name": "cert3" }, "mainhost.local": { "cert_name": "cert1" }, "sut": { "cert_name": "cert4" } }, "name": "tunnel1" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.022) 0:00:09.304 ************ skipping: [sut] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.020) 0:00:09.324 ************ ok: [sut -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert2" }, "host02.local": { "cert_name": "cert3" }, "mainhost.local": { "cert_name": "cert1" }, "sut": { "cert_name": "cert4" } }, "name": "tunnel1" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.023) 0:00:09.348 ************ skipping: [sut] => { "changed": false, "false_condition": "\"True\" in failure", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.028) 0:00:09.376 ************ ok: [sut -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Set psks for hosts] ********************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.027) 0:00:09.404 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Create ipsec.conf files] ***************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 Sunday 12 May 2024 04:41:42 +0000 (0:00:00.061) 0:00:09.465 ************ changed: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "9f319a1d5de38c31ba225e477a5c0a475aa29762", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "gid": 0, "group": "root", "item": "host01.local", "md5sum": "5d7c86c67711475f8a65a91054d8d074", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1715488902.546518-2357-55717638134776/source", "state": "file", "uid": 0 } changed: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "8d06b6ec170618d4aee6c1b6466b7c9158b1f313", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "gid": 0, "group": "root", "item": "host02.local", "md5sum": "6f0f3818ca1d8c9da6abc281bbb0dc79", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1715488903.0413804-2357-10499956028733/source", "state": "file", "uid": 0 } changed: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": true, "checksum": "da07192c5c8fcadeb783b33dc8a436153977ddd8", "dest": "/etc/ipsec.d/mainhost.local-to-sut.conf", "gid": 0, "group": "root", "item": "sut", "md5sum": "c04c464a132818528d5ff85f35fa4fc1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1715488903.431925-2357-218396528284534/source", "state": "file", "uid": 0 } Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. TASK [fedora.linux_system_roles.vpn : Check if secrets file already exists] **** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Sunday 12 May 2024 04:41:43 +0000 (0:00:01.298) 0:00:10.764 ************ ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "exists": false } } ok: [sut] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "exists": false } } ok: [sut] => (item=sut) => { "ansible_loop_var": "item", "changed": false, "item": "sut", "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Sunday 12 May 2024 04:41:44 +0000 (0:00:00.381) 0:00:11.145 ************ changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': 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": "264554cde7efa990062f102d6a356cc2d05e70df", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "exists": false } }, "md5sum": "d99a491f546e577ea94e604ca045002b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 85, "src": "/root/.ansible/tmp/ansible-tmp-1715488904.2154033-2386-208437936326533/source", "state": "file", "uid": 0 } changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': 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": "8b8d56b0a0466ef9d976040be2e14351c4ef0fc8", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "exists": false } }, "md5sum": "32665f24e233f0a9a9f8c77fe2725c9d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 85, "src": "/root/.ansible/tmp/ansible-tmp-1715488904.6016405-2386-142715950198245/source", "state": "file", "uid": 0 } changed: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/etc/ipsec.d/mainhost.local-to-sut.secrets', 'follow': 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": "65e0e1a70fae5364fda75fb0a6125bd1c1bd4449", "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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-sut.secrets" } }, "item": "sut", "stat": { "exists": false } }, "md5sum": "cbb4b301aa601411acb23a0be8f7e8e4", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1715488904.980623-2386-213500284043415/source", "state": "file", "uid": 0 } Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. Notification for handler __vpn_handler_enable_start_vpn has been saved. TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:185 Sunday 12 May 2024 04:41:45 +0000 (0:00:01.178) 0:00:12.324 ************ 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-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:36 Sunday 12 May 2024 04:41:45 +0000 (0:00:00.025) 0:00:12.349 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml for sut TASK [Stat conf files paths] *************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:2 Sunday 12 May 2024 04:41:45 +0000 (0:00:00.019) 0:00:12.368 ************ ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1715488902.9775145, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9f319a1d5de38c31ba225e477a5c0a475aa29762", "ctime": 1715488902.9825146, "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": 1715488902.741514, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073131202874", "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": 1715488903.3715153, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8d06b6ec170618d4aee6c1b6466b7c9158b1f313", "ctime": 1715488903.3745153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715488903.231515, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073131202883", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Stat secrets files paths] ************************************************ task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:8 Sunday 12 May 2024 04:41:45 +0000 (0:00:00.278) 0:00:12.647 ************ ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1715488904.5385172, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "264554cde7efa990062f102d6a356cc2d05e70df", "ctime": 1715488904.5435174, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263502, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715488904.402517, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 85, "uid": 0, "version": "18446744073131202908", "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": 1715488904.915518, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8b8d56b0a0466ef9d976040be2e14351c4ef0fc8", "ctime": 1715488904.919518, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263503, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715488904.7785177, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 85, "uid": 0, "version": "18446744073131202916", "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-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:14 Sunday 12 May 2024 04:41:45 +0000 (0:00:00.278) 0:00:12.925 ************ ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'follow': 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': 1715488902.741514, 'block_size': 4096, 'inode': 262515, 'isgid': False, 'size': 263, 'executable': False, 'roth': True, 'isuid': False, 'readable': True, 'version': '18446744073131202874', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'xusr': False, 'atime': 1715488902.9775145, 'mimetype': 'text/plain', 'ctime': 1715488902.9825146, 'isblk': False, 'checksum': '9f319a1d5de38c31ba225e477a5c0a475aa29762', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'islnk': False, '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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "stat": { "atime": 1715488902.9775145, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9f319a1d5de38c31ba225e477a5c0a475aa29762", "ctime": 1715488902.9825146, "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": 1715488902.741514, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073131202874", "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, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'follow': 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': 1715488903.231515, 'block_size': 4096, 'inode': 263500, 'isgid': False, 'size': 263, 'executable': False, 'roth': True, 'isuid': False, 'readable': True, 'version': '18446744073131202883', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'xusr': False, 'atime': 1715488903.3715153, 'mimetype': 'text/plain', 'ctime': 1715488903.3745153, 'isblk': False, 'checksum': '8d06b6ec170618d4aee6c1b6466b7c9158b1f313', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'islnk': False, '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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "stat": { "atime": 1715488903.3715153, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8d06b6ec170618d4aee6c1b6466b7c9158b1f313", "ctime": 1715488903.3745153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715488903.231515, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073131202883", "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-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:20 Sunday 12 May 2024 04:41:45 +0000 (0:00:00.019) 0:00:12.945 ************ ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'follow': 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': 1715488904.402517, 'block_size': 4096, 'inode': 263502, 'isgid': False, 'size': 85, 'executable': False, 'roth': False, 'isuid': False, 'readable': True, 'version': '18446744073131202908', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'xusr': False, 'atime': 1715488904.5385172, 'mimetype': 'text/plain', 'ctime': 1715488904.5435174, 'isblk': False, 'checksum': '264554cde7efa990062f102d6a356cc2d05e70df', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0600', 'xgrp': False, 'islnk': False, '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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "atime": 1715488904.5385172, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "264554cde7efa990062f102d6a356cc2d05e70df", "ctime": 1715488904.5435174, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263502, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715488904.402517, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 85, "uid": 0, "version": "18446744073131202908", "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, 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'follow': 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': 1715488904.7785177, 'block_size': 4096, 'inode': 263503, 'isgid': False, 'size': 85, 'executable': False, 'roth': False, 'isuid': False, 'readable': True, 'version': '18446744073131202916', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'root', 'path': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'xusr': False, 'atime': 1715488904.915518, 'mimetype': 'text/plain', 'ctime': 1715488904.919518, 'isblk': False, 'checksum': '8b8d56b0a0466ef9d976040be2e14351c4ef0fc8', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0600', 'xgrp': False, 'islnk': False, '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_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "atime": 1715488904.915518, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8b8d56b0a0466ef9d976040be2e14351c4ef0fc8", "ctime": 1715488904.919518, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263503, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715488904.7785177, "nlink": 1, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 85, "uid": 0, "version": "18446744073131202916", "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-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:39 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.019) 0:00:12.964 ************ ok: [sut] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store conf files] ************************************************ task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:43 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.009) 0:00:12.974 ************ ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "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": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "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-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:49 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.329) 0:00:13.304 ************ skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.conf'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode is not search('left=' + __vpn_main_hostname) or item.content | b64decode is not search('leftid=@' + __vpn_main_hostname) or item.content | b64decode is not search('right=host0' + (idx + 1) | string + '.local') or item.content | b64decode is not search('rightid=%fromcert') or item.content | b64decode is not search('ikev2=insist') or item.content | b64decode is not search('auto=start') or item.content | b64decode is not search('leftrsasigkey=%cert') or item.content | b64decode is not search('rightrsasigkey=%cert') or item.content | b64decode is not search('leftcert=' + __vpn_main_certname)", "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "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': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.conf'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode is not search('left=' + __vpn_main_hostname) or item.content | b64decode is not search('leftid=@' + __vpn_main_hostname) or item.content | b64decode is not search('right=host0' + (idx + 1) | string + '.local') or item.content | b64decode is not search('rightid=%fromcert') or item.content | b64decode is not search('ikev2=insist') or item.content | b64decode is not search('auto=start') or item.content | b64decode is not search('leftrsasigkey=%cert') or item.content | b64decode is not search('rightrsasigkey=%cert') or item.content | b64decode is not search('leftcert=' + __vpn_main_certname)", "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Assert success for conf files] ******************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:75 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.033) 0:00:13.338 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get and store secrets files] ********************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:80 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.018) 0:00:13.357 ************ ok: [sut] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDEiCg==", "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": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDEiCg==", "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-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:86 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.245) 0:00:13.602 ************ skipping: [sut] => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDEiCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode | regex_search('^@' + __vpn_main_hostname + ' @host0' + (idx + 1) | string + '\\.local : RSA \\\"' + __vpn_main_certname + '\\\"', multiline=True) | d() | length == 0", "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDEiCg==", "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': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDEiCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "false_condition": "item.content | b64decode | regex_search('^@' + __vpn_main_hostname + ' @host0' + (idx + 1) | string + '\\.local : RSA \\\"' + __vpn_main_certname + '\\\"', multiline=True) | d() | length == 0", "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDEiCg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Assert success for secrets files] **************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:98 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.027) 0:00:13.629 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:103 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.019) 0:00:13.648 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_firewall_selinux.yml for sut TASK [Get firewall service] **************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_firewall_selinux.yml:9 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.020) 0:00:13.669 ************ skipping: [sut] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_firewall_selinux.yml:14 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.009) 0:00:13.679 ************ skipping: [sut] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_firewall_selinux.yml:19 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.009) 0:00:13.688 ************ skipping: [sut] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_firewall_selinux.yml:27 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.009) 0:00:13.697 ************ skipping: [sut] => { "changed": false, "false_condition": "vpn_manage_firewall or vpn_manage_selinux", "skip_reason": "Conditional result was False" } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:106 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.010) 0:00:13.707 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml for sut => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.conf', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.conf'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml for sut => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDEKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.conf', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.conf'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml for sut => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDEiCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host01.local.secrets'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host01.local', 'ansible_loop_var': 'item'}) included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml for sut => (item={'content': 'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDEiCg==', 'source': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets', 'invocation': {'module_args': {'src': '/etc/ipsec.d/mainhost.local-to-host02.local.secrets'}}, 'encoding': 'base64', 'failed': False, 'changed': False, 'item': 'host02.local', 'ansible_loop_var': 'item'}) TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:3 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.027) 0:00:13.735 ************ skipping: [sut] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:9 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.018) 0:00:13.753 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:3 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.035) 0:00:13.788 ************ skipping: [sut] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:9 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.013) 0:00:13.802 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:3 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.035) 0:00:13.837 ************ skipping: [sut] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:9 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.014) 0:00:13.851 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:3 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.038) 0:00:13.889 ************ skipping: [sut] => { "changed": false, "false_condition": "not __file_content is defined", "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/check_header.yml:9 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.014) 0:00:13.904 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:114 Sunday 12 May 2024 04:41:46 +0000 (0:00:00.037) 0:00:13.941 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml for sut TASK [Set platform/version specific variables] ********************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:2 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.023) 0:00:13.965 ************ TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.018) 0:00:13.984 ************ skipping: [sut] => { "changed": false, "false_condition": "__vpn_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.020) 0:00:14.005 ************ skipping: [sut] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.014) 0:00:14.019 ************ skipping: [sut] => { "changed": false, "false_condition": "not __vpn_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.014) 0:00:14.033 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vpn_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__vpn_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Get service facts] ******************************************************* task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:8 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.032) 0:00:14.065 ************ 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" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "active" }, "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-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-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" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [Stop ipsec service] ****************************************************** task path: /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:11 Sunday 12 May 2024 04:41:47 +0000 (0:00:00.797) 0:00:14.863 ************ ok: [sut] => { "changed": false, "enabled": false, "name": "ipsec", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network-online.target systemd-journald.socket basic.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": "system.slice basic.target", "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-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:18 Sunday 12 May 2024 04:41:48 +0000 (0:00:00.227) 0:00:15.090 ************ 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-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:43 Sunday 12 May 2024 04:41:49 +0000 (0:00:01.449) 0:00:16.540 ************ 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-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:49 Sunday 12 May 2024 04:41:49 +0000 (0:00:00.411) 0:00:16.952 ************ 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" } NOTIFIED HANDLER fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return for sut RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Sunday 12 May 2024 04:41:50 +0000 (0:00:00.413) 0:00:17.365 ************ included: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for sut RUNNING HANDLER [fedora.linux_system_roles.vpn : Enable and restart vpn services] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Sunday 12 May 2024 04:41:50 +0000 (0:00:00.012) 0:00:17.378 ************ changed: [sut] => (item=ipsec) => { "ansible_job_id": "j162434080708.13016", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/j162434080708.13016", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Sunday 12 May 2024 04:41:50 +0000 (0:00:00.400) 0:00:17.779 ************ ok: [sut] => { "changed": false, "elapsed": 3 } PLAY RECAP ********************************************************************* sut : ok=57 changed=10 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 Sunday 12 May 2024 04:41:54 +0000 (0:00:03.640) 0:00:21.419 ************ =============================================================================== fedora.linux_system_roles.vpn : Ensure required packages are installed --- 5.96s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.64s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Uninstall packages ------------------------------------------------------ 1.45s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:18 --------------------- fedora.linux_system_roles.vpn : Create ipsec.conf files ----------------- 1.30s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 fedora.linux_system_roles.vpn : Create ipsec.secrets files -------------- 1.18s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:3 ------------ fedora.linux_system_roles.vpn : Populate service facts ------------------ 0.93s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Get service facts ------------------------------------------------------- 0.80s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:8 ---------------------- Ensure firewalld not running if not testing firewall -------------------- 0.41s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:67 ------------------ Remove ipsec.secrets files ---------------------------------------------- 0.41s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:49 --------------------- Remove ipsec.conf files ------------------------------------------------- 0.41s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:43 --------------------- fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 0.40s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 fedora.linux_system_roles.vpn : Check if secrets file already exists ---- 0.38s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Get and store conf files ------------------------------------------------ 0.33s /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:43 ----------- Stat conf files paths --------------------------------------------------- 0.28s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:2 Stat secrets files paths ------------------------------------------------ 0.28s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/assert_conf_secrets_files_exist.yml:8 Get and store secrets files --------------------------------------------- 0.25s /WORKDIR/git-weekly-ciitn7q2sx/tests/tests_host_to_host_cert.yml:80 ----------- Stop ipsec service ------------------------------------------------------ 0.23s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/cleanup.yml:11 --------------------- Create nss directory for testing ---------------------------------------- 0.21s /WORKDIR/git-weekly-ciitn7q2sx/tests/tasks/setup_test.yml:22 ------------------ fedora.linux_system_roles.vpn : Check if system is ostree --------------- 0.19s /WORKDIR/git-weekly-ciitn7q2sx/.collection/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---