ansible-playbook [core 2.17.4] 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-pGG executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-pGG/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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 28 September 2024 11:35:55 -0400 (0:00:00.013) 0:00:00.013 **** [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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 28 September 2024 11:35:56 -0400 (0:00:01.065) 0:00:01.079 **** included: /tmp/collections-pGG/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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 28 September 2024 11:35:56 -0400 (0:00:00.017) 0:00:01.097 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 28 September 2024 11:35:56 -0400 (0:00:00.031) 0:00:01.129 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 28 September 2024 11:35:56 -0400 (0:00:00.430) 0:00:01.560 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 28 September 2024 11:35:56 -0400 (0:00:00.033) 0:00:01.593 **** 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-pGG/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-pGG/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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 28 September 2024 11:35:56 -0400 (0:00:00.063) 0:00:01.657 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 28 September 2024 11:35:58 -0400 (0:00:01.433) 0:00:03.091 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 28 September 2024 11:35:59 -0400 (0:00:01.236) 0:00:04.327 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 28 September 2024 11:35:59 -0400 (0:00:00.474) 0:00:04.802 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 28 September 2024 11:36:00 -0400 (0:00:00.379) 0:00:05.181 **** 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-09-28 11:35:03 EDT", "ActiveEnterTimestampMonotonic": "343286885", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target basic.target dbus-broker.service dbus.socket syslog.target system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-28 11:35:03 EDT", "AssertTimestampMonotonic": "343270897", "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": "1495199000", "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-09-28 11:35:03 EDT", "ConditionTimestampMonotonic": "343270894", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "3841", "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": "7318", "ExecMainStartTimestamp": "Sat 2024-09-28 11:35:03 EDT", "ExecMainStartTimestampMonotonic": "343278126", "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-09-28 11:35:03 EDT] ; stop_time=[n/a] ; pid=7318 ; 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-09-28 11:35:03 EDT] ; stop_time=[n/a] ; pid=7318 ; 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-09-28 11:35:03 EDT", "InactiveExitTimestampMonotonic": "343279062", "InvocationID": "53c9b0533c124b16b207be8694471254", "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": "7318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4710400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-28 11:35:03 EDT", "StateChangeTimestampMonotonic": "343286885", "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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 28 September 2024 11:36:00 -0400 (0:00:00.681) 0:00:05.863 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 28 September 2024 11:36:03 -0400 (0:00:02.523) 0:00:08.386 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 28 September 2024 11:36:03 -0400 (0:00:00.102) 0:00:08.488 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 28 September 2024 11:36:03 -0400 (0:00:00.051) 0:00:08.540 **** 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-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 28 September 2024 11:36:03 -0400 (0:00:00.053) 0:00:08.594 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 28 September 2024 11:36:03 -0400 (0:00:00.089) 0:00:08.684 **** ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.697) 0:00:09.381 **** included: /tmp/collections-pGG/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-pGG/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-pGG/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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.060) 0:00:09.442 **** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.014) 0:00:09.456 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.017) 0:00:09.473 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.016) 0:00:09.490 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 28 September 2024 11:36:04 -0400 (0:00:00.012) 0:00:09.502 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 28 September 2024 11:36:05 -0400 (0:00:01.210) 0:00:10.713 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537761.5329614, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a336837f29e9b6b9ae7ce80afa4985de23405363", "ctime": 1727537761.5299613, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13588670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537761.5299613, "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": "2954684793", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.349) 0:00:11.063 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.017) 0:00:11.081 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.039) 0:00:11.121 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.036) 0:00:11.158 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537761.4849603, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22e8ff3bfaeb45dfe3c213bc4ee121d32ed3d077", "ctime": 1727537761.5299613, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8835936, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537761.5299613, "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": "4230670897", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.325) 0:00:11.483 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.025) 0:00:11.508 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 28 September 2024 11:36:06 -0400 (0:00:00.061) 0:00:11.569 **** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "38:05:4C:2C:F7:C8:B4:27:38:68:DE:71:C8:3C:9C:C0:1A:20:90:A2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:48:77:6F:73:96:57:B2:B5:A6:C3:A5:FA:30:CA:32:54:6A:4D:E1:D6:38:A7:DA:CB:B9:A4:6A:51:C8:56:97:A1:FA:8F:78:01:0A:96:B4:E7:85:38:C8:4B:5E:B5:2B:19:72:DE:DB:68:FB:B7:C7:B2:96:62:E0:81:A1:5B:E0:C5:A4:F5:7C:14:3C:D7:29:1C:26:5C:12:D8:1E:DB:22:46:0F:CC:C5:D8:EC:E3:B9:16:41:41:01:D2:A4:90:EE:E2:82:2B:34:01:1C:59:3A:B5:34:7A:40:47:29:3E:C0:69:94:87:5F:38:5C:49:76:DF:FC:16:21:31:20:C7:47:8F:A5:45:B9:4E:21:96:92:45:72:8D:42:20:A4:70:12:EE:74:7E:4E:44:3A:87:05:79:91:0A:00:A9:03:2A:32:9B:6C:88:CD:AA:B8:27:E0:39:B4:56:D3:51:D4:5B:DD:A1:27:1A:E7:E2:13:FC:03:E7:6C:B2:68:11:11:69:19:E0:EE:C4:07:D5:07:6D:ED:4B:BF:17:2D:A2:FB:79:D7:7C:63:85:68:E5:E3:D9:30:99:38:56:75:17:CA:99:89:19:F1:BF:F3:49:67:C8:67:DC:DD:AF:51:BD:D6:6B:22:D9:90:10:8E:A0:91:AE:22:15:04:4A:FE:A9:16:B6:F2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153601Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.507) 0:00:12.077 **** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "38:05:4C:2C:F7:C8:B4:27:38:68:DE:71:C8:3C:9C:C0:1A:20:90:A2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:48:77:6F:73:96:57:B2:B5:A6:C3:A5:FA:30:CA:32:54:6A:4D:E1:D6:38:A7:DA:CB:B9:A4:6A:51:C8:56:97:A1:FA:8F:78:01:0A:96:B4:E7:85:38:C8:4B:5E:B5:2B:19:72:DE:DB:68:FB:B7:C7:B2:96:62:E0:81:A1:5B:E0:C5:A4:F5:7C:14:3C:D7:29:1C:26:5C:12:D8:1E:DB:22:46:0F:CC:C5:D8:EC:E3:B9:16:41:41:01:D2:A4:90:EE:E2:82:2B:34:01:1C:59:3A:B5:34:7A:40:47:29:3E:C0:69:94:87:5F:38:5C:49:76:DF:FC:16:21:31:20:C7:47:8F:A5:45:B9:4E:21:96:92:45:72:8D:42:20:A4:70:12:EE:74:7E:4E:44:3A:87:05:79:91:0A:00:A9:03:2A:32:9B:6C:88:CD:AA:B8:27:E0:39:B4:56:D3:51:D4:5B:DD:A1:27:1A:E7:E2:13:FC:03:E7:6C:B2:68:11:11:69:19:E0:EE:C4:07:D5:07:6D:ED:4B:BF:17:2D:A2:FB:79:D7:7C:63:85:68:E5:E3:D9:30:99:38:56:75:17:CA:99:89:19:F1:BF:F3:49:67:C8:67:DC:DD:AF:51:BD:D6:6B:22:D9:90:10:8E:A0:91:AE:22:15:04:4A:FE:A9:16:B6:F2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153601Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.018) 0:00:12.096 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.036) 0:00:12.132 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.018) 0:00:12.150 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.036) 0:00:12.187 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.040) 0:00:12.227 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.040) 0:00:12.267 **** 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.043782", "end": "2024-09-28 11:36:07.650921", "rc": 0, "start": "2024-09-28 11:36:07.607139" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.431) 0:00:12.698 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.038) 0:00:12.736 **** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.013) 0:00:12.750 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.025) 0:00:12.776 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.022) 0:00:12.798 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 28 September 2024 11:36:07 -0400 (0:00:00.013) 0:00:12.811 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 28 September 2024 11:36:09 -0400 (0:00:01.227) 0:00:14.039 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537762.2879775, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "47cff115476fe74dc3c335cf7368a4777d7dfbb0", "ctime": 1727537762.2829773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13588671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537762.2829773, "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": "1313138505", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.328) 0:00:14.368 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.027) 0:00:14.395 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.061) 0:00:14.457 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.056) 0:00:14.514 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537762.2329762, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "37e994c3f35efc4e60894830e282e9a8cc4fefe2", "ctime": 1727537762.2829773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8835937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537762.2829773, "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": "3806244663", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.347) 0:00:14.861 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.017) 0:00:14.879 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 28 September 2024 11:36:09 -0400 (0:00:00.039) 0:00:14.918 **** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "7D:71:B5:53:94:33:C2:F1:9D:E8:B6:C7:7F:55:F6:F3:6E:CD:64:14" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "86:D0:8D:C5:B3:BC:57:79:FE:B9:60:B1:51:33:1B:DF:F1:D3:45:40:B4:D4:18:88:C7:9C:A7:75:D6:EA:C4:36:3B:44:43:6B:97:33:35:32:25:28:B7:BA:CA:F4:5C:AB:B6:8E:D8:FB:36:A4:E9:42:3C:EF:33:BC:B9:E0:AE:C9:7C:1F:90:D7:79:57:A8:03:9E:58:28:C7:7B:CF:8F:41:61:77:09:C3:17:FD:16:7C:6A:C5:35:11:CF:36:E3:6A:D2:53:CF:55:A1:F1:87:49:38:E6:96:90:BD:5F:D7:7D:CF:F4:D8:D2:36:7A:34:BB:E1:0E:25:11:87:47:0E:CC:C5:40:54:6B:0A:27:67:EC:8A:12:09:A1:A9:94:46:6A:C9:DE:8B:47:CE:42:4C:15:E0:CD:3D:82:16:03:F3:31:2C:39:AF:70:52:AF:20:D2:06:39:88:12:24:1F:EB:41:A8:29:09:60:D0:8E:A3:C5:55:84:17:3B:6B:BD:9C:87:99:B3:A9:D4:64:60:EE:4E:10:ED:59:F3:57:4E:0E:E3:43:A4:88:50:2D:DC:B4:C4:22:01:B4:22:5D:16:97:02:E0:0B:31:F4:02:A6:5E:31:C6:29:3C:55:27:7A:2C:00:20:E1:F1:A1:9E:5B:4F:D6:0E:66:E5:02:23:4E:E5:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153602Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.384) 0:00:15.303 **** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "7D:71:B5:53:94:33:C2:F1:9D:E8:B6:C7:7F:55:F6:F3:6E:CD:64:14" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "86:D0:8D:C5:B3:BC:57:79:FE:B9:60:B1:51:33:1B:DF:F1:D3:45:40:B4:D4:18:88:C7:9C:A7:75:D6:EA:C4:36:3B:44:43:6B:97:33:35:32:25:28:B7:BA:CA:F4:5C:AB:B6:8E:D8:FB:36:A4:E9:42:3C:EF:33:BC:B9:E0:AE:C9:7C:1F:90:D7:79:57:A8:03:9E:58:28:C7:7B:CF:8F:41:61:77:09:C3:17:FD:16:7C:6A:C5:35:11:CF:36:E3:6A:D2:53:CF:55:A1:F1:87:49:38:E6:96:90:BD:5F:D7:7D:CF:F4:D8:D2:36:7A:34:BB:E1:0E:25:11:87:47:0E:CC:C5:40:54:6B:0A:27:67:EC:8A:12:09:A1:A9:94:46:6A:C9:DE:8B:47:CE:42:4C:15:E0:CD:3D:82:16:03:F3:31:2C:39:AF:70:52:AF:20:D2:06:39:88:12:24:1F:EB:41:A8:29:09:60:D0:8E:A3:C5:55:84:17:3B:6B:BD:9C:87:99:B3:A9:D4:64:60:EE:4E:10:ED:59:F3:57:4E:0E:E3:43:A4:88:50:2D:DC:B4:C4:22:01:B4:22:5D:16:97:02:E0:0B:31:F4:02:A6:5E:31:C6:29:3C:55:27:7A:2C:00:20:E1:F1:A1:9E:5B:4F:D6:0E:66:E5:02:23:4E:E5:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153602Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.018) 0:00:15.322 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.035) 0:00:15.357 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.018) 0:00:15.376 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.034) 0:00:15.411 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.039) 0:00:15.450 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.039) 0:00:15.490 **** 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.043602", "end": "2024-09-28 11:36:10.795792", "rc": 0, "start": "2024-09-28 11:36:10.752190" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.354) 0:00:15.844 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.052) 0:00:15.897 **** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.015) 0:00:15.912 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.018) 0:00:15.931 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.018) 0:00:15.949 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 28 September 2024 11:36:10 -0400 (0:00:00.016) 0:00:15.965 **** 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-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 28 September 2024 11:36:12 -0400 (0:00:01.228) 0:00:17.193 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537763.1889968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a199d4b0128420d7910d971026aca066eef14f3d", "ctime": 1727537763.1859965, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12775616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537763.1859965, "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": "4224068649", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 28 September 2024 11:36:12 -0400 (0:00:00.336) 0:00:17.529 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 28 September 2024 11:36:12 -0400 (0:00:00.026) 0:00:17.556 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 28 September 2024 11:36:12 -0400 (0:00:00.062) 0:00:17.619 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 28 September 2024 11:36:12 -0400 (0:00:00.058) 0:00:17.678 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727537763.1409957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1b6dcf1ee298e389c9c073cd3e7f6cdd7875c261", "ctime": 1727537763.1859965, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8835938, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727537763.1859965, "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": "1959262285", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.346) 0:00:18.024 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.018) 0:00:18.042 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.039) 0:00:18.082 **** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "D3:76:2D:A6:BE:75:E1:A5:40:CC:E9:D7:E3:75:45:FB:DE:6B:E2:0F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:03:FC:9F:13:59:E1:37:5B:55:93:2E:79:8C:38:BF:FA:AA:06:46:BC:1A:6C:D4:36:4C:B3:E1:AB:B4:2C:F0:4F:FC:79:22:FC:24:A6:F3:2F:FC:D8:F5:68:8E:22:74:75:02:D5:23:36:5C:C5:C4:95:E7:AB:5F:E7:84:63:DF:AF:E7:69:FB:02:AA:B0:29:AE:C9:42:D1:3A:F3:2C:D0:B3:8C:2D:07:44:A5:90:6D:12:50:01:40:99:DE:D2:9C:EB:4A:F8:E4:3B:60:5D:47:CB:71:56:B1:42:DA:39:AB:54:33:71:92:AF:1B:1A:AE:DE:06:2F:F7:DE:55:20:64:A6:43:80:AA:59:73:F7:EF:D0:EC:AB:90:37:47:8E:CE:A3:1E:18:DE:42:7A:72:08:D8:3B:D7:57:AA:72:71:D5:4C:BE:7F:F0:37:FB:C6:58:6B:06:A7:B4:3F:3F:4A:CD:9D:23:8A:45:B0:C8:77:97:AA:70:47:74:8C:09:C8:BD:C4:6D:05:30:E4:5C:46:41:7E:B9:70:FC:D2:8D:D4:C4:B0:8D:20:11:03:C5:D1:2B:86:BE:3A:04:1E:C5:A9:15:F6:47:04:E2:83:62:C5:F2:3D:93:21:C0:29:CB:0D:16:95:F4:20:6C:C7:92:D2:EC:F9:05:28:26:9B:F5:69:65" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153603Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.371) 0:00:18.453 **** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "07:7F:69:A9:CE:02:D4:EF:01:C3:9C:3F:85:7F:D3:F3:AB:D1:34:04" }, "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": "D3:76:2D:A6:BE:75:E1:A5:40:CC:E9:D7:E3:75:45:FB:DE:6B:E2:0F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:03:FC:9F:13:59:E1:37:5B:55:93:2E:79:8C:38:BF:FA:AA:06:46:BC:1A:6C:D4:36:4C:B3:E1:AB:B4:2C:F0:4F:FC:79:22:FC:24:A6:F3:2F:FC:D8:F5:68:8E:22:74:75:02:D5:23:36:5C:C5:C4:95:E7:AB:5F:E7:84:63:DF:AF:E7:69:FB:02:AA:B0:29:AE:C9:42:D1:3A:F3:2C:D0:B3:8C:2D:07:44:A5:90:6D:12:50:01:40:99:DE:D2:9C:EB:4A:F8:E4:3B:60:5D:47:CB:71:56:B1:42:DA:39:AB:54:33:71:92:AF:1B:1A:AE:DE:06:2F:F7:DE:55:20:64:A6:43:80:AA:59:73:F7:EF:D0:EC:AB:90:37:47:8E:CE:A3:1E:18:DE:42:7A:72:08:D8:3B:D7:57:AA:72:71:D5:4C:BE:7F:F0:37:FB:C6:58:6B:06:A7:B4:3F:3F:4A:CD:9D:23:8A:45:B0:C8:77:97:AA:70:47:74:8C:09:C8:BD:C4:6D:05:30:E4:5C:46:41:7E:B9:70:FC:D2:8D:D4:C4:B0:8D:20:11:03:C5:D1:2B:86:BE:3A:04:1E:C5:A9:15:F6:47:04:E2:83:62:C5:F2:3D:93:21:C0:29:CB:0D:16:95:F4:20:6C:C7:92:D2:EC:F9:05:28:26:9B:F5:69:65" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250928153503Z", "not_valid_before": "20240928153603Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.018) 0:00:18.472 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.035) 0:00:18.507 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.018) 0:00:18.526 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.034) 0:00:18.560 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.055) 0:00:18.616 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 28 September 2024 11:36:13 -0400 (0:00:00.041) 0:00:18.658 **** 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.043503", "end": "2024-09-28 11:36:13.961734", "rc": 0, "start": "2024-09-28 11:36:13.918231" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 28 September 2024 11:36:14 -0400 (0:00:00.359) 0:00:19.017 **** 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 28 September 2024 11:36:14 -0400 (0:00:00.073) 0:00:19.090 **** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.52s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.43s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.24s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.23s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.23s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.21s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.07s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.70s /tmp/collections-pGG/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.68s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.51s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.47s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.43s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.38s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Parse certificate ------------------------------------------------------- 0.37s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.36s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.35s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.35s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.35s /tmp/collections-pGG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65