# 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-ci79ery48z/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tests_many_self_signed.yml:2 Saturday 03 August 2024 13:08:50 +0000 (0:00:00.012) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.709) 0:00:00.722 ******* included: /WORKDIR/git-weekly-ci79ery48z/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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.014) 0:00:00.737 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.019) 0:00:00.757 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.251) 0:00:01.009 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.020) 0:00:01.029 ******* 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-ci79ery48z/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-ci79ery48z/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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 03 August 2024 13:08:51 +0000 (0:00:00.034) 0:00:01.064 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.4.8-6.el9.noarch", "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" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 03 August 2024 13:08:56 +0000 (0:00:05.130) 0:00:06.195 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 03 August 2024 13:08:59 +0000 (0:00:02.904) 0:00:09.099 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 03 August 2024 13:09:00 +0000 (0:00:00.287) 0:00:09.386 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 03 August 2024 13:09:00 +0000 (0:00:00.202) 0:00:09.589 ******* 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": "syslog.target sysinit.target systemd-journald.socket dbus.socket dbus-broker.service network.target basic.target 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": "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 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": "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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 03 August 2024 13:09:01 +0000 (0:00:00.715) 0:00:10.305 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 03 August 2024 13:09:03 +0000 (0:00:02.269) 0:00:12.574 ******* 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-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.038) 0:00:12.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.017) 0:00:12.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.017) 0:00:12.647 ******* 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-ci79ery48z/tests/tests_many_self_signed.yml:18 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.019) 0:00:12.666 ******* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tests_many_self_signed.yml:50 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.474) 0:00:13.141 ******* included: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.037) 0:00:13.178 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.008) 0:00:13.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.016) 0:00:13.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.016) 0:00:13.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 Saturday 03 August 2024 13:09:03 +0000 (0:00:00.015) 0:00:13.235 ******* 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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:40 Saturday 03 August 2024 13:09:04 +0000 (0:00:00.861) 0:00:14.096 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690541.5622957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "edb9be2207d46b806dcb990c99caed690b00acb3", "ctime": 1722690541.5592957, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2561914, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690541.5592957, "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": "1741348896", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:45 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.192) 0:00:14.289 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:51 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.019) 0:00:14.308 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:63 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.020) 0:00:14.329 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:69 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.018) 0:00:14.347 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690541.5012944, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4da771a2b2e834d1fa9157d3a2c27c0fb14fb760", "ctime": 1722690541.5592957, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552366, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690541.5592957, "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": "3101301726", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:74 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.192) 0:00:14.539 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:80 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.018) 0:00:14.558 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.020) 0:00:14.579 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "8A:8E:90:81:5F:47:CE:D2:A4:53:56:D2:C4:DC:A4:9A:11:16:11:52" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:46:8F:7E:75:5E:1A:52:A8:84:14:20:3F:66:28:94:33:AC:40:BC:94:26:E6:18:B0:25:F6:76:C3:4F:5D:6A:28:90:89:8F:F7:5A:6B:2B:68:B9:DC:33:9A:D9:7D:48:7F:C6:9A:A4:D4:41:CB:26:53:E4:A6:75:9C:96:AD:40:D5:90:AA:7F:B3:9A:A0:8B:17:53:D3:60:EC:A3:AF:A3:D1:27:A0:67:DC:08:C6:57:B7:BC:89:53:A9:67:1D:E4:75:30:41:C8:C9:EE:86:CD:79:AB:42:C2:10:85:DA:2E:14:A0:71:63:C0:83:C9:AF:62:E6:BC:69:1F:1E:A8:35:37:AB:BC:8F:E1:1F:82:BF:97:18:57:C2:45:81:95:8E:93:B2:87:03:22:44:C2:44:7E:59:CE:03:1B:BB:02:4D:E7:A4:5F:98:E4:4E:30:90:9D:8F:79:C0:22:DD:A8:AA:EB:DA:1F:D4:77:1C:C3:02:E6:81:80:58:74:06:7F:64:7F:4E:11:D5:21:21:40:88:0E:B7:96:55:59:01:E9:8A:5B:3B:5B:DD:EF:43:78:CA:6A:99:BF:39:D4:D4:08:D7:FE:14:4F:AD:FF:7B:13:5E:4F:EF:A5:E9:40:05:A7:7A:96:C4:A5:D3:33:36:4B:E6:77:F0:93:CF:B4:34:E0:BE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130901Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:98 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.298) 0:00:14.877 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "8A:8E:90:81:5F:47:CE:D2:A4:53:56:D2:C4:DC:A4:9A:11:16:11:52" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:46:8F:7E:75:5E:1A:52:A8:84:14:20:3F:66:28:94:33:AC:40:BC:94:26:E6:18:B0:25:F6:76:C3:4F:5D:6A:28:90:89:8F:F7:5A:6B:2B:68:B9:DC:33:9A:D9:7D:48:7F:C6:9A:A4:D4:41:CB:26:53:E4:A6:75:9C:96:AD:40:D5:90:AA:7F:B3:9A:A0:8B:17:53:D3:60:EC:A3:AF:A3:D1:27:A0:67:DC:08:C6:57:B7:BC:89:53:A9:67:1D:E4:75:30:41:C8:C9:EE:86:CD:79:AB:42:C2:10:85:DA:2E:14:A0:71:63:C0:83:C9:AF:62:E6:BC:69:1F:1E:A8:35:37:AB:BC:8F:E1:1F:82:BF:97:18:57:C2:45:81:95:8E:93:B2:87:03:22:44:C2:44:7E:59:CE:03:1B:BB:02:4D:E7:A4:5F:98:E4:4E:30:90:9D:8F:79:C0:22:DD:A8:AA:EB:DA:1F:D4:77:1C:C3:02:E6:81:80:58:74:06:7F:64:7F:4E:11:D5:21:21:40:88:0E:B7:96:55:59:01:E9:8A:5B:3B:5B:DD:EF:43:78:CA:6A:99:BF:39:D4:D4:08:D7:FE:14:4F:AD:FF:7B:13:5E:4F:EF:A5:E9:40:05:A7:7A:96:C4:A5:D3:33:36:4B:E6:77:F0:93:CF:B4:34:E0:BE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130901Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:102 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.018) 0:00:14.896 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:111 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.019) 0:00:14.915 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:120 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.020) 0:00:14.936 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:127 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.019) 0:00:14.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:138 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.022) 0:00:14.979 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Saturday 03 August 2024 13:09:05 +0000 (0:00:00.021) 0:00:15.001 ******* 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.049174", "end": "2024-08-03 13:09:06.026381", "rc": 0, "start": "2024-08-03 13:09:05.977207" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:160 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.307) 0:00:15.309 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.023) 0:00:15.332 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.011) 0:00:15.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.027) 0:00:15.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.018) 0:00:15.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 Saturday 03 August 2024 13:09:06 +0000 (0:00:00.019) 0:00:15.409 ******* 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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:40 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.872) 0:00:16.281 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690542.2383082, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b7a655926812697c7a6650dbd7b987927da5cddb", "ctime": 1722690542.2353082, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2646539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690542.2353082, "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": "3264918353", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:45 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.198) 0:00:16.480 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:51 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.019) 0:00:16.499 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:63 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.021) 0:00:16.521 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:69 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.019) 0:00:16.541 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690542.1853073, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a18ba59744e763633ee037205cafd00733f47cd1", "ctime": 1722690542.2353082, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 568646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690542.2353082, "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": "3205865974", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:74 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.193) 0:00:16.734 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:80 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.019) 0:00:16.754 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.021) 0:00:16.776 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "2C:4F:67:25:2E:44:80:8E:78:74:2F:CB:4A:44:7F:94:58:CA:09:39" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:74:83:FF:78:40:02:D9:5E:FE:9E:7F:68:2B:00:A0:79:3C:BA:11:5D:41:52:E6:07:E2:4F:B1:40:BE:F8:D7:5E:0E:3D:14:46:37:83:E3:34:14:C6:37:2E:2D:83:B8:AF:18:67:11:6A:E8:B9:D9:04:45:CA:43:05:71:27:2E:EE:E5:60:41:3B:0B:82:6C:26:0A:F0:23:5E:2D:AC:74:81:A0:7C:E3:76:01:5D:6A:5E:60:EF:B5:1C:7D:BF:7C:73:9F:92:FC:88:7F:12:B8:D9:77:35:C2:D8:4D:E4:93:E6:F5:2C:2E:55:E4:18:C4:3F:39:28:25:DB:51:C6:B9:BB:39:90:CE:7D:1C:97:0D:8C:29:DC:A9:5D:9D:B7:27:91:42:47:85:73:CA:EB:AC:E7:8A:E1:07:B2:5C:B0:69:8D:5D:62:95:E4:BD:BA:77:AA:EB:76:24:38:40:52:23:A6:5C:E6:90:12:82:10:68:0F:A2:04:7F:32:F9:24:6E:B2:8E:7C:20:D3:C3:DD:2F:B7:40:F0:97:66:80:71:F2:3A:27:7F:A7:2C:9B:FE:05:C0:26:0B:07:03:84:AC:49:62:D9:E8:44:F5:40:F2:FF:61:A3:9A:B1:D5:77:98:06:E2:7D:39:F2:9F:FE:C3:9C:ED:22:D5:C1:85:1F:E5:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130902Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:98 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.236) 0:00:17.013 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "2C:4F:67:25:2E:44:80:8E:78:74:2F:CB:4A:44:7F:94:58:CA:09:39" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:74:83:FF:78:40:02:D9:5E:FE:9E:7F:68:2B:00:A0:79:3C:BA:11:5D:41:52:E6:07:E2:4F:B1:40:BE:F8:D7:5E:0E:3D:14:46:37:83:E3:34:14:C6:37:2E:2D:83:B8:AF:18:67:11:6A:E8:B9:D9:04:45:CA:43:05:71:27:2E:EE:E5:60:41:3B:0B:82:6C:26:0A:F0:23:5E:2D:AC:74:81:A0:7C:E3:76:01:5D:6A:5E:60:EF:B5:1C:7D:BF:7C:73:9F:92:FC:88:7F:12:B8:D9:77:35:C2:D8:4D:E4:93:E6:F5:2C:2E:55:E4:18:C4:3F:39:28:25:DB:51:C6:B9:BB:39:90:CE:7D:1C:97:0D:8C:29:DC:A9:5D:9D:B7:27:91:42:47:85:73:CA:EB:AC:E7:8A:E1:07:B2:5C:B0:69:8D:5D:62:95:E4:BD:BA:77:AA:EB:76:24:38:40:52:23:A6:5C:E6:90:12:82:10:68:0F:A2:04:7F:32:F9:24:6E:B2:8E:7C:20:D3:C3:DD:2F:B7:40:F0:97:66:80:71:F2:3A:27:7F:A7:2C:9B:FE:05:C0:26:0B:07:03:84:AC:49:62:D9:E8:44:F5:40:F2:FF:61:A3:9A:B1:D5:77:98:06:E2:7D:39:F2:9F:FE:C3:9C:ED:22:D5:C1:85:1F:E5:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130902Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:102 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.018) 0:00:17.032 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:111 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.020) 0:00:17.052 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:120 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.019) 0:00:17.071 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:127 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.019) 0:00:17.091 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:138 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.022) 0:00:17.113 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Saturday 03 August 2024 13:09:07 +0000 (0:00:00.022) 0:00:17.136 ******* 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.049719", "end": "2024-08-03 13:09:08.095921", "rc": 0, "start": "2024-08-03 13:09:08.046202" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:160 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.234) 0:00:17.370 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.020) 0:00:17.390 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.007) 0:00:17.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.017) 0:00:17.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.017) 0:00:17.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 Saturday 03 August 2024 13:09:08 +0000 (0:00:00.017) 0:00:17.450 ******* 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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:40 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.868) 0:00:18.318 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690543.178326, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5f352870f68970db7c30e6996740d07e18f1a063", "ctime": 1722690543.1753259, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2982347, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690543.1753259, "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": "1524074400", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:45 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.198) 0:00:18.516 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:51 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.020) 0:00:18.537 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:63 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.034) 0:00:18.571 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:69 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.027) 0:00:18.599 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690543.124325, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6de5183f25ebdb7fa3cfef44df5aceea7af669b2", "ctime": 1722690543.1753259, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690543.1753259, "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": "1575529298", "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-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:74 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.209) 0:00:18.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:80 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.019) 0:00:18.828 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.021) 0:00:18.849 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "77:8E:6A:C2:46:C2:1A:FA:64:76:1E:B8:C3:FC:3C:EA:E9:56:D9:2D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:CE:21:A5:BC:7E:6E:03:C4:85:25:D2:F5:FF:F4:1E:AD:EA:02:3A:C6:05:11:19:DE:8F:FE:95:62:57:BA:9C:FE:FE:96:4A:8C:F7:C4:80:D2:06:4B:7A:6F:41:A5:B2:4F:69:3A:37:2B:78:45:53:A2:50:D6:DF:28:30:23:49:10:C5:85:74:BB:91:F4:93:F0:BB:EF:F3:B3:78:2D:A7:30:B7:73:2A:FF:EF:62:BB:98:B7:C9:73:01:1A:AA:F7:1E:4E:9D:73:B1:ED:86:ED:9F:51:F4:9E:D6:14:2A:D1:BD:BA:3A:0D:23:42:4C:C0:94:52:66:6C:29:FC:02:EC:3F:4C:4B:E4:53:F6:EC:0E:C7:D3:BF:BB:83:17:17:DB:AA:B5:4F:17:56:80:CC:8B:0D:8D:AF:D2:DF:C5:B6:F0:8C:EF:30:BD:27:E7:F5:75:19:C6:5D:54:C9:0E:DB:CC:D6:06:39:5E:B3:27:AB:F6:CB:23:0E:D5:7A:92:C9:D6:53:09:AF:20:DF:63:1E:65:7C:46:9C:F6:0A:5A:68:E7:EB:D1:C6:E7:60:B1:91:CA:89:C0:86:59:3B:49:65:50:A3:95:99:B2:90:89:68:6D:92:DE:84:F6:D5:D8:08:D6:E0:72:BA:11:0D:19:7E:43:C6:22:E2:8A:8A:A8:6E:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130903Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:98 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.237) 0:00:19.087 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:2E:23:6F:99:97:15:A9:01:9E:6B:41:35:F0:F1:F4:5A:11:49:CB" }, "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": "77:8E:6A:C2:46:C2:1A:FA:64:76:1E:B8:C3:FC:3C:EA:E9:56:D9:2D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:CE:21:A5:BC:7E:6E:03:C4:85:25:D2:F5:FF:F4:1E:AD:EA:02:3A:C6:05:11:19:DE:8F:FE:95:62:57:BA:9C:FE:FE:96:4A:8C:F7:C4:80:D2:06:4B:7A:6F:41:A5:B2:4F:69:3A:37:2B:78:45:53:A2:50:D6:DF:28:30:23:49:10:C5:85:74:BB:91:F4:93:F0:BB:EF:F3:B3:78:2D:A7:30:B7:73:2A:FF:EF:62:BB:98:B7:C9:73:01:1A:AA:F7:1E:4E:9D:73:B1:ED:86:ED:9F:51:F4:9E:D6:14:2A:D1:BD:BA:3A:0D:23:42:4C:C0:94:52:66:6C:29:FC:02:EC:3F:4C:4B:E4:53:F6:EC:0E:C7:D3:BF:BB:83:17:17:DB:AA:B5:4F:17:56:80:CC:8B:0D:8D:AF:D2:DF:C5:B6:F0:8C:EF:30:BD:27:E7:F5:75:19:C6:5D:54:C9:0E:DB:CC:D6:06:39:5E:B3:27:AB:F6:CB:23:0E:D5:7A:92:C9:D6:53:09:AF:20:DF:63:1E:65:7C:46:9C:F6:0A:5A:68:E7:EB:D1:C6:E7:60:B1:91:CA:89:C0:86:59:3B:49:65:50:A3:95:99:B2:90:89:68:6D:92:DE:84:F6:D5:D8:08:D6:E0:72:BA:11:0D:19:7E:43:C6:22:E2:8A:8A:A8:6E:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803130901Z", "not_valid_before": "20240803130903Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:102 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.019) 0:00:19.106 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:111 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.019) 0:00:19.125 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:120 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.019) 0:00:19.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:127 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.019) 0:00:19.164 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:138 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.021) 0:00:19.186 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Saturday 03 August 2024 13:09:09 +0000 (0:00:00.023) 0:00:19.210 ******* 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.049594", "end": "2024-08-03 13:09:10.175238", "rc": 0, "start": "2024-08-03 13:09:10.125644" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:160 Saturday 03 August 2024 13:09:10 +0000 (0:00:00.239) 0:00:19.449 ******* 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 03 August 2024 13:09:10 +0000 (0:00:00.017) 0:00:19.467 ******* =============================================================================== linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 5.13s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 linux-system-roles.certificate : Ensure provider packages are installed --- 2.90s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate requests ------------ 2.27s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Ensure python3 is installed --------------------------------------------- 0.87s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.87s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 0.86s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure provider service is running ----- 0.72s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-ci79ery48z/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-ci79ery48z/tests/tests_many_self_signed.yml:18 ------------ Retrieve auto-renew flag ------------------------------------------------ 0.31s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Parse certificate ------------------------------------------------------- 0.30s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.29s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 linux-system-roles.certificate : Check if system is ostree -------------- 0.25s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Parse certificate ------------------------------------------------------- 0.24s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 Parse certificate ------------------------------------------------------- 0.24s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.23s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:151 Retrieve key file stats ------------------------------------------------- 0.21s /WORKDIR/git-weekly-ci79ery48z/tests/tasks/assert_certificate_parameters.yml:69 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.20s /WORKDIR/git-weekly-ci79ery48z/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-ci79ery48z/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. ---^---^---^---^---^---