# 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-cioxnscw12/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tests_many_self_signed.yml:2 Saturday 18 May 2024 13:17:48 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 18 May 2024 13:17:48 +0000 (0:00:00.788) 0:00:00.801 ********** included: /WORKDIR/git-weekly-cioxnscw12/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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 18 May 2024 13:17:48 +0000 (0:00:00.013) 0:00:00.814 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 18 May 2024 13:17:48 +0000 (0:00:00.021) 0:00:00.836 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 18 May 2024 13:17:49 +0000 (0:00:00.254) 0:00:01.090 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 18 May 2024 13:17:49 +0000 (0:00:00.022) 0:00:01.113 ********** 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-cioxnscw12/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-cioxnscw12/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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 18 May 2024 13:17:49 +0000 (0:00:00.037) 0:00:01.151 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "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", "Installed: python3-cffi-1.14.5-5.el9.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 18 May 2024 13:17:55 +0000 (0:00:05.840) 0:00:06.991 ********** 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-pyparsing-2.4.7-9.el9.noarch", "Installed: python3-packaging-20.9-5.el9.noarch" ] } lsrpackages: certmonger python3-packaging TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 18 May 2024 13:17:58 +0000 (0:00:03.044) 0:00:10.036 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 18 May 2024 13:17:58 +0000 (0:00:00.278) 0:00:10.314 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 18 May 2024 13:17:58 +0000 (0:00:00.207) 0:00:10.521 ********** 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": "dbus.socket basic.target syslog.target network.target sysinit.target dbus-broker.service systemd-journald.socket system.slice", "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": "13972", "LimitNPROCSoft": "13972", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13972", "LimitSIGPENDINGSoft": "13972", "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 dbus.socket system.slice", "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": "22356", "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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 18 May 2024 13:17:59 +0000 (0:00:00.724) 0:00:11.246 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 18 May 2024 13:18:01 +0000 (0:00:01.932) 0:00:13.178 ********** 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-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 18 May 2024 13:18:01 +0000 (0:00:00.040) 0:00:13.219 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 18 May 2024 13:18:01 +0000 (0:00:00.020) 0:00:13.240 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 18 May 2024 13:18:01 +0000 (0:00:00.019) 0:00:13.260 ********** 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-cioxnscw12/tests/tests_many_self_signed.yml:18 Saturday 18 May 2024 13:18:01 +0000 (0:00:00.022) 0:00:13.282 ********** ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tests_many_self_signed.yml:50 Saturday 18 May 2024 13:18:01 +0000 (0:00:00.568) 0:00:13.851 ********** included: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:2 Saturday 18 May 2024 13:18:02 +0000 (0:00:00.047) 0:00:13.899 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:9 Saturday 18 May 2024 13:18:02 +0000 (0:00:00.010) 0:00:13.910 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:14 Saturday 18 May 2024 13:18:02 +0000 (0:00:00.022) 0:00:13.932 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:18 Saturday 18 May 2024 13:18:02 +0000 (0:00:00.022) 0:00:13.955 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Saturday 18 May 2024 13:18:02 +0000 (0:00:00.021) 0:00:13.976 ********** 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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:40 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.900) 0:00:14.876 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038279.9354439, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "31f7dc320092d0374fb593598fe8bb3cf94f098c", "ctime": 1716038279.933444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2573091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038279.933444, "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": "1601853050", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:45 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.204) 0:00:15.081 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:51 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.022) 0:00:15.103 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:63 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.023) 0:00:15.127 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:69 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.023) 0:00:15.151 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038279.8794453, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a3c94bb139d60690e1b6bc353eb2ce57ec98960a", "ctime": 1716038279.933444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 585417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038279.933444, "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": "1185595239", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:74 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.201) 0:00:15.352 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:80 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.021) 0:00:15.373 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.023) 0:00:15.397 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "3D:CA:4D:0C:36:42:A9:9C:19:6E:5F:AB:53:D7:21:FF:D9:7C:01:83" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:BC:A0:D6:29:71:6D:CF:51:73:44:4D:DC:6A:4F:0A:B1:FC:37:6A:41:FF:9B:28:81:02:C4:31:38:F4:AC:A8:DF:7C:DF:53:51:53:24:B8:6B:D8:A1:CC:1F:02:47:7F:4E:B9:CE:EB:78:E0:C4:A8:08:E9:E4:31:0F:61:B1:B4:16:C3:38:8A:2B:16:A6:55:62:14:30:70:E0:66:42:71:38:48:A9:41:E9:2C:CF:6D:C1:2E:60:6A:59:36:E1:12:70:B8:63:5D:E7:CC:AE:83:6F:30:9E:41:B9:C6:51:A0:05:6D:B4:0D:2E:3E:4C:00:56:BC:EE:2E:9C:48:39:7E:67:50:58:D2:52:47:26:8B:8C:EC:CA:10:F0:2C:59:AB:1F:9F:B5:72:E0:2A:D2:13:93:2D:42:3E:48:06:6A:B5:66:2B:C0:28:E0:1E:6B:88:DE:64:7E:21:72:AD:ED:56:05:A3:DC:B1:58:5A:65:99:C4:0B:95:A9:95:BB:E3:4D:CC:CB:3F:30:0A:CD:C2:AD:58:2B:69:2F:30:E7:CC:F1:68:CF:F2:CA:D5:AC:59:C1:A0:C8:FC:E9:D0:3C:31:3D:3C:93:57:18:0E:59:F4:A3:1F:A9:D2:F8:1F:D2:EB:E5:52:BE:14:C0:B0:2D:43:CA:B9:D2:CD:F5:91:DF:AF:97" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131759Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:98 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.305) 0:00:15.702 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "3D:CA:4D:0C:36:42:A9:9C:19:6E:5F:AB:53:D7:21:FF:D9:7C:01:83" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:BC:A0:D6:29:71:6D:CF:51:73:44:4D:DC:6A:4F:0A:B1:FC:37:6A:41:FF:9B:28:81:02:C4:31:38:F4:AC:A8:DF:7C:DF:53:51:53:24:B8:6B:D8:A1:CC:1F:02:47:7F:4E:B9:CE:EB:78:E0:C4:A8:08:E9:E4:31:0F:61:B1:B4:16:C3:38:8A:2B:16:A6:55:62:14:30:70:E0:66:42:71:38:48:A9:41:E9:2C:CF:6D:C1:2E:60:6A:59:36:E1:12:70:B8:63:5D:E7:CC:AE:83:6F:30:9E:41:B9:C6:51:A0:05:6D:B4:0D:2E:3E:4C:00:56:BC:EE:2E:9C:48:39:7E:67:50:58:D2:52:47:26:8B:8C:EC:CA:10:F0:2C:59:AB:1F:9F:B5:72:E0:2A:D2:13:93:2D:42:3E:48:06:6A:B5:66:2B:C0:28:E0:1E:6B:88:DE:64:7E:21:72:AD:ED:56:05:A3:DC:B1:58:5A:65:99:C4:0B:95:A9:95:BB:E3:4D:CC:CB:3F:30:0A:CD:C2:AD:58:2B:69:2F:30:E7:CC:F1:68:CF:F2:CA:D5:AC:59:C1:A0:C8:FC:E9:D0:3C:31:3D:3C:93:57:18:0E:59:F4:A3:1F:A9:D2:F8:1F:D2:EB:E5:52:BE:14:C0:B0:2D:43:CA:B9:D2:CD:F5:91:DF:AF:97" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131759Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:102 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.021) 0:00:15.723 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:111 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.021) 0:00:15.745 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:120 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.020) 0:00:15.766 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:127 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.019) 0:00:15.785 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:138 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.024) 0:00:15.809 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 Saturday 18 May 2024 13:18:03 +0000 (0:00:00.022) 0:00:15.832 ********** 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.047782", "end": "2024-05-18 13:18:04.245731", "rc": 0, "start": "2024-05-18 13:18:04.197949" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:160 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.306) 0:00:16.139 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:2 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.023) 0:00:16.162 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:9 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.008) 0:00:16.171 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:14 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.018) 0:00:16.189 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:18 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.017) 0:00:16.207 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Saturday 18 May 2024 13:18:04 +0000 (0:00:00.017) 0:00:16.224 ********** 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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:40 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.883) 0:00:17.108 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038280.5154305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1611fc1c14a0119c16fe9d9b18373134c109faff", "ctime": 1716038280.5124304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2904760, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038280.5124304, "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": "2762081499", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:45 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.198) 0:00:17.306 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:51 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.020) 0:00:17.327 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:63 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.023) 0:00:17.350 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:69 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.020) 0:00:17.371 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038280.4624317, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "eba3e88eb4017d12365ef64f8780b101b421dedd", "ctime": 1716038280.5124304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038280.5124304, "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": "3445014617", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:74 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.196) 0:00:17.568 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:80 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.020) 0:00:17.589 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.022) 0:00:17.611 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "49:3A:46:66:21:3B:73:56:CA:BF:E5:E2:4D:85:2A:AC:F9:4A:40:05" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "61:E5:21:57:E7:BD:0E:29:90:0E:48:F7:7D:30:6C:7E:22:B0:2F:C9:4B:E1:F7:9A:9B:44:50:3E:20:E8:0D:93:0A:CD:0F:E9:E6:7F:C0:A4:95:D7:59:2D:9C:4C:7E:53:96:1D:EF:11:74:B5:A6:CA:68:57:4D:11:2C:38:C0:D0:1A:B8:2B:60:9E:4F:75:58:B3:27:75:34:DC:F5:8A:EB:E7:4D:98:71:03:2D:AB:5F:F0:3A:43:24:B0:14:D2:AD:7C:E0:19:08:3D:E9:7B:1B:33:FA:D7:54:DE:40:C3:6F:69:29:D2:E5:E5:36:54:53:E5:B3:E9:7E:12:D7:F8:79:81:F4:F1:07:F2:09:EC:38:9F:16:C0:2D:FC:6C:68:24:F9:55:FC:30:02:E1:78:C7:0F:6C:2C:B9:A6:1F:54:BD:27:26:FA:4E:F3:57:44:93:59:A2:FE:AF:1C:43:09:91:86:3B:04:93:CD:DF:DA:B7:BD:60:A8:23:F6:35:1C:57:01:6C:CE:AD:F3:24:9F:88:B2:D1:3D:7D:BD:5B:64:E4:24:8F:06:FB:E6:1E:74:2B:DE:8F:E4:34:0C:F4:61:94:D4:13:9B:B8:29:0B:4C:A0:AC:23:F9:A4:0D:7B:34:5E:5D:EC:D3:75:7D:43:78:CA:18:08:6E:3C:5E:F1:53:8F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131800Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:98 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.239) 0:00:17.851 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "49:3A:46:66:21:3B:73:56:CA:BF:E5:E2:4D:85:2A:AC:F9:4A:40:05" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "61:E5:21:57:E7:BD:0E:29:90:0E:48:F7:7D:30:6C:7E:22:B0:2F:C9:4B:E1:F7:9A:9B:44:50:3E:20:E8:0D:93:0A:CD:0F:E9:E6:7F:C0:A4:95:D7:59:2D:9C:4C:7E:53:96:1D:EF:11:74:B5:A6:CA:68:57:4D:11:2C:38:C0:D0:1A:B8:2B:60:9E:4F:75:58:B3:27:75:34:DC:F5:8A:EB:E7:4D:98:71:03:2D:AB:5F:F0:3A:43:24:B0:14:D2:AD:7C:E0:19:08:3D:E9:7B:1B:33:FA:D7:54:DE:40:C3:6F:69:29:D2:E5:E5:36:54:53:E5:B3:E9:7E:12:D7:F8:79:81:F4:F1:07:F2:09:EC:38:9F:16:C0:2D:FC:6C:68:24:F9:55:FC:30:02:E1:78:C7:0F:6C:2C:B9:A6:1F:54:BD:27:26:FA:4E:F3:57:44:93:59:A2:FE:AF:1C:43:09:91:86:3B:04:93:CD:DF:DA:B7:BD:60:A8:23:F6:35:1C:57:01:6C:CE:AD:F3:24:9F:88:B2:D1:3D:7D:BD:5B:64:E4:24:8F:06:FB:E6:1E:74:2B:DE:8F:E4:34:0C:F4:61:94:D4:13:9B:B8:29:0B:4C:A0:AC:23:F9:A4:0D:7B:34:5E:5D:EC:D3:75:7D:43:78:CA:18:08:6E:3C:5E:F1:53:8F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131800Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:102 Saturday 18 May 2024 13:18:05 +0000 (0:00:00.021) 0:00:17.872 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:111 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.022) 0:00:17.895 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:120 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.021) 0:00:17.916 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:127 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.022) 0:00:17.938 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:138 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.024) 0:00:17.963 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.024) 0:00:17.987 ********** 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.047774", "end": "2024-05-18 13:18:06.333135", "rc": 0, "start": "2024-05-18 13:18:06.285361" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:160 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.238) 0:00:18.225 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:2 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.020) 0:00:18.246 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:9 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.008) 0:00:18.255 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:14 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.016) 0:00:18.272 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:18 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.017) 0:00:18.289 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Saturday 18 May 2024 13:18:06 +0000 (0:00:00.018) 0:00:18.307 ********** 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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:40 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.880) 0:00:19.188 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038281.1424158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "63adbb66b65874d782c87e4d4ccbfb02c3520875", "ctime": 1716038281.139416, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3009232, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038281.139416, "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": "1408669175", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:45 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.199) 0:00:19.388 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:51 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.019) 0:00:19.407 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:63 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.022) 0:00:19.430 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:69 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.020) 0:00:19.451 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716038281.088417, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "482f61624e3beae43394467f3c9398b08cf40e27", "ctime": 1716038281.139416, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 614558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716038281.139416, "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": "3582748302", "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-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:74 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.200) 0:00:19.651 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:80 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.020) 0:00:19.672 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 Saturday 18 May 2024 13:18:07 +0000 (0:00:00.023) 0:00:19.695 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "DD:BD:60:51:7B:F5:A1:48:4C:EA:DE:0D:DB:AF:38:4E:FB:83:6E:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9A:0E:E0:9D:7B:18:2B:A1:AC:0E:96:B5:3F:9B:BF:83:85:75:EF:92:13:83:52:08:60:FF:F9:04:AA:C1:11:92:91:61:D2:FB:2F:24:23:90:59:E0:7F:A4:B5:94:11:CC:D7:CD:61:87:28:D2:0D:B6:BB:9F:E7:FC:06:5B:66:A4:B1:D2:E7:54:99:A8:3A:32:79:B1:7F:95:F5:56:43:76:3D:42:46:58:1B:B2:F2:FD:64:28:D3:E0:C3:3C:FA:70:9F:A5:E7:EC:84:EF:A7:4B:AE:88:68:D7:2B:06:AC:E1:CA:13:1E:41:A5:2F:0C:D5:35:1E:AF:A0:D1:A8:01:FF:B2:E6:6B:BB:85:99:68:45:61:66:B6:07:F9:CC:40:52:4B:A8:C6:13:DC:A2:A8:47:46:9B:D7:C9:FF:A1:F9:61:9E:15:24:50:29:B0:EA:78:37:75:B8:98:40:63:AD:DA:55:AA:EB:19:88:F4:AB:F2:6E:20:7C:38:B9:3C:36:68:F1:70:F5:6B:D5:D2:3D:A2:F9:04:C6:DA:D5:EE:B6:19:31:BA:E3:EC:22:B4:F7:52:54:A1:DD:85:DB:AD:26:1F:B4:0A:54:96:33:70:8C:FA:BA:9C:49:C2:9D:58:78:E4:E7:EF:80:6E:73:77:F1:DD:6E:C4:EE:AF:6D:B4:42:CB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131801Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:98 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.242) 0:00:19.937 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B1:BC:9C:B5:87:B0:42:47:E4:9B:67:A4:74:D4:C2:0C:C4:5B:75:A9" }, "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": "DD:BD:60:51:7B:F5:A1:48:4C:EA:DE:0D:DB:AF:38:4E:FB:83:6E:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9A:0E:E0:9D:7B:18:2B:A1:AC:0E:96:B5:3F:9B:BF:83:85:75:EF:92:13:83:52:08:60:FF:F9:04:AA:C1:11:92:91:61:D2:FB:2F:24:23:90:59:E0:7F:A4:B5:94:11:CC:D7:CD:61:87:28:D2:0D:B6:BB:9F:E7:FC:06:5B:66:A4:B1:D2:E7:54:99:A8:3A:32:79:B1:7F:95:F5:56:43:76:3D:42:46:58:1B:B2:F2:FD:64:28:D3:E0:C3:3C:FA:70:9F:A5:E7:EC:84:EF:A7:4B:AE:88:68:D7:2B:06:AC:E1:CA:13:1E:41:A5:2F:0C:D5:35:1E:AF:A0:D1:A8:01:FF:B2:E6:6B:BB:85:99:68:45:61:66:B6:07:F9:CC:40:52:4B:A8:C6:13:DC:A2:A8:47:46:9B:D7:C9:FF:A1:F9:61:9E:15:24:50:29:B0:EA:78:37:75:B8:98:40:63:AD:DA:55:AA:EB:19:88:F4:AB:F2:6E:20:7C:38:B9:3C:36:68:F1:70:F5:6B:D5:D2:3D:A2:F9:04:C6:DA:D5:EE:B6:19:31:BA:E3:EC:22:B4:F7:52:54:A1:DD:85:DB:AD:26:1F:B4:0A:54:96:33:70:8C:FA:BA:9C:49:C2:9D:58:78:E4:E7:EF:80:6E:73:77:F1:DD:6E:C4:EE:AF:6D:B4:42:CB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250518131759Z", "not_valid_before": "20240518131801Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:102 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.019) 0:00:19.957 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:111 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.020) 0:00:19.978 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:120 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.020) 0:00:19.999 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:127 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.020) 0:00:20.019 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:138 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.023) 0:00:20.043 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.024) 0:00:20.067 ********** 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.047753", "end": "2024-05-18 13:18:08.412028", "rc": 0, "start": "2024-05-18 13:18:08.364275" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:160 Saturday 18 May 2024 13:18:08 +0000 (0:00:00.236) 0:00:20.304 ********** 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 18 May 2024 13:18:08 +0000 (0:00:00.021) 0:00:20.325 ********** =============================================================================== linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 5.84s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 linux-system-roles.certificate : Ensure provider packages are installed --- 3.04s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate requests ------------ 1.93s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Ensure python3 is installed --------------------------------------------- 0.90s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.88s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.88s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:29 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-weekly-cioxnscw12/tests/tests_many_self_signed.yml:2 ------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.72s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-weekly-cioxnscw12/tests/tests_many_self_signed.yml:18 ------------ Retrieve auto-renew flag ------------------------------------------------ 0.31s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 Parse certificate ------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.28s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 linux-system-roles.certificate : Check if system is ostree -------------- 0.25s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Parse certificate ------------------------------------------------------- 0.24s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 Parse certificate ------------------------------------------------------- 0.24s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.21s /WORKDIR/git-weekly-cioxnscw12/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:40 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-cioxnscw12/tests/tasks/assert_certificate_parameters.yml:69 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---