[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-PhV executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 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-PhV/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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 24 August 2024 08:25:53 -0400 (0:00:00.010) 0:00:00.010 ******* [WARNING]: Platform linux on host managed_node3 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_node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 24 August 2024 08:25:55 -0400 (0:00:01.134) 0:00:01.144 ******* included: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 24 August 2024 08:25:55 -0400 (0:00:00.018) 0:00:01.163 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 24 August 2024 08:25:55 -0400 (0:00:00.034) 0:00:01.197 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 24 August 2024 08:25:55 -0400 (0:00:00.435) 0:00:01.633 ******* ok: [managed_node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 24 August 2024 08:25:55 -0400 (0:00:00.034) 0:00:01.667 ******* skipping: [managed_node3] => (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_node3] => (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_node3] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node3] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-PhV/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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 24 August 2024 08:25:55 -0400 (0:00:00.066) 0:00:01.734 ******* ok: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 24 August 2024 08:25:57 -0400 (0:00:01.478) 0:00:03.212 ******* ok: [managed_node3] => (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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 24 August 2024 08:25:58 -0400 (0:00:01.297) 0:00:04.509 ******* ok: [managed_node3] => (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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 24 August 2024 08:25:58 -0400 (0:00:00.480) 0:00:04.990 ******* ok: [managed_node3] => (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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 24 August 2024 08:25:59 -0400 (0:00:00.379) 0:00:05.369 ******* ok: [managed_node3] => (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-24 08:25:15 EDT", "ActiveEnterTimestampMonotonic": "255508303", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target dbus-broker.service syslog.target network.target dbus.socket systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-24 08:25:15 EDT", "AssertTimestampMonotonic": "255490670", "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": "1225514000", "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-24 08:25:15 EDT", "ConditionTimestampMonotonic": "255490668", "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": "7940", "ExecMainStartTimestamp": "Sat 2024-08-24 08:25:15 EDT", "ExecMainStartTimestampMonotonic": "255492165", "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-24 08:25:15 EDT] ; stop_time=[n/a] ; pid=7940 ; 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-24 08:25:15 EDT] ; stop_time=[n/a] ; pid=7940 ; 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-24 08:25:15 EDT", "InactiveExitTimestampMonotonic": "255492572", "InvocationID": "74f0b098bc0745f99a8222b7288c73f5", "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": "7940", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4698112", "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-08-24 08:25:15 EDT", "StateChangeTimestampMonotonic": "255508303", "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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 24 August 2024 08:25:59 -0400 (0:00:00.708) 0:00:06.078 ******* changed: [managed_node3] => (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_node3] => (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_node3] => (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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 24 August 2024 08:26:02 -0400 (0:00:02.391) 0:00:08.469 ******* skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 24 August 2024 08:26:02 -0400 (0:00:00.062) 0:00:08.532 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 24 August 2024 08:26:02 -0400 (0:00:00.032) 0:00:08.564 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 24 August 2024 08:26:02 -0400 (0:00:00.032) 0:00:08.597 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 24 August 2024 08:26:02 -0400 (0:00:00.054) 0:00:08.652 ******* ok: [managed_node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.765) 0:00:09.417 ******* included: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.069) 0:00:09.486 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.020) 0:00:09.507 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.030) 0:00:09.537 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.025) 0:00:09.562 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:03 -0400 (0:00:00.021) 0:00:09.584 ******* ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:04 -0400 (0:00:01.265) 0:00:10.850 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502360.6419482, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "337751044e2bbc2ba369b13c9167c9744470b283", "ctime": 1724502360.6389482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2827988, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502360.6389482, "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": "2441846369", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.340) 0:00:11.190 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.017) 0:00:11.208 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.038) 0:00:11.246 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.035) 0:00:11.282 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502360.5939481, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5c9a6e647f358da97e85ecacd30de61ef5e3ed7b", "ctime": 1724502360.6389482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 572422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502360.6389482, "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": "2861883742", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.335) 0:00:11.617 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.018) 0:00:11.636 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:05 -0400 (0:00:00.041) 0:00:11.678 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "0E:68:CE:1C:59:73:D9:9F:06:5C:C3:67:D0:C7:BC:55:9C:7B:A8:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:3B:BC:54:E0:72:52:43:99:0B:0A:BD:1B:6B:E6:70:D3:13:A9:58:A4:F7:CB:4E:74:1C:5C:CD:2C:01:EB:B3:B9:29:7B:91:28:76:DF:70:15:47:9A:BE:D5:90:41:C0:C9:D8:D5:3B:82:EC:4D:67:B9:19:79:2B:2C:DA:4E:0D:8F:90:B3:B2:84:7B:B3:EB:0A:39:78:30:9B:3B:85:41:83:84:52:26:7A:27:2A:59:15:47:F3:88:00:66:D6:39:BC:E6:DC:D2:DA:2F:BB:37:35:45:55:99:E7:C9:42:3E:63:1E:E7:4E:4D:76:2D:C7:52:24:EA:4E:2C:8D:ED:81:B6:8D:D2:B0:A0:85:D5:04:8E:C0:1A:D7:21:89:61:3E:0B:C4:11:80:C1:67:C8:BD:95:AB:DC:BA:BD:E4:56:E3:36:A2:1F:34:4B:28:88:7D:1D:4F:3C:5E:6D:33:E8:B9:E7:3B:AA:9B:4F:13:BF:17:D2:76:CA:56:5C:7C:AA:BA:3C:BE:4E:3D:22:22:DF:5E:30:3E:38:7B:E4:0D:BA:6F:37:1A:C3:0A:C7:DC:23:C0:6E:9F:40:75:9B:02:5C:E6:C6:40:45:E8:A6:2A:E8:D0:12:B4:DA:61:F7:C0:98:C8:33:D9:E7:B9:54:30:80:61:E5:AB:99:28:50:B8:FE:7E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122600Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.490) 0:00:12.168 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "0E:68:CE:1C:59:73:D9:9F:06:5C:C3:67:D0:C7:BC:55:9C:7B:A8:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:3B:BC:54:E0:72:52:43:99:0B:0A:BD:1B:6B:E6:70:D3:13:A9:58:A4:F7:CB:4E:74:1C:5C:CD:2C:01:EB:B3:B9:29:7B:91:28:76:DF:70:15:47:9A:BE:D5:90:41:C0:C9:D8:D5:3B:82:EC:4D:67:B9:19:79:2B:2C:DA:4E:0D:8F:90:B3:B2:84:7B:B3:EB:0A:39:78:30:9B:3B:85:41:83:84:52:26:7A:27:2A:59:15:47:F3:88:00:66:D6:39:BC:E6:DC:D2:DA:2F:BB:37:35:45:55:99:E7:C9:42:3E:63:1E:E7:4E:4D:76:2D:C7:52:24:EA:4E:2C:8D:ED:81:B6:8D:D2:B0:A0:85:D5:04:8E:C0:1A:D7:21:89:61:3E:0B:C4:11:80:C1:67:C8:BD:95:AB:DC:BA:BD:E4:56:E3:36:A2:1F:34:4B:28:88:7D:1D:4F:3C:5E:6D:33:E8:B9:E7:3B:AA:9B:4F:13:BF:17:D2:76:CA:56:5C:7C:AA:BA:3C:BE:4E:3D:22:22:DF:5E:30:3E:38:7B:E4:0D:BA:6F:37:1A:C3:0A:C7:DC:23:C0:6E:9F:40:75:9B:02:5C:E6:C6:40:45:E8:A6:2A:E8:D0:12:B4:DA:61:F7:C0:98:C8:33:D9:E7:B9:54:30:80:61:E5:AB:99:28:50:B8:FE:7E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122600Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.030) 0:00:12.198 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.062) 0:00:12.261 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.024) 0:00:12.286 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.042) 0:00:12.328 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.048) 0:00:12.377 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.047) 0:00:12.424 ******* ok: [managed_node3] => { "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.043621", "end": "2024-08-24 08:26:06.737504", "rc": 0, "start": "2024-08-24 08:26:06.693883" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.474) 0:00:12.899 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.041) 0:00:12.941 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.014) 0:00:12.955 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.017) 0:00:12.973 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.016) 0:00:12.990 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:06 -0400 (0:00:00.012) 0:00:13.003 ******* ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:08 -0400 (0:00:01.247) 0:00:14.250 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502361.3369505, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "08d45283bbb1cd3373616b71828d0ce96c755930", "ctime": 1724502361.3349507, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2827989, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502361.3349507, "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": "3294453095", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.333) 0:00:14.583 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.017) 0:00:14.601 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.039) 0:00:14.640 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.037) 0:00:14.678 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502361.2899504, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9967d6528e022af05546894ce103972f10864673", "ctime": 1724502361.3349507, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 572444, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502361.3349507, "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": "2287467901", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.336) 0:00:15.014 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.018) 0:00:15.032 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:08 -0400 (0:00:00.041) 0:00:15.074 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "B9:8F:CD:E5:38:56:6D:DB:E4:21:E5:B3:E0:CF:3F:47:76:EB:5B:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "13:4C:13:D7:D4:FE:03:AE:61:49:8C:2E:19:84:CD:47:CC:D8:20:0A:82:AB:31:74:39:18:E7:0B:43:A4:EA:32:8C:8C:B5:80:31:AD:D2:A0:83:25:F1:AC:36:55:97:8F:C8:19:4A:0C:A3:95:81:2D:66:AE:0E:A6:8B:36:BB:6B:53:C3:38:27:52:FC:8D:74:9D:FD:E4:47:B2:21:83:FD:6A:14:77:7F:D3:8B:38:47:D0:EE:0D:22:88:12:8D:08:E4:1B:58:1E:0B:A2:F6:53:74:74:05:01:C2:8D:23:53:DB:C1:68:3E:2C:7B:05:A9:79:71:70:36:61:F5:87:24:A2:F6:2E:42:56:07:CF:4D:0B:76:E2:C8:A8:25:CE:2D:EA:B0:1E:B9:51:DF:FF:71:8C:84:96:AA:5F:C0:AF:E3:07:67:42:EB:A5:F8:01:A8:D6:50:D7:EA:42:B4:F6:4E:BB:15:49:A6:AA:7E:5D:5D:7D:B9:53:F8:17:54:12:3B:D7:EB:16:89:6C:F6:31:23:12:49:46:DC:3F:C1:4E:03:C6:49:E8:50:F5:7D:D6:A9:9E:39:C7:3D:D3:41:83:56:3C:FC:BA:56:6A:58:AA:DF:1D:EE:91:27:14:C3:DD:0B:9E:61:BF:FB:11:ED:AF:B8:69:A3:BF:30:3B:37:2C:71" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122601Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.388) 0:00:15.462 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "B9:8F:CD:E5:38:56:6D:DB:E4:21:E5:B3:E0:CF:3F:47:76:EB:5B:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "13:4C:13:D7:D4:FE:03:AE:61:49:8C:2E:19:84:CD:47:CC:D8:20:0A:82:AB:31:74:39:18:E7:0B:43:A4:EA:32:8C:8C:B5:80:31:AD:D2:A0:83:25:F1:AC:36:55:97:8F:C8:19:4A:0C:A3:95:81:2D:66:AE:0E:A6:8B:36:BB:6B:53:C3:38:27:52:FC:8D:74:9D:FD:E4:47:B2:21:83:FD:6A:14:77:7F:D3:8B:38:47:D0:EE:0D:22:88:12:8D:08:E4:1B:58:1E:0B:A2:F6:53:74:74:05:01:C2:8D:23:53:DB:C1:68:3E:2C:7B:05:A9:79:71:70:36:61:F5:87:24:A2:F6:2E:42:56:07:CF:4D:0B:76:E2:C8:A8:25:CE:2D:EA:B0:1E:B9:51:DF:FF:71:8C:84:96:AA:5F:C0:AF:E3:07:67:42:EB:A5:F8:01:A8:D6:50:D7:EA:42:B4:F6:4E:BB:15:49:A6:AA:7E:5D:5D:7D:B9:53:F8:17:54:12:3B:D7:EB:16:89:6C:F6:31:23:12:49:46:DC:3F:C1:4E:03:C6:49:E8:50:F5:7D:D6:A9:9E:39:C7:3D:D3:41:83:56:3C:FC:BA:56:6A:58:AA:DF:1D:EE:91:27:14:C3:DD:0B:9E:61:BF:FB:11:ED:AF:B8:69:A3:BF:30:3B:37:2C:71" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122601Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.026) 0:00:15.488 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.060) 0:00:15.549 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.032) 0:00:15.581 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.059) 0:00:15.641 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.053) 0:00:15.694 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:09 -0400 (0:00:00.046) 0:00:15.741 ******* ok: [managed_node3] => { "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.043775", "end": "2024-08-24 08:26:09.961233", "rc": 0, "start": "2024-08-24 08:26:09.917458" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.383) 0:00:16.124 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.045) 0:00:16.169 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.015) 0:00:16.184 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.022) 0:00:16.206 ******* skipping: [managed_node3] => { "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-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.016) 0:00:16.223 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:10 -0400 (0:00:00.013) 0:00:16.236 ******* ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:11 -0400 (0:00:01.267) 0:00:17.504 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502362.2329538, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2d6a21c373cbbc631afb8ced62f7f3d10a542625", "ctime": 1724502362.2309537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2827990, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502362.2309537, "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": "1905464649", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:11 -0400 (0:00:00.398) 0:00:17.902 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:11 -0400 (0:00:00.020) 0:00:17.923 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:11 -0400 (0:00:00.049) 0:00:17.973 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:11 -0400 (0:00:00.060) 0:00:18.033 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724502362.1859536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1fbe1ef7c655b486dbfd0fb5e18d8ab17f27ed84", "ctime": 1724502362.2309537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 572445, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502362.2309537, "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": "2830858146", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.369) 0:00:18.403 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.018) 0:00:18.421 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.039) 0:00:18.461 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "DB:AB:BB:73:75:00:9A:C3:F4:63:D9:2E:8D:B0:73:54:10:5C:50:E1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0D:6D:0F:D9:6A:43:A9:8C:40:F9:FD:1B:E1:AA:11:57:5A:D6:0C:BC:54:CB:B7:48:92:05:83:AE:87:91:DD:78:0E:95:F5:11:CA:E9:1C:3D:40:4D:0B:98:36:3C:6A:43:3E:F6:49:7C:C0:3D:CC:72:12:00:54:EB:FA:B5:C8:44:5E:EE:A5:D5:5F:D5:F1:A8:8A:50:99:65:4D:38:50:43:92:51:62:9E:26:38:31:6A:22:B9:BA:9F:59:77:0E:96:DB:AB:47:FD:B6:C6:DF:53:95:A1:5E:DE:EB:36:61:07:D1:2B:32:38:17:F9:BB:C3:1F:80:03:61:07:27:6E:F6:A5:77:2B:74:98:47:F7:FE:01:21:F0:8E:57:B0:15:C7:61:9E:1C:CE:37:D1:4B:D5:0E:75:9D:58:0C:21:C1:69:DC:A2:1B:F4:72:D4:D3:DA:65:4C:56:30:20:A0:94:BE:36:D6:62:79:AD:C5:63:09:32:C9:49:07:1A:79:F1:79:63:C5:53:48:1F:BC:02:E0:A3:19:4E:FA:37:56:77:57:59:78:7C:08:5E:FD:61:16:1C:5D:EC:14:D4:58:6D:9E:76:05:45:9E:60:C7:54:A9:75:13:B0:AB:4F:84:BB:CF:4C:BD:1D:C9:0D:96:86:36:55:07:93:CD:F8:65:C3:09" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122602Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.373) 0:00:18.834 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "20:84:14:55:42:3B:1E:04:CC:AA:B4:5D:AC:89:5D:42:94:69:C3:69" }, "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": "DB:AB:BB:73:75:00:9A:C3:F4:63:D9:2E:8D:B0:73:54:10:5C:50:E1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0D:6D:0F:D9:6A:43:A9:8C:40:F9:FD:1B:E1:AA:11:57:5A:D6:0C:BC:54:CB:B7:48:92:05:83:AE:87:91:DD:78:0E:95:F5:11:CA:E9:1C:3D:40:4D:0B:98:36:3C:6A:43:3E:F6:49:7C:C0:3D:CC:72:12:00:54:EB:FA:B5:C8:44:5E:EE:A5:D5:5F:D5:F1:A8:8A:50:99:65:4D:38:50:43:92:51:62:9E:26:38:31:6A:22:B9:BA:9F:59:77:0E:96:DB:AB:47:FD:B6:C6:DF:53:95:A1:5E:DE:EB:36:61:07:D1:2B:32:38:17:F9:BB:C3:1F:80:03:61:07:27:6E:F6:A5:77:2B:74:98:47:F7:FE:01:21:F0:8E:57:B0:15:C7:61:9E:1C:CE:37:D1:4B:D5:0E:75:9D:58:0C:21:C1:69:DC:A2:1B:F4:72:D4:D3:DA:65:4C:56:30:20:A0:94:BE:36:D6:62:79:AD:C5:63:09:32:C9:49:07:1A:79:F1:79:63:C5:53:48:1F:BC:02:E0:A3:19:4E:FA:37:56:77:57:59:78:7C:08:5E:FD:61:16:1C:5D:EC:14:D4:58:6D:9E:76:05:45:9E:60:C7:54:A9:75:13:B0:AB:4F:84:BB:CF:4C:BD:1D:C9:0D:96:86:36:55:07:93:CD:F8:65:C3:09" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250824122515Z", "not_valid_before": "20240824122602Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.019) 0:00:18.854 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.039) 0:00:18.894 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.021) 0:00:18.915 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.046) 0:00:18.962 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.065) 0:00:19.028 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:12 -0400 (0:00:00.061) 0:00:19.089 ******* ok: [managed_node3] => { "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.043681", "end": "2024-08-24 08:26:13.325657", "rc": 0, "start": "2024-08-24 08:26:13.281976" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:13 -0400 (0:00:00.397) 0:00:19.487 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node3 : ok=69 changed=1 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 24 August 2024 08:26:13 -0400 (0:00:00.068) 0:00:19.555 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.39s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.48s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.30s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.27s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.27s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.25s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.13s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.77s /tmp/collections-PhV/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.71s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-PhV/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.48s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.47s /tmp/collections-PhV/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.44s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve certificate file stats ----------------------------------------- 0.40s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.40s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.39s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Parse certificate ------------------------------------------------------- 0.37s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-PhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65