[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-8JR executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 17 August 2024 08:24:04 -0400 (0:00:00.010) 0:00:00.010 ******* [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 17 August 2024 08:24:05 -0400 (0:00:01.095) 0:00:01.105 ******* included: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 17 August 2024 08:24:05 -0400 (0:00:00.018) 0:00:01.124 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 17 August 2024 08:24:06 -0400 (0:00:00.034) 0:00:01.158 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 17 August 2024 08:24:06 -0400 (0:00:00.451) 0:00:01.610 ******* ok: [managed_node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 17 August 2024 08:24:06 -0400 (0:00:00.031) 0:00:01.641 ******* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 17 August 2024 08:24:06 -0400 (0:00:00.049) 0:00:01.690 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 17 August 2024 08:24:08 -0400 (0:00:01.504) 0:00:03.195 ******* ok: [managed_node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 17 August 2024 08:24:09 -0400 (0:00:01.579) 0:00:04.774 ******* ok: [managed_node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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 [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 17 August 2024 08:24:10 -0400 (0:00:00.545) 0:00:05.319 ******* ok: [managed_node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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 [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 17 August 2024 08:24:10 -0400 (0:00:00.363) 0:00:05.683 ******* ok: [managed_node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-08-17 08:23:11 EDT", "ActiveEnterTimestampMonotonic": "224518443", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service system.slice basic.target network.target systemd-journald.socket sysinit.target dbus.socket syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 08:23:11 EDT", "AssertTimestampMonotonic": "224503280", "Before": "shutdown.target multi-user.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": "1500453000", "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": "yes", "ConditionTimestamp": "Sat 2024-08-17 08:23:11 EDT", "ConditionTimestampMonotonic": "224503276", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "3767", "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": "7149", "ExecMainStartTimestamp": "Sat 2024-08-17 08:23:11 EDT", "ExecMainStartTimestampMonotonic": "224509118", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-17 08:23:11 EDT] ; stop_time=[n/a] ; pid=7149 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-08-17 08:23:11 EDT] ; stop_time=[n/a] ; pid=7149 ; 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", "InactiveExitTimestamp": "Sat 2024-08-17 08:23:11 EDT", "InactiveExitTimestampMonotonic": "224509722", "InvocationID": "838cd14bfa5b48618b4bd50be0a86105", "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": "7149", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4763648", "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": "dbus.socket system.slice sysinit.target", "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]", "StateChangeTimestamp": "Sat 2024-08-17 08:23:11 EDT", "StateChangeTimestampMonotonic": "224518443", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "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": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 17 August 2024 08:24:11 -0400 (0:00:00.729) 0:00:06.412 ******* changed: [managed_node2] => (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: [managed_node2] => (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: [managed_node2] => (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 [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 17 August 2024 08:24:14 -0400 (0:00:03.307) 0:00:09.719 ******* skipping: [managed_node2] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 17 August 2024 08:24:14 -0400 (0:00:00.063) 0:00:09.782 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 17 August 2024 08:24:14 -0400 (0:00:00.032) 0:00:09.815 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 17 August 2024 08:24:14 -0400 (0:00:00.034) 0:00:09.849 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 17 August 2024 08:24:14 -0400 (0:00:00.052) 0:00:09.902 ******* ok: [managed_node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.842) 0:00:10.744 ******* included: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.102) 0:00:10.847 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.023) 0:00:10.871 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.030) 0:00:10.902 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.028) 0:00:10.930 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:24:15 -0400 (0:00:00.026) 0:00:10.956 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:24:17 -0400 (0:00:01.407) 0:00:12.364 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897452.9894516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ca55fc5f5b147e4babf10aed652d87b0f79f1057", "ctime": 1723897452.9874516, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2632155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897452.9874516, "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": "1921991741", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:24:17 -0400 (0:00:00.328) 0:00:12.693 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:24:17 -0400 (0:00:00.018) 0:00:12.711 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:24:17 -0400 (0:00:00.040) 0:00:12.752 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:24:17 -0400 (0:00:00.036) 0:00:12.789 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897452.941451, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "086391b49e1a0832ec9566d815275b4a7d50c53f", "ctime": 1723897452.9874516, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 653921, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897452.9874516, "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": "1988581918", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:24:17 -0400 (0:00:00.329) 0:00:13.118 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.021) 0:00:13.140 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.057) 0:00:13.198 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "44:66:E1:D3:AA:60:80:44:32:15:9B:99:55:31:A2:23:7B:AB:4F:17" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:63:F5:36:ED:6D:FC:CA:2B:D8:58:0D:50:38:D3:C8:36:DF:1A:AA:01:2C:4C:76:67:FD:A7:7D:07:25:0F:FA:9C:6B:BE:47:5D:DC:D3:22:6C:85:76:C7:D0:38:17:8A:05:44:C8:62:15:1E:BB:25:0F:14:C1:C9:05:A5:2A:13:1F:BD:40:C9:0E:D6:48:A2:71:18:98:0C:09:93:52:56:3A:F1:60:3E:0A:21:E9:48:62:57:2E:5F:35:C7:A2:BC:07:F7:FE:85:6C:C0:EC:41:DF:BF:0B:1C:AB:81:88:08:70:23:66:B6:60:DA:5C:97:7C:D1:D3:6A:B1:0E:80:63:FC:5C:2C:75:E2:E0:CB:84:15:62:EC:24:85:68:18:DD:5F:76:89:26:D9:29:79:50:63:DA:74:63:79:2F:51:0E:09:3C:CB:D0:4F:14:0A:72:09:28:42:75:A1:64:F7:67:20:F8:E3:2B:D1:91:03:49:45:E0:99:9B:6D:C6:82:D9:11:8B:72:94:27:2E:BC:6B:FD:80:EB:2E:6E:C0:BB:0F:5D:29:1C:33:65:7E:3A:B5:C8:21:3B:A9:5A:1A:70:84:33:96:E8:6D:96:DA:5D:35:AA:7F:55:E9:20:3E:34:1F:F1:61:41:DB:02:9F:E0:5D:63:53:AA:73:97:0F:98:9C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122412Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.491) 0:00:13.689 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "44:66:E1:D3:AA:60:80:44:32:15:9B:99:55:31:A2:23:7B:AB:4F:17" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:63:F5:36:ED:6D:FC:CA:2B:D8:58:0D:50:38:D3:C8:36:DF:1A:AA:01:2C:4C:76:67:FD:A7:7D:07:25:0F:FA:9C:6B:BE:47:5D:DC:D3:22:6C:85:76:C7:D0:38:17:8A:05:44:C8:62:15:1E:BB:25:0F:14:C1:C9:05:A5:2A:13:1F:BD:40:C9:0E:D6:48:A2:71:18:98:0C:09:93:52:56:3A:F1:60:3E:0A:21:E9:48:62:57:2E:5F:35:C7:A2:BC:07:F7:FE:85:6C:C0:EC:41:DF:BF:0B:1C:AB:81:88:08:70:23:66:B6:60:DA:5C:97:7C:D1:D3:6A:B1:0E:80:63:FC:5C:2C:75:E2:E0:CB:84:15:62:EC:24:85:68:18:DD:5F:76:89:26:D9:29:79:50:63:DA:74:63:79:2F:51:0E:09:3C:CB:D0:4F:14:0A:72:09:28:42:75:A1:64:F7:67:20:F8:E3:2B:D1:91:03:49:45:E0:99:9B:6D:C6:82:D9:11:8B:72:94:27:2E:BC:6B:FD:80:EB:2E:6E:C0:BB:0F:5D:29:1C:33:65:7E:3A:B5:C8:21:3B:A9:5A:1A:70:84:33:96:E8:6D:96:DA:5D:35:AA:7F:55:E9:20:3E:34:1F:F1:61:41:DB:02:9F:E0:5D:63:53:AA:73:97:0F:98:9C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122412Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.020) 0:00:13.710 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.052) 0:00:13.762 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.019) 0:00:13.782 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.037) 0:00:13.820 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.042) 0:00:13.862 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:24:18 -0400 (0:00:00.041) 0:00:13.904 ******* ok: [managed_node2] => { "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.044982", "end": "2024-08-17 08:24:19.251345", "rc": 0, "start": "2024-08-17 08:24:19.206363" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.522) 0:00:14.426 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.038) 0:00:14.465 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.017) 0:00:14.482 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.020) 0:00:14.503 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.031) 0:00:14.535 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:24:19 -0400 (0:00:00.022) 0:00:14.557 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:24:20 -0400 (0:00:01.444) 0:00:16.002 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897453.6664596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2a5a7425aa3400d25b1e94cccf2450d96ba56f2", "ctime": 1723897453.6634593, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2632158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897453.6634593, "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": "676318990", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.331) 0:00:16.333 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.018) 0:00:16.351 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.041) 0:00:16.392 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.042) 0:00:16.435 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897453.6174588, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ae244467f3b9717a30fdf6c7ec2c690574436350", "ctime": 1723897453.6634593, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 653922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897453.6634593, "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": "1880442111", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.348) 0:00:16.784 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.020) 0:00:16.804 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:24:21 -0400 (0:00:00.044) 0:00:16.848 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "38:DF:2D:9D:93:F8:43:8F:0B:69:67:7E:A7:2C:7D:C4:1C:10:3B:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:09:E3:91:E8:C3:4F:9B:64:23:01:F3:CA:F8:49:DB:EA:A9:C3:81:2A:3A:42:CF:11:49:A8:9F:8D:44:97:2A:E7:FC:F7:F2:36:B2:F8:37:17:CB:E8:61:38:37:C6:9C:03:F1:FC:59:A2:3D:5C:34:C1:A9:C1:9B:AC:39:FD:3D:CC:3C:69:39:6D:CA:04:77:7A:01:77:1A:75:70:0E:02:62:26:59:98:18:40:00:83:F7:32:C4:0F:13:5F:B2:9B:88:DB:42:06:95:80:7D:7F:9E:43:BF:07:2D:4E:E1:8C:AD:F2:73:78:FD:3D:60:8F:BB:28:FF:7B:C1:01:E0:C2:01:1C:79:76:86:73:82:0F:37:D6:59:CC:70:3E:31:C7:8C:98:EF:AD:DB:D4:48:F7:66:E5:C2:D1:50:AC:20:8B:69:83:01:F9:17:B3:28:C4:CC:3C:F8:E0:21:47:87:9B:1A:2E:0F:4F:89:E9:B5:61:E8:76:44:F2:FC:87:80:AA:D9:81:5D:4E:67:69:D6:A6:33:BB:CF:75:38:50:FF:DD:8B:8D:EF:84:6A:1D:16:37:C2:CC:BE:A6:F5:F6:31:39:35:11:37:D7:E1:9B:6B:43:B6:4C:FF:FF:BE:91:45:EA:43:CC:D9:3F:EA:F3:BE:21:82:CF:DC:BC:80:9D:DB:DA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122413Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.362) 0:00:17.211 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "38:DF:2D:9D:93:F8:43:8F:0B:69:67:7E:A7:2C:7D:C4:1C:10:3B:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:09:E3:91:E8:C3:4F:9B:64:23:01:F3:CA:F8:49:DB:EA:A9:C3:81:2A:3A:42:CF:11:49:A8:9F:8D:44:97:2A:E7:FC:F7:F2:36:B2:F8:37:17:CB:E8:61:38:37:C6:9C:03:F1:FC:59:A2:3D:5C:34:C1:A9:C1:9B:AC:39:FD:3D:CC:3C:69:39:6D:CA:04:77:7A:01:77:1A:75:70:0E:02:62:26:59:98:18:40:00:83:F7:32:C4:0F:13:5F:B2:9B:88:DB:42:06:95:80:7D:7F:9E:43:BF:07:2D:4E:E1:8C:AD:F2:73:78:FD:3D:60:8F:BB:28:FF:7B:C1:01:E0:C2:01:1C:79:76:86:73:82:0F:37:D6:59:CC:70:3E:31:C7:8C:98:EF:AD:DB:D4:48:F7:66:E5:C2:D1:50:AC:20:8B:69:83:01:F9:17:B3:28:C4:CC:3C:F8:E0:21:47:87:9B:1A:2E:0F:4F:89:E9:B5:61:E8:76:44:F2:FC:87:80:AA:D9:81:5D:4E:67:69:D6:A6:33:BB:CF:75:38:50:FF:DD:8B:8D:EF:84:6A:1D:16:37:C2:CC:BE:A6:F5:F6:31:39:35:11:37:D7:E1:9B:6B:43:B6:4C:FF:FF:BE:91:45:EA:43:CC:D9:3F:EA:F3:BE:21:82:CF:DC:BC:80:9D:DB:DA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122413Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.023) 0:00:17.234 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.039) 0:00:17.274 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.018) 0:00:17.293 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.040) 0:00:17.333 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.041) 0:00:17.375 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.046) 0:00:17.422 ******* ok: [managed_node2] => { "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.045348", "end": "2024-08-17 08:24:22.667957", "rc": 0, "start": "2024-08-17 08:24:22.622609" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.420) 0:00:17.843 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.039) 0:00:17.882 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.015) 0:00:17.897 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.022) 0:00:17.920 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.025) 0:00:17.945 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:24:22 -0400 (0:00:00.023) 0:00:17.969 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:24:24 -0400 (0:00:01.492) 0:00:19.462 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897454.4374683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f11374a36bc17f9720b3de2663266f6c551100f1", "ctime": 1723897454.4344683, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2632159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897454.4344683, "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": "2169314778", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:24:24 -0400 (0:00:00.342) 0:00:19.804 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:24:24 -0400 (0:00:00.027) 0:00:19.832 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:24:24 -0400 (0:00:00.063) 0:00:19.895 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:24:24 -0400 (0:00:00.058) 0:00:19.954 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723897454.3884678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "af40e86696cf6c1d679b48fc0576bc1c55c04ae9", "ctime": 1723897454.4344683, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 653923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897454.4344683, "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": "14569616", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.364) 0:00:20.318 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.022) 0:00:20.341 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.064) 0:00:20.406 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "ED:99:66:86:D3:5C:AE:AA:99:DE:E0:30:35:A1:57:B5:E6:E8:21:32" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "49:7D:EC:A3:DC:01:8A:BF:6E:AB:BA:03:5D:04:86:92:D2:BD:89:E8:9D:13:13:E5:83:83:18:4B:DE:BD:9B:91:00:4B:1D:45:C7:CF:1F:DC:22:0B:C1:40:BE:E1:8A:CC:4A:6A:C5:33:4A:77:BF:83:5F:DF:17:C1:D6:4A:FA:B9:EC:68:B1:9F:87:72:0F:23:45:4B:33:81:70:C9:39:7C:05:89:D7:CB:DE:59:4F:7E:38:44:E7:75:D6:E9:EF:FE:69:EE:20:A7:CD:50:A9:C0:6C:6E:36:84:72:E5:FE:3A:09:39:EA:08:AE:CC:34:7B:E9:8A:94:87:A0:0D:B7:82:31:96:AF:D9:C6:7F:46:01:A2:80:2E:A0:5E:02:82:E3:01:33:E3:03:FF:F0:8E:75:E0:D2:E0:EC:20:D3:FE:AE:F1:24:8A:56:55:52:2C:C4:29:EC:16:2C:8C:06:8B:89:CA:97:5C:90:13:88:BB:5C:71:8E:12:01:69:2F:00:C7:6C:46:92:5B:77:D1:69:C4:26:C0:27:EE:10:10:4A:70:67:CC:61:5B:EB:20:E3:F6:35:29:B0:27:CA:30:31:EB:EA:9E:69:37:B9:42:7A:28:BB:7C:BA:99:92:7A:3D:00:9B:52:88:9A:44:07:40:58:FB:A2:6C:A6:80:83:71:B8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122414Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.397) 0:00:20.803 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "11:A1:B2:D7:33:8D:2C:1F:DC:3C:7B:F7:0D:A9:D8:8B:1D:7C:5B:09" }, "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": "ED:99:66:86:D3:5C:AE:AA:99:DE:E0:30:35:A1:57:B5:E6:E8:21:32" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "49:7D:EC:A3:DC:01:8A:BF:6E:AB:BA:03:5D:04:86:92:D2:BD:89:E8:9D:13:13:E5:83:83:18:4B:DE:BD:9B:91:00:4B:1D:45:C7:CF:1F:DC:22:0B:C1:40:BE:E1:8A:CC:4A:6A:C5:33:4A:77:BF:83:5F:DF:17:C1:D6:4A:FA:B9:EC:68:B1:9F:87:72:0F:23:45:4B:33:81:70:C9:39:7C:05:89:D7:CB:DE:59:4F:7E:38:44:E7:75:D6:E9:EF:FE:69:EE:20:A7:CD:50:A9:C0:6C:6E:36:84:72:E5:FE:3A:09:39:EA:08:AE:CC:34:7B:E9:8A:94:87:A0:0D:B7:82:31:96:AF:D9:C6:7F:46:01:A2:80:2E:A0:5E:02:82:E3:01:33:E3:03:FF:F0:8E:75:E0:D2:E0:EC:20:D3:FE:AE:F1:24:8A:56:55:52:2C:C4:29:EC:16:2C:8C:06:8B:89:CA:97:5C:90:13:88:BB:5C:71:8E:12:01:69:2F:00:C7:6C:46:92:5B:77:D1:69:C4:26:C0:27:EE:10:10:4A:70:67:CC:61:5B:EB:20:E3:F6:35:29:B0:27:CA:30:31:EB:EA:9E:69:37:B9:42:7A:28:BB:7C:BA:99:92:7A:3D:00:9B:52:88:9A:44:07:40:58:FB:A2:6C:A6:80:83:71:B8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250817122311Z", "not_valid_before": "20240817122414Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.022) 0:00:20.825 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.047) 0:00:20.873 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.029) 0:00:20.903 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.067) 0:00:20.970 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.059) 0:00:21.029 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:24:25 -0400 (0:00:00.047) 0:00:21.077 ******* ok: [managed_node2] => { "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.044978", "end": "2024-08-17 08:24:26.272057", "rc": 0, "start": "2024-08-17 08:24:26.227079" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:24:26 -0400 (0:00:00.372) 0:00:21.450 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node2 : ok=69 changed=1 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 17 August 2024 08:24:26 -0400 (0:00:00.072) 0:00:21.523 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 3.31s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.58s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.50s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 1.49s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.44s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.41s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.84s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.73s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.55s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.52s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.45s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.37s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.36s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Parse certificate ------------------------------------------------------- 0.36s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.35s /tmp/collections-8JR/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65