ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_host_to_host_cert.yml ****************************************** 1 plays in /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml PLAY [Test host to host tunnel with certificate] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:3 Friday 20 September 2024 23:10:12 -0400 (0:00:00.108) 0:00:00.108 ****** ok: [managed_node1] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:10 Friday 20 September 2024 23:10:15 -0400 (0:00:02.442) 0:00:02.551 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml for managed_node1 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:2 Friday 20 September 2024 23:10:15 -0400 (0:00:00.044) 0:00:02.595 ****** TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Friday 20 September 2024 23:10:15 -0400 (0:00:00.141) 0:00:02.737 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Friday 20 September 2024 23:10:15 -0400 (0:00:00.049) 0:00:02.787 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Friday 20 September 2024 23:10:16 -0400 (0:00:00.555) 0:00:03.342 ****** ok: [managed_node1] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Friday 20 September 2024 23:10:16 -0400 (0:00:00.137) 0:00:03.480 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Change inventory_hostname] *********************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:11 Friday 20 September 2024 23:10:16 -0400 (0:00:00.110) 0:00:03.590 ****** ok: [managed_node1] => { "ansible_facts": { "inventory_hostname": "mainhost.local" }, "changed": false } TASK [Add sample main host] **************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:18 Friday 20 September 2024 23:10:16 -0400 (0:00:00.076) 0:00:03.666 ****** creating host via 'add_host': hostname=mainhost.local changed: [managed_node1] => { "add_host": { "groups": [], "host_name": "mainhost.local", "host_vars": {} }, "changed": true } TASK [Create nss directory for testing] **************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 Friday 20 September 2024 23:10:16 -0400 (0:00:00.070) 0:00:03.737 ****** changed: [managed_node1] => { "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: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:28 Friday 20 September 2024 23:10:17 -0400 (0:00:00.655) 0:00:04.392 ****** ok: [managed_node1] => { "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: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:34 Friday 20 September 2024 23:10:17 -0400 (0:00:00.422) 0:00:04.815 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml for managed_node1 TASK [Dynamically add multiple hosts for testing] ****************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:2 Friday 20 September 2024 23:10:17 -0400 (0:00:00.041) 0:00:04.856 ****** creating host via 'add_host': hostname=host01.local creating host via 'add_host': hostname=host02.local changed: [managed_node1] => (item=1) => { "add_host": { "groups": [ "testing" ], "host_name": "host01.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 1 } changed: [managed_node1] => (item=2) => { "add_host": { "groups": [ "testing" ], "host_name": "host02.local", "host_vars": { "cert_name": "dyn_cert", "current_ip": "169.254.1.1", "current_subnet": "169.254.0.0/16" } }, "ansible_loop_var": "item", "changed": true, "item": 2 } TASK [Create mock vpn_connections] ********************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/add_hosts.yml:11 Friday 20 September 2024 23:10:17 -0400 (0:00:00.078) 0:00:04.935 ****** ok: [managed_node1] => { "ansible_facts": { "vpn_connections": [ { "hosts": { "host01.local": "", "host02.local": "", "mainhost.local": "", "managed_node1": "", "managed_node2": "", "managed_node3": "" } } ] }, "changed": false } TASK [Create sample policies directory for testing] **************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:40 Friday 20 September 2024 23:10:17 -0400 (0:00:00.059) 0:00:04.995 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:46 Friday 20 September 2024 23:10:17 -0400 (0:00:00.048) 0:00:05.043 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:52 Friday 20 September 2024 23:10:17 -0400 (0:00:00.072) 0:00:05.116 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create sample policy files for testing] ********************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:58 Friday 20 September 2024 23:10:17 -0400 (0:00:00.061) 0:00:05.177 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure firewalld not running if not testing firewall] ******************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 Friday 20 September 2024 23:10:17 -0400 (0:00:00.060) 0:00:05.237 ****** ok: [managed_node1] => { "changed": false, "enabled": false, "failed_when_result": false, "name": "firewalld", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice dbus.service basic.target", "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": "shutdown.target ipset.service ip6tables.service iptables.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "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: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:13 Friday 20 September 2024 23:10:18 -0400 (0:00:00.815) 0:00:06.052 ****** ok: [managed_node1] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert6" }, "host02.local": { "cert_name": "cert5" }, "mainhost.local": { "cert_name": "cert4" }, "managed_node1": { "cert_name": "cert3" }, "managed_node2": { "cert_name": "cert2" }, "managed_node3": { "cert_name": "cert1" } }, "name": "tunnel1" } ] }, "changed": false } TASK [Save certname for main host] ********************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:27 Friday 20 September 2024 23:10:18 -0400 (0:00:00.057) 0:00:06.110 ****** ok: [managed_node1] => { "ansible_facts": { "__vpn_main_certname": "cert4" }, "changed": false } TASK [Use vpn role] ************************************************************ task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:31 Friday 20 September 2024 23:10:18 -0400 (0:00:00.078) 0:00:06.189 ****** TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:3 Friday 20 September 2024 23:10:18 -0400 (0:00:00.093) 0:00:06.283 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Friday 20 September 2024 23:10:18 -0400 (0:00:00.052) 0:00:06.336 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Friday 20 September 2024 23:10:19 -0400 (0:00:00.094) 0:00:06.430 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Friday 20 September 2024 23:10:19 -0400 (0:00:00.075) 0:00:06.505 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Friday 20 September 2024 23:10:19 -0400 (0:00:00.061) 0:00:06.567 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure required packages are installed] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 Friday 20 September 2024 23:10:19 -0400 (0:00:00.117) 0:00:06.684 ****** changed: [managed_node1] => { "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 * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.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 5.6 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" ] } TASK [fedora.linux_system_roles.vpn : Configure firewall] ********************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:13 Friday 20 September 2024 23:10:36 -0400 (0:00:16.718) 0:00:23.402 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml for managed_node1 TASK [Ensure the vpn ports status with the firewall role] ********************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/firewall.yml:3 Friday 20 September 2024 23:10:36 -0400 (0:00:00.035) 0:00:23.438 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Configure selinux] *********************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:16 Friday 20 September 2024 23:10:36 -0400 (0:00:00.051) 0:00:23.489 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml for managed_node1 TASK [fedora.linux_system_roles.vpn : Populate service facts] ****************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Friday 20 September 2024 23:10:36 -0400 (0:00:00.045) 0:00:23.535 ****** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "unknown" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [fedora.linux_system_roles.vpn : Get the ipsec tcp service ports] ********* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:12 Friday 20 September 2024 23:10:37 -0400 (0:00:01.539) 0:00:25.074 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Initialize _vpn_selinux] ***************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:20 Friday 20 September 2024 23:10:37 -0400 (0:00:00.060) 0:00:25.135 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Add the ipsec service ports to _vpn_selinux] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:24 Friday 20 September 2024 23:10:37 -0400 (0:00:00.062) 0:00:25.198 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:31 Friday 20 September 2024 23:10:37 -0400 (0:00:00.071) 0:00:25.270 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Ensure OpenSSL is installed on the controller] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:26 Friday 20 September 2024 23:10:38 -0400 (0:00:00.073) 0:00:25.343 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Enforce default auth method as needed] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:34 Friday 20 September 2024 23:10:38 -0400 (0:00:00.152) 0:00:25.496 ****** ok: [managed_node1 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert6" }, "host02.local": { "cert_name": "cert5" }, "mainhost.local": { "cert_name": "cert4" }, "managed_node1": { "cert_name": "cert3" }, "managed_node2": { "cert_name": "cert2" }, "managed_node3": { "cert_name": "cert1" } }, "name": "tunnel1" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Make sure that the hosts list is not empty] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:44 Friday 20 September 2024 23:10:38 -0400 (0:00:00.114) 0:00:25.611 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Make sure there is at least one pair of hosts in each connection] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:59 Friday 20 September 2024 23:10:38 -0400 (0:00:00.123) 0:00:25.735 ****** ok: [managed_node1 -> localhost] => { "ansible_facts": { "vpn_connections": [ { "auth_method": "cert", "auto": "start", "hosts": { "host01.local": { "cert_name": "cert6" }, "host02.local": { "cert_name": "cert5" }, "mainhost.local": { "cert_name": "cert4" }, "managed_node1": { "cert_name": "cert3" }, "managed_node2": { "cert_name": "cert2" }, "managed_node3": { "cert_name": "cert1" } }, "name": "tunnel1" } ] }, "changed": false } TASK [fedora.linux_system_roles.vpn : Ensure cert_names are populated when auth_method is cert] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:73 Friday 20 September 2024 23:10:38 -0400 (0:00:00.279) 0:00:26.015 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Generate PSKs or use provided shared_key_content] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:100 Friday 20 September 2024 23:10:38 -0400 (0:00:00.102) 0:00:26.117 ****** ok: [managed_node1 -> localhost] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Set psks for hosts] ********************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:137 Friday 20 September 2024 23:10:38 -0400 (0:00:00.097) 0:00:26.214 ****** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.vpn : Create ipsec.conf files] ***************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 Friday 20 September 2024 23:10:39 -0400 (0:00:00.291) 0:00:26.506 ****** changed: [managed_node1] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "checksum": "912e33b420e7627989dced5f9251dca5071ea6fd", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node3.conf", "gid": 0, "group": "root", "item": "managed_node3", "md5sum": "ed1202022e4b919c0bdea0c8dcc59f60", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1726888239.29-10547-68230854177869/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "checksum": "0a09d37aae65444087b2279c994f03c21661c78a", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node2.conf", "gid": 0, "group": "root", "item": "managed_node2", "md5sum": "95b5814c953de316de2cd563a7c74ffa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1726888240.18-10547-141951794277695/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "checksum": "d501d199aa94c99dfdd7a5696b27e10fdf9fa241", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node1.conf", "gid": 0, "group": "root", "item": "managed_node1", "md5sum": "26427d1f6d9f4deb3c013170111470f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 261, "src": "/root/.ansible/tmp/ansible-tmp-1726888240.74-10547-53867165112590/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "49d0ee802d91260f4d1af4977aaeeac81575c4ee", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.conf", "gid": 0, "group": "root", "item": "host02.local", "md5sum": "451be13c6864b5806a04fd7c28417ab6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1726888241.33-10547-44757851643318/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "checksum": "4c1070502f22916e17613c790d1dd6162472cd2d", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "gid": 0, "group": "root", "item": "host01.local", "md5sum": "7f3f78d504bfecf26eb60276b7e20e81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1726888242.07-10547-199234189560683/source", "state": "file", "uid": 0 } NOTIFIED HANDLER fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return for managed_node1 TASK [fedora.linux_system_roles.vpn : Check if secrets file already exists] **** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Friday 20 September 2024 23:10:42 -0400 (0:00:03.509) 0:00:30.016 ****** ok: [managed_node1] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node3", "stat": { "exists": false } } ok: [managed_node1] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node2", "stat": { "exists": false } } ok: [managed_node1] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": false, "item": "managed_node1", "stat": { "exists": false } } ok: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "exists": false } } ok: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "exists": false } } TASK [fedora.linux_system_roles.vpn : Create ipsec.secrets files] ************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Friday 20 September 2024 23:10:44 -0400 (0:00:01.823) 0:00:31.839 ****** changed: [managed_node1] => (item={u'failed': False, u'stat': {u'exists': False}, u'ansible_loop_var': u'item', u'item': u'managed_node3', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-managed_node3.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "11c6e2cb6fddd31673532ff829f32d2c30f48655", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node3.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.secrets" } }, "item": "managed_node3", "stat": { "exists": false } }, "md5sum": "1df1584a305cc8c7e1f2554b7b20770f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1726888244.57-10865-32811520772508/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'failed': False, u'stat': {u'exists': False}, u'ansible_loop_var': u'item', u'item': u'managed_node2', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-managed_node2.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "04e44b10285552c7a7a6a9e2e70498731b4cf95a", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node2.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.secrets" } }, "item": "managed_node2", "stat": { "exists": false } }, "md5sum": "fd689a4c1c6ddc348ae4083c93aa4744", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1726888245.3-10865-168617374665533/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'failed': False, u'stat': {u'exists': False}, u'ansible_loop_var': u'item', u'item': u'managed_node1', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-managed_node1.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "69f3b4d451db08ec6380ab1c83ca98c05c2b8f4e", "dest": "/etc/ipsec.d/mainhost.local-to-managed_node1.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.secrets" } }, "item": "managed_node1", "stat": { "exists": false } }, "md5sum": "b56de96210a46cabf42d9c0c815a5d70", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 83, "src": "/root/.ansible/tmp/ansible-tmp-1726888246.03-10865-190154083237633/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'failed': False, u'stat': {u'exists': False}, u'ansible_loop_var': u'item', u'item': u'host02.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host02.local.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ce3b2f6edf8d8c254c30955dcf3fb5fc3b5dcc00", "dest": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "exists": false } }, "md5sum": "11683a5844848e721ddac937f6de8ce0", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 85, "src": "/root/.ansible/tmp/ansible-tmp-1726888246.73-10865-120206386576429/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'failed': False, u'stat': {u'exists': False}, u'ansible_loop_var': u'item', u'item': u'host01.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host01.local.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a5c2fb92e1c6e79ed68686d998b42460483ec66b", "dest": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "gid": 0, "group": "root", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "exists": false } }, "md5sum": "e98f3b6d5d75061d1be171f83f0dbc6a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ipsec_key_file_t:s0", "size": 85, "src": "/root/.ansible/tmp/ansible-tmp-1726888247.34-10865-270733420543734/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.vpn : Build opportunistic configuration] ******* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:185 Friday 20 September 2024 23:10:47 -0400 (0:00:03.470) 0:00:35.310 ****** skipping: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Assert file existence] *************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:36 Friday 20 September 2024 23:10:48 -0400 (0:00:00.089) 0:00:35.399 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml for managed_node1 TASK [Stat conf files paths] *************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:2 Friday 20 September 2024 23:10:48 -0400 (0:00:00.091) 0:00:35.491 ****** ok: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1726888242.5959332, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4c1070502f22916e17613c790d1dd6162472cd2d", "ctime": 1726888242.5989332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726888242.3719316, "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": "1519318953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1726888241.9999287, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "49d0ee802d91260f4d1af4977aaeeac81575c4ee", "ctime": 1726888242.0029287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726888241.763927, "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": "1519318943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Stat secrets files paths] ************************************************ task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:8 Friday 20 September 2024 23:10:48 -0400 (0:00:00.638) 0:00:36.129 ****** ok: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "item": "host01.local", "stat": { "atime": 1726888247.8789723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a5c2fb92e1c6e79ed68686d998b42460483ec66b", "ctime": 1726888247.8829722, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726888247.6419706, "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": "1519319029", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "item": "host02.local", "stat": { "atime": 1726888247.2389677, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ce3b2f6edf8d8c254c30955dcf3fb5fc3b5dcc00", "ctime": 1726888247.2429676, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726888247.015966, "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": "1519319019", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:14 Friday 20 September 2024 23:10:49 -0400 (0:00:00.715) 0:00:36.845 ****** ok: [managed_node1] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1726888242.3719316, u'block_size': 4096, u'inode': 262636, u'isgid': False, u'size': 263, u'executable': False, u'roth': True, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'1519318953', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'root', u'path': u'/etc/ipsec.d/mainhost.local-to-host01.local.conf', u'xusr': False, u'atime': 1726888242.5959332, u'mimetype': u'text/plain', u'ctime': 1726888242.5989332, u'wgrp': False, u'checksum': u'4c1070502f22916e17613c790d1dd6162472cd2d', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': u'host01.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host01.local.conf', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "stat": { "atime": 1726888242.5959332, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4c1070502f22916e17613c790d1dd6162472cd2d", "ctime": 1726888242.5989332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726888242.3719316, "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": "1519318953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node1] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1726888241.763927, u'block_size': 4096, u'inode': 262635, u'isgid': False, u'size': 263, u'executable': False, u'roth': True, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'1519318943', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'root', u'path': u'/etc/ipsec.d/mainhost.local-to-host02.local.conf', u'xusr': False, u'atime': 1726888241.9999287, u'mimetype': u'text/plain', u'ctime': 1726888242.0029287, u'wgrp': False, u'checksum': u'49d0ee802d91260f4d1af4977aaeeac81575c4ee', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': u'host02.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host02.local.conf', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "stat": { "atime": 1726888241.9999287, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "49d0ee802d91260f4d1af4977aaeeac81575c4ee", "ctime": 1726888242.0029287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726888241.763927, "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": "1519318943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Assert that ipsec.conf and secrets files exist] ************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:20 Friday 20 September 2024 23:10:49 -0400 (0:00:00.113) 0:00:36.959 ****** ok: [managed_node1] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1726888247.6419706, u'block_size': 4096, u'inode': 262641, u'isgid': False, u'size': 85, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'1519319029', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'root', u'path': u'/etc/ipsec.d/mainhost.local-to-host01.local.secrets', u'xusr': False, u'atime': 1726888247.8789723, u'mimetype': u'text/plain', u'ctime': 1726888247.8829722, u'wgrp': False, u'checksum': u'a5c2fb92e1c6e79ed68686d998b42460483ec66b', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': u'host01.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host01.local.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "stat": { "atime": 1726888247.8789723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a5c2fb92e1c6e79ed68686d998b42460483ec66b", "ctime": 1726888247.8829722, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726888247.6419706, "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": "1519319029", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node1] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1726888247.015966, u'block_size': 4096, u'inode': 262640, u'isgid': False, u'size': 85, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'1519319019', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'root', u'path': u'/etc/ipsec.d/mainhost.local-to-host02.local.secrets', u'xusr': False, u'atime': 1726888247.2389677, u'mimetype': u'text/plain', u'ctime': 1726888247.2429676, u'wgrp': False, u'checksum': u'ce3b2f6edf8d8c254c30955dcf3fb5fc3b5dcc00', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': u'host02.local', u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/etc/ipsec.d/mainhost.local-to-host02.local.secrets', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "stat": { "atime": 1726888247.2389677, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ce3b2f6edf8d8c254c30955dcf3fb5fc3b5dcc00", "ctime": 1726888247.2429676, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726888247.015966, "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": "1519319019", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Reset success flag] ****************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:39 Friday 20 September 2024 23:10:49 -0400 (0:00:00.112) 0:00:37.071 ****** ok: [managed_node1] => { "ansible_facts": { "__vpn_success": true }, "changed": false } TASK [Get and store conf files] ************************************************ task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:43 Friday 20 September 2024 23:10:49 -0400 (0:00:00.043) 0:00:37.114 ****** ok: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } ok: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } TASK [Check that conf file contains correct information] *********************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:49 Friday 20 September 2024 23:10:50 -0400 (0:00:00.868) 0:00:37.982 ****** skipping: [managed_node1] => (item={u'ansible_loop_var': u'item', u'failed': False, u'changed': False, u'content': u'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', u'source': u'/etc/ipsec.d/mainhost.local-to-host01.local.conf', u'item': u'host01.local', u'invocation': {u'module_args': {u'src': u'/etc/ipsec.d/mainhost.local-to-host01.local.conf'}}, u'encoding': u'base64'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAxLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDEubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.conf" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'ansible_loop_var': u'item', u'failed': False, u'changed': False, u'content': u'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=', u'source': u'/etc/ipsec.d/mainhost.local-to-host02.local.conf', u'item': u'host02.local', u'invocation': {u'module_args': {u'src': u'/etc/ipsec.d/mainhost.local-to-host02.local.conf'}}, u'encoding': u'base64'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpjb25uIHR1bm5lbDEtbWFpbmhvc3QubG9jYWwtdG8taG9zdDAyLmxvY2FsCiAgbGVmdD1tYWluaG9zdC5sb2NhbAogIGxlZnRpZD1AbWFpbmhvc3QubG9jYWwKICByaWdodD1ob3N0MDIubG9jYWwKICBpa2V2Mj1pbnNpc3QKICBhdXRvPXN0YXJ0CiAgcmlnaHRpZD0lZnJvbWNlcnQKICBsZWZ0cnNhc2lna2V5PSVjZXJ0CiAgbGVmdGNlcnQ9Y2VydDQKICByaWdodHJzYXNpZ2tleT0lY2VydAo=", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.conf" }, "skip_reason": "Conditional result was False" } TASK [Assert success for conf files] ******************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:75 Friday 20 September 2024 23:10:50 -0400 (0:00:00.109) 0:00:38.092 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get and store secrets files] ********************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:80 Friday 20 September 2024 23:10:50 -0400 (0:00:00.064) 0:00:38.156 ****** ok: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDQiCg==", "encoding": "base64", "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } ok: [managed_node1] => (item=host02.local) => { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDQiCg==", "encoding": "base64", "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } TASK [Check that secrets file contains correct information] ******************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:86 Friday 20 September 2024 23:10:51 -0400 (0:00:00.728) 0:00:38.884 ****** skipping: [managed_node1] => (item={u'ansible_loop_var': u'item', u'failed': False, u'changed': False, u'content': u'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDQiCg==', u'source': u'/etc/ipsec.d/mainhost.local-to-host01.local.secrets', u'item': u'host01.local', u'invocation': {u'module_args': {u'src': u'/etc/ipsec.d/mainhost.local-to-host01.local.secrets'}}, u'encoding': u'base64'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMS5sb2NhbCA6IFJTQSAiY2VydDQiCg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" } }, "item": "host01.local", "source": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'ansible_loop_var': u'item', u'failed': False, u'changed': False, u'content': u'IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDQiCg==', u'source': u'/etc/ipsec.d/mainhost.local-to-host02.local.secrets', u'item': u'host02.local', u'invocation': {u'module_args': {u'src': u'/etc/ipsec.d/mainhost.local-to-host02.local.secrets'}}, u'encoding': u'base64'}) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 1, "item": { "ansible_loop_var": "item", "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dnBuCgpAbWFpbmhvc3QubG9jYWwgQGhvc3QwMi5sb2NhbCA6IFJTQSAiY2VydDQiCg==", "encoding": "base64", "failed": false, "invocation": { "module_args": { "src": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" } }, "item": "host02.local", "source": "/etc/ipsec.d/mainhost.local-to-host02.local.secrets" }, "skip_reason": "Conditional result was False" } TASK [Assert success for secrets files] **************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:98 Friday 20 September 2024 23:10:51 -0400 (0:00:00.098) 0:00:38.983 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check the firewall and the selinux port status] ************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:103 Friday 20 September 2024 23:10:51 -0400 (0:00:00.077) 0:00:39.060 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml for managed_node1 TASK [Get firewall service] **************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:9 Friday 20 September 2024 23:10:51 -0400 (0:00:00.082) 0:00:39.143 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure 'ipsec' is in the firewalld service list] ************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:14 Friday 20 September 2024 23:10:51 -0400 (0:00:00.059) 0:00:39.202 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get associated selinux ports] ******************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:19 Friday 20 September 2024 23:10:51 -0400 (0:00:00.062) 0:00:39.265 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check associated selinux ports when vpn_manage_selinux is true] ********** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_firewall_selinux.yml:27 Friday 20 September 2024 23:10:51 -0400 (0:00:00.063) 0:00:39.329 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:106 Friday 20 September 2024 23:10:52 -0400 (0:00:00.051) 0:00:39.380 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node1 included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node1 included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node1 included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml for managed_node1 TASK [Get file] **************************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Friday 20 September 2024 23:10:52 -0400 (0:00:00.123) 0:00:39.504 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Friday 20 September 2024 23:10:52 -0400 (0:00:00.048) 0:00:39.552 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Friday 20 September 2024 23:10:52 -0400 (0:00:00.176) 0:00:39.729 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Friday 20 September 2024 23:10:52 -0400 (0:00:00.049) 0:00:39.778 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Friday 20 September 2024 23:10:52 -0400 (0:00:00.105) 0:00:39.884 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Friday 20 September 2024 23:10:52 -0400 (0:00:00.048) 0:00:39.932 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:3 Friday 20 September 2024 23:10:52 -0400 (0:00:00.105) 0:00:40.038 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/check_header.yml:9 Friday 20 September 2024 23:10:52 -0400 (0:00:00.052) 0:00:40.090 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:114 Friday 20 September 2024 23:10:52 -0400 (0:00:00.104) 0:00:40.195 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml for managed_node1 TASK [Set platform/version specific variables] ********************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:2 Friday 20 September 2024 23:10:52 -0400 (0:00:00.067) 0:00:40.262 ****** TASK [fedora.linux_system_roles.vpn : Ensure ansible_facts used by role] ******* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:2 Friday 20 September 2024 23:10:52 -0400 (0:00:00.044) 0:00:40.307 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Check if system is ostree] *************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:10 Friday 20 September 2024 23:10:53 -0400 (0:00:00.065) 0:00:40.373 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set flag to indicate system is ostree] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:15 Friday 20 September 2024 23:10:53 -0400 (0:00:00.049) 0:00:40.422 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.vpn : Set platform/version specific variables] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/set_vars.yml:19 Friday 20 September 2024 23:10:53 -0400 (0:00:00.049) 0:00:40.472 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [Get service facts] ******************************************************* task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 Friday 20 September 2024 23:10:53 -0400 (0:00:00.089) 0:00:40.562 ****** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ipsec.service": { "name": "ipsec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "unknown" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [Stop ipsec service] ****************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:11 Friday 20 September 2024 23:10:54 -0400 (0:00:00.834) 0:00:41.397 ****** ok: [managed_node1] => { "changed": false, "enabled": false, "name": "ipsec", "state": "stopped", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network-online.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Internet Key Exchange (IKE) Protocol Daemon for IPsec", "DevicePolicy": "auto", "Documentation": "man:ipsec(8) man:pluto(8) man:ipsec.conf(5)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --listen ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/libexec/ipsec/pluto ; argv[]=/usr/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --checknflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/ipsec/whack ; argv[]=/usr/libexec/ipsec/whack --shutdown ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/usr/sbin/ipsec ; argv[]=/usr/sbin/ipsec --stopnflog ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ipsec.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "ipsec.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "ipsec.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "always", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "3min 20s" } } TASK [Uninstall packages] ****************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 Friday 20 September 2024 23:10:54 -0400 (0:00:00.434) 0:00:41.831 ****** changed: [managed_node1] => (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: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 Friday 20 September 2024 23:10:56 -0400 (0:00:01.671) 0:00:43.502 ****** changed: [managed_node1] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node3", "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.conf", "state": "absent" } changed: [managed_node1] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node2", "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.conf", "state": "absent" } changed: [managed_node1] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node1", "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.conf", "state": "absent" } changed: [managed_node1] => (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: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "item": "host01.local", "path": "/etc/ipsec.d/mainhost.local-to-host01.local.conf", "state": "absent" } TASK [Remove ipsec.secrets files] ********************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 Friday 20 September 2024 23:10:57 -0400 (0:00:01.364) 0:00:44.867 ****** changed: [managed_node1] => (item=managed_node3) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node3", "path": "/etc/ipsec.d/mainhost.local-to-managed_node3.secrets", "state": "absent" } changed: [managed_node1] => (item=managed_node2) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node2", "path": "/etc/ipsec.d/mainhost.local-to-managed_node2.secrets", "state": "absent" } changed: [managed_node1] => (item=managed_node1) => { "ansible_loop_var": "item", "changed": true, "item": "managed_node1", "path": "/etc/ipsec.d/mainhost.local-to-managed_node1.secrets", "state": "absent" } changed: [managed_node1] => (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: [managed_node1] => (item=host01.local) => { "ansible_loop_var": "item", "changed": true, "item": "host01.local", "path": "/etc/ipsec.d/mainhost.local-to-host01.local.secrets", "state": "absent" } TASK [Stop firewall] *********************************************************** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:55 Friday 20 September 2024 23:10:58 -0400 (0:00:01.380) 0:00:46.247 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Friday 20 September 2024 23:10:58 -0400 (0:00:00.035) 0:00:46.282 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.vpn : Enable and restart vpn services] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Friday 20 September 2024 23:10:58 -0400 (0:00:00.039) 0:00:46.322 ****** changed: [managed_node1] => (item=ipsec) => { "ansible_job_id": "189287650803.11950", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/189287650803.11950", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Friday 20 September 2024 23:10:59 -0400 (0:00:00.736) 0:00:47.059 ****** ok: [managed_node1] => { "changed": false, "elapsed": 3 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Restart vpn service and wait for ssh conn to return] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/handlers/main.yml:2 Friday 20 September 2024 23:11:03 -0400 (0:00:03.919) 0:00:50.978 ****** included: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.vpn : Enable and restart vpn services] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Friday 20 September 2024 23:11:03 -0400 (0:00:00.065) 0:00:51.044 ****** changed: [managed_node1] => (item=ipsec) => { "ansible_job_id": "11276106888.12057", "ansible_loop_var": "item", "changed": true, "finished": 0, "item": "ipsec", "results_file": "/root/.ansible_async/11276106888.12057", "started": 1 } RUNNING HANDLER [fedora.linux_system_roles.vpn : Wait for ssh connection to return] *** task path: /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 Friday 20 September 2024 23:11:04 -0400 (0:00:00.745) 0:00:51.789 ****** ok: [managed_node1] => { "changed": false, "elapsed": 3 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=60 changed=11 unreachable=0 failed=0 skipped=31 rescued=0 ignored=0 Friday 20 September 2024 23:11:08 -0400 (0:00:03.584) 0:00:55.373 ****** =============================================================================== fedora.linux_system_roles.vpn : Ensure required packages are installed -- 16.72s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:6 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.92s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : Wait for ssh connection to return ------- 3.58s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:11 fedora.linux_system_roles.vpn : Create ipsec.conf files ----------------- 3.51s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:161 fedora.linux_system_roles.vpn : Create ipsec.secrets files -------------- 3.47s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:175 Gathering Facts --------------------------------------------------------- 2.44s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:3 fedora.linux_system_roles.vpn : Check if secrets file already exists ---- 1.82s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/main.yml:169 Uninstall packages ------------------------------------------------------ 1.67s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:18 fedora.linux_system_roles.vpn : Populate service facts ------------------ 1.54s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/selinux.yml:3 Remove ipsec.secrets files ---------------------------------------------- 1.38s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:49 Remove ipsec.conf files ------------------------------------------------- 1.36s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:43 Get and store conf files ------------------------------------------------ 0.87s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:43 Get service facts ------------------------------------------------------- 0.83s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/cleanup.yml:8 Ensure firewalld not running if not testing firewall -------------------- 0.82s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:67 fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 0.75s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 fedora.linux_system_roles.vpn : Enable and restart vpn services --------- 0.74s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/roles/vpn/tasks/enable_restart_vpn.yml:2 Get and store secrets files --------------------------------------------- 0.73s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tests_host_to_host_cert.yml:80 Stat secrets files paths ------------------------------------------------ 0.72s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:8 Create nss directory for testing ---------------------------------------- 0.66s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/setup_test.yml:22 Stat conf files paths --------------------------------------------------- 0.64s /tmp/collections-ugR/ansible_collections/fedora/linux_system_roles/tests/vpn/tasks/assert_conf_secrets_files_exist.yml:2