# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml:2 Saturday 10 August 2024 13:10:10 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.688) 0:00:00.701 ******* included: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for sut TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.012) 0:00:00.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.018) 0:00:00.731 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.249) 0:00:00.980 ******* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.020) 0:00:01.001 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 10 August 2024 13:10:11 +0000 (0:00:00.035) 0:00:01.037 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-cffi-1.14.5-5.el9.x86_64", "Installed: python3-ply-3.11-14.el9.noarch", "Installed: python3-pycparser-2.20-6.el9.noarch", "Installed: python3-cryptography-36.0.1-4.el9.x86_64", "Installed: python3-pyasn1-0.4.8-6.el9.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 10 August 2024 13:10:17 +0000 (0:00:05.572) 0:00:06.609 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.17-2.el9.x86_64", "Installed: python3-packaging-20.9-5.el9.noarch", "Installed: python3-pyparsing-2.4.7-9.el9.noarch" ] } lsrpackages: certmonger python3-packaging TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 10 August 2024 13:10:20 +0000 (0:00:03.086) 0:00:09.696 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 10 August 2024 13:10:20 +0000 (0:00:00.280) 0:00:09.976 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 10 August 2024 13:10:20 +0000 (0:00:00.198) 0:00:10.174 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket network.target syslog.target sysinit.target basic.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 10 August 2024 13:10:21 +0000 (0:00:00.675) 0:00:10.849 ******* changed: [sut] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [linux-system-roles.certificate : Slurp the contents of the files] ******** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 10 August 2024 13:10:23 +0000 (0:00:01.876) 0:00:12.726 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Create return data] ********************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.038) 0:00:12.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.017) 0:00:12.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.018) 0:00:12.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml:18 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.019) 0:00:12.820 ******* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml:50 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.467) 0:00:13.288 ******* included: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.043) 0:00:13.332 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.009) 0:00:13.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.031) 0:00:13.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.024) 0:00:13.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:10:23 +0000 (0:00:00.017) 0:00:13.414 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:10:24 +0000 (0:00:00.977) 0:00:14.392 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295421.939519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5a0ba5108e5d6cf6814a965cc4a65a7ff7517df", "ctime": 1723295421.9375188, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2560062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295421.9375188, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "3085098709", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.197) 0:00:14.589 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.020) 0:00:14.609 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.022) 0:00:14.632 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.020) 0:00:14.653 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295421.8815188, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ed466f270b1022b6975a68489fcb806d41e3f01b", "ctime": 1723295421.9375188, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295421.9375188, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1926208773", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.202) 0:00:14.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.019) 0:00:14.875 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.023) 0:00:14.899 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:8A:BE:92:D3:5F:04:DB:8F:E1:4C:59:67:C0:20:A4:60:19:9A:5D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8D:30:B1:88:88:0B:EE:3F:EC:DA:CA:E5:8D:56:43:96:2B:1F:3E:65:5D:35:71:D0:35:B5:3A:C3:15:36:44:B1:A6:23:41:A6:7A:BF:1D:50:D3:DE:D8:13:53:D0:26:FC:F9:CE:F6:4E:E3:00:4D:9E:73:42:56:E5:08:8D:3B:AF:B3:B8:00:28:C4:2F:78:5D:E4:06:94:63:CD:53:56:32:B0:97:97:A6:D6:E4:FC:40:6F:31:39:30:82:AC:87:C5:70:1D:6D:5C:B9:E1:39:98:DB:AD:31:C5:3D:CF:FD:8D:E4:C0:52:11:C0:DF:F5:8F:E2:3F:D7:CF:7A:35:79:2D:55:18:44:4C:41:AD:1A:19:F4:62:6A:6B:9A:44:6A:53:79:C7:83:06:33:6A:53:30:51:B9:93:CC:17:E9:06:1F:0A:05:42:12:19:8B:2E:67:C1:85:5D:BC:19:AB:81:92:D0:E2:1B:03:22:8E:17:A4:7A:03:05:BD:9B:01:68:CC:AC:62:3D:4A:19:BB:AA:02:96:3B:6C:4D:7E:25:FA:13:7D:A7:7B:32:F7:30:9C:DF:FE:DF:C4:23:AB:A9:FD:16:B3:0C:49:5C:58:55:D3:EC:31:54:4D:07:5D:A5:58:96:F9:AE:32:55:10:5F:92:DC:4A:27:24:CA:90:C8:CD:FD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131021Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.297) 0:00:15.196 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:8A:BE:92:D3:5F:04:DB:8F:E1:4C:59:67:C0:20:A4:60:19:9A:5D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8D:30:B1:88:88:0B:EE:3F:EC:DA:CA:E5:8D:56:43:96:2B:1F:3E:65:5D:35:71:D0:35:B5:3A:C3:15:36:44:B1:A6:23:41:A6:7A:BF:1D:50:D3:DE:D8:13:53:D0:26:FC:F9:CE:F6:4E:E3:00:4D:9E:73:42:56:E5:08:8D:3B:AF:B3:B8:00:28:C4:2F:78:5D:E4:06:94:63:CD:53:56:32:B0:97:97:A6:D6:E4:FC:40:6F:31:39:30:82:AC:87:C5:70:1D:6D:5C:B9:E1:39:98:DB:AD:31:C5:3D:CF:FD:8D:E4:C0:52:11:C0:DF:F5:8F:E2:3F:D7:CF:7A:35:79:2D:55:18:44:4C:41:AD:1A:19:F4:62:6A:6B:9A:44:6A:53:79:C7:83:06:33:6A:53:30:51:B9:93:CC:17:E9:06:1F:0A:05:42:12:19:8B:2E:67:C1:85:5D:BC:19:AB:81:92:D0:E2:1B:03:22:8E:17:A4:7A:03:05:BD:9B:01:68:CC:AC:62:3D:4A:19:BB:AA:02:96:3B:6C:4D:7E:25:FA:13:7D:A7:7B:32:F7:30:9C:DF:FE:DF:C4:23:AB:A9:FD:16:B3:0C:49:5C:58:55:D3:EC:31:54:4D:07:5D:A5:58:96:F9:AE:32:55:10:5F:92:DC:4A:27:24:CA:90:C8:CD:FD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131021Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.020) 0:00:15.216 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.020) 0:00:15.236 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.019) 0:00:15.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.019) 0:00:15.275 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.021) 0:00:15.296 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:10:25 +0000 (0:00:00.021) 0:00:15.318 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.047875", "end": "2024-08-10 13:10:26.175372", "rc": 0, "start": "2024-08-10 13:10:26.127497" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.294) 0:00:15.612 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.020) 0:00:15.632 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.008) 0:00:15.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.017) 0:00:15.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.016) 0:00:15.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:10:26 +0000 (0:00:00.017) 0:00:15.692 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.952) 0:00:16.644 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295422.492519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "80c208134a1902c268167866057719da196eeb1a", "ctime": 1723295422.489519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2632311, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295422.489519, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2287090658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.193) 0:00:16.838 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.019) 0:00:16.858 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.021) 0:00:16.880 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.021) 0:00:16.901 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295422.439519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf235fa4cba6163e6a01c387acc79b2ce6ac8bfc", "ctime": 1723295422.489519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358117, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295422.489519, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "789512962", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.196) 0:00:17.098 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.019) 0:00:17.117 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.021) 0:00:17.139 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F9:EA:FA:C1:E5:B8:C4:4A:4F:28:AE:A6:62:B0:23:30:F7:C8:E8:67" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3D:BE:9D:DD:93:0A:01:A0:90:13:3F:BC:27:A4:09:17:BF:DF:42:EC:7C:D2:C2:A6:96:FD:F9:6D:D1:AA:AB:A4:F8:FE:6F:41:10:E5:14:ED:AA:15:8D:62:90:38:C4:99:BA:BD:D6:34:55:11:7E:4D:93:58:A0:D0:8A:AB:FE:EC:E6:1F:75:82:8F:7E:0A:83:F9:09:C8:FF:44:91:B4:F0:F7:30:29:3B:AB:1B:02:86:C0:BE:86:B4:5C:07:FD:D2:1E:E7:6A:5F:0D:F7:3A:26:AB:EA:6E:12:34:63:2A:EE:2D:92:8B:A5:5E:7C:3C:87:F7:C6:75:05:19:21:AE:FA:7D:B2:63:19:EF:44:BB:F6:B1:05:77:AC:95:F5:DC:87:32:51:61:BB:A9:B5:8A:5E:14:E5:37:C2:F4:B4:2D:10:A9:CD:BD:B2:59:F7:3D:A2:7E:56:1A:03:23:E3:A3:68:7C:D6:30:54:A9:0E:E5:A1:32:3D:20:00:E5:17:46:6C:E2:BD:D6:81:BA:02:CE:67:20:4D:0B:ED:05:50:A4:29:DD:BA:1C:61:26:89:8F:59:3E:33:AC:BF:C2:54:D8:82:E1:C7:30:26:4C:1B:B3:FA:59:00:82:CB:BF:C2:CF:49:9A:3C:1B:AF:BB:CB:9C:F0:B9:D7:FD:D9:7E:DF:EF:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131022Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.232) 0:00:17.372 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F9:EA:FA:C1:E5:B8:C4:4A:4F:28:AE:A6:62:B0:23:30:F7:C8:E8:67" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3D:BE:9D:DD:93:0A:01:A0:90:13:3F:BC:27:A4:09:17:BF:DF:42:EC:7C:D2:C2:A6:96:FD:F9:6D:D1:AA:AB:A4:F8:FE:6F:41:10:E5:14:ED:AA:15:8D:62:90:38:C4:99:BA:BD:D6:34:55:11:7E:4D:93:58:A0:D0:8A:AB:FE:EC:E6:1F:75:82:8F:7E:0A:83:F9:09:C8:FF:44:91:B4:F0:F7:30:29:3B:AB:1B:02:86:C0:BE:86:B4:5C:07:FD:D2:1E:E7:6A:5F:0D:F7:3A:26:AB:EA:6E:12:34:63:2A:EE:2D:92:8B:A5:5E:7C:3C:87:F7:C6:75:05:19:21:AE:FA:7D:B2:63:19:EF:44:BB:F6:B1:05:77:AC:95:F5:DC:87:32:51:61:BB:A9:B5:8A:5E:14:E5:37:C2:F4:B4:2D:10:A9:CD:BD:B2:59:F7:3D:A2:7E:56:1A:03:23:E3:A3:68:7C:D6:30:54:A9:0E:E5:A1:32:3D:20:00:E5:17:46:6C:E2:BD:D6:81:BA:02:CE:67:20:4D:0B:ED:05:50:A4:29:DD:BA:1C:61:26:89:8F:59:3E:33:AC:BF:C2:54:D8:82:E1:C7:30:26:4C:1B:B3:FA:59:00:82:CB:BF:C2:CF:49:9A:3C:1B:AF:BB:CB:9C:F0:B9:D7:FD:D9:7E:DF:EF:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131022Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.018) 0:00:17.390 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:10:27 +0000 (0:00:00.019) 0:00:17.410 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.028) 0:00:17.438 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.025) 0:00:17.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.024) 0:00:17.489 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.024) 0:00:17.513 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.047575", "end": "2024-08-10 13:10:28.311434", "rc": 0, "start": "2024-08-10 13:10:28.263859" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.235) 0:00:17.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.023) 0:00:17.772 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.010) 0:00:17.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.018) 0:00:17.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.018) 0:00:17.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:10:28 +0000 (0:00:00.017) 0:00:17.837 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.937) 0:00:18.774 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295423.168519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e405aa83fcacc14665f69e9c460b745a870ecbaa", "ctime": 1723295423.166519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2984564, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295423.166519, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2514296040", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.194) 0:00:18.969 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.019) 0:00:18.989 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.022) 0:00:19.011 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.019) 0:00:19.031 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723295423.115519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "27ae4349aa5403f658e7929ddf65ec1614cd955e", "ctime": 1723295423.165519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723295423.165519, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1165893130", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.194) 0:00:19.225 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.019) 0:00:19.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:10:29 +0000 (0:00:00.021) 0:00:19.266 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EE:0B:1F:7D:7C:7E:14:FA:D8:28:AC:2F:01:87:60:54:21:83:55:5B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AA:E1:19:C3:C9:3D:23:AC:49:65:79:D0:72:B8:8A:8B:9E:5F:6A:BA:FB:FF:E6:28:1A:53:C1:ED:6C:1F:5F:AD:B4:E3:E5:4F:96:5E:20:FB:D6:5A:EB:6A:A0:C5:B1:2D:89:39:E8:18:56:69:CD:21:54:90:EB:78:26:DA:E2:A6:23:B1:9F:21:C1:97:BD:9D:33:2A:77:BC:DD:43:16:4D:FC:7D:B9:B3:55:F0:31:20:84:D9:64:FE:14:A3:63:E3:04:80:DF:26:28:CB:9B:29:72:30:9D:21:80:BC:FC:3B:FA:29:FB:A3:46:2A:65:6D:D1:27:E7:AC:F6:57:78:6F:E4:87:8D:73:D3:DE:1E:18:40:AD:E5:DC:B0:F0:4E:CC:EA:05:B5:DE:F9:9A:2A:E6:BD:A0:AC:FE:7E:4A:C6:43:7C:47:0C:9F:99:34:5C:14:78:C7:8F:7D:28:AC:17:CA:DC:B4:26:2D:13:80:C8:89:17:7F:75:CC:67:18:C6:CE:09:C0:D0:EB:D3:BE:F6:69:46:35:FA:BD:6B:49:0C:F1:C7:9F:C9:65:07:32:A0:05:A8:2F:01:3B:F9:5F:D9:8D:B5:6C:87:9A:10:C9:BF:BE:5D:C1:5A:D6:20:05:72:4F:7C:12:7F:2F:80:23:8B:91:BB:E1:9E:FF:1A:8A:17:75" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131023Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.232) 0:00:19.499 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "21:37:7B:96:39:AC:47:26:03:E4:F7:6E:28:E1:9E:9C:AC:70:0B:43" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EE:0B:1F:7D:7C:7E:14:FA:D8:28:AC:2F:01:87:60:54:21:83:55:5B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AA:E1:19:C3:C9:3D:23:AC:49:65:79:D0:72:B8:8A:8B:9E:5F:6A:BA:FB:FF:E6:28:1A:53:C1:ED:6C:1F:5F:AD:B4:E3:E5:4F:96:5E:20:FB:D6:5A:EB:6A:A0:C5:B1:2D:89:39:E8:18:56:69:CD:21:54:90:EB:78:26:DA:E2:A6:23:B1:9F:21:C1:97:BD:9D:33:2A:77:BC:DD:43:16:4D:FC:7D:B9:B3:55:F0:31:20:84:D9:64:FE:14:A3:63:E3:04:80:DF:26:28:CB:9B:29:72:30:9D:21:80:BC:FC:3B:FA:29:FB:A3:46:2A:65:6D:D1:27:E7:AC:F6:57:78:6F:E4:87:8D:73:D3:DE:1E:18:40:AD:E5:DC:B0:F0:4E:CC:EA:05:B5:DE:F9:9A:2A:E6:BD:A0:AC:FE:7E:4A:C6:43:7C:47:0C:9F:99:34:5C:14:78:C7:8F:7D:28:AC:17:CA:DC:B4:26:2D:13:80:C8:89:17:7F:75:CC:67:18:C6:CE:09:C0:D0:EB:D3:BE:F6:69:46:35:FA:BD:6B:49:0C:F1:C7:9F:C9:65:07:32:A0:05:A8:2F:01:3B:F9:5F:D9:8D:B5:6C:87:9A:10:C9:BF:BE:5D:C1:5A:D6:20:05:72:4F:7C:12:7F:2F:80:23:8B:91:BB:E1:9E:FF:1A:8A:17:75" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810131021Z", "not_valid_before": "20240810131023Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.018) 0:00:19.518 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.020) 0:00:19.538 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.019) 0:00:19.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.019) 0:00:19.577 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.023) 0:00:19.600 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.022) 0:00:19.623 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.047784", "end": "2024-08-10 13:10:30.417054", "rc": 0, "start": "2024-08-10 13:10:30.369270" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.229) 0:00:19.853 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 10 August 2024 13:10:30 +0000 (0:00:00.017) 0:00:19.870 ******* =============================================================================== linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 5.57s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 linux-system-roles.certificate : Ensure provider packages are installed --- 3.09s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate requests ------------ 1.88s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Ensure python3 is installed --------------------------------------------- 0.98s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.95s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.94s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:29 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml:2 ------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.68s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-cioaooly9n/tests/tests_many_self_signed.yml:18 ------------ Parse certificate ------------------------------------------------------- 0.30s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.29s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.28s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 linux-system-roles.certificate : Check if system is ostree -------------- 0.25s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 Parse certificate ------------------------------------------------------- 0.23s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Parse certificate ------------------------------------------------------- 0.23s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.23s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:151 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:69 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.20s /WORKDIR/git-weekly-cioaooly9n/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-cioaooly9n/tests/tasks/assert_certificate_parameters.yml:40 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---