[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.2] 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/tmp.SInRdugdGF executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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_fs_attrs.yml *************************************************** 5 plays in /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 03 August 2024 08:36:42 -0400 (0:00:00.008) 0:00:00.008 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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_node1] TASK [Ensure user exists] ****************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 03 August 2024 08:36:43 -0400 (0:00:01.254) 0:00:01.262 ******* changed: [managed_node1] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 03 August 2024 08:36:43 -0400 (0:00:00.706) 0:00:01.969 ******* changed: [managed_node1] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 03 August 2024 08:36:44 -0400 (0:00:00.558) 0:00:02.528 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 08:36:45 -0400 (0:00:00.930) 0:00:03.458 ******* included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 08:36:45 -0400 (0:00:00.020) 0:00:03.478 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 08:36:45 -0400 (0:00:00.039) 0:00:03.518 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 08:36:46 -0400 (0:00:00.483) 0:00:04.001 ******* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 08:36:46 -0400 (0:00:00.025) 0:00:04.027 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 08:36:46 -0400 (0:00:00.043) 0:00:04.071 ******* ok: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 08:36:47 -0400 (0:00:01.604) 0:00:05.675 ******* ok: [managed_node1] => (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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 08:36:49 -0400 (0:00:01.557) 0:00:07.232 ******* ok: [managed_node1] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 08:36:49 -0400 (0:00:00.555) 0:00:07.788 ******* ok: [managed_node1] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 08:36:50 -0400 (0:00:00.443) 0:00:08.232 ******* ok: [managed_node1] => (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-03 08:23:46 EDT", "ActiveEnterTimestampMonotonic": "213968001", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket sysinit.target system.slice dbus.socket syslog.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 08:23:45 EDT", "AssertTimestampMonotonic": "213804428", "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": "69966533000", "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-03 08:23:45 EDT", "ConditionTimestampMonotonic": "213804424", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5182", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3613", "ExecMainStartTimestamp": "Sat 2024-08-03 08:23:45 EDT", "ExecMainStartTimestampMonotonic": "213813195", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "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-03 08:23:45 EDT", "InactiveExitTimestampMonotonic": "213813532", "InvocationID": "de186247695c444cb1ca885d9476b2df", "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": "14724", "LimitNPROCSoft": "14724", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14724", "LimitSIGPENDINGSoft": "14724", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3613", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "2526625792", "MemoryCurrent": "5091328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "1146314752", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-08-03 08:35:04 EDT", "StateChangeTimestampMonotonic": "892159510", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4417", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.863) 0:00:09.096 ******* changed: [managed_node1] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [managed_node1] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 08:36:52 -0400 (0:00:01.881) 0:00:10.978 ******* skipping: [managed_node1] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', '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", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, '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", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', '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", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, '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", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', '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", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, '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", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.065) 0:00:11.043 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.037) 0:00:11.080 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.039) 0:00:11.120 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.060) 0:00:11.180 ******* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.938) 0:00:12.119 ******* included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0640'}) included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/certid.crt', 'key_path': '/etc/pki/tls/private/certid.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 1040, 'group': 1041, 'mode': '0640'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.059) 0:00:12.178 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.018) 0:00:12.197 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.020) 0:00:12.217 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.020) 0:00:12.238 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.015) 0:00:12.253 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 08:36:55 -0400 (0:00:01.556) 0:00:13.809 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688611.9270365, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a0d16ab9d63e54fe92b5a0cbb31b390eb2f73a5d", "ctime": 1722688612.0410342, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 209679, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722688611.9220366, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "2234237043", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.425) 0:00:14.235 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.021) 0:00:14.257 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.044) 0:00:14.301 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.041) 0:00:14.343 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688611.8670375, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ca7172b3792ff1658f0e1fc0df49ca1e3e319a2f", "ctime": 1722688612.0430343, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 208827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722688611.9220366, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "852204437", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.421) 0:00:14.764 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.020) 0:00:14.784 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 08:36:56 -0400 (0:00:00.045) 0:00:14.829 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "1F:28:94:BC:5B:33:12:3E:36:F1:EF:1E:D5:09:A5:86:A7:69:22:2F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6D:0C:D0:8B:DE:53:54:6B:C3:9B:7C:FC:E9:67:47:95:75:EC:B2:3D:11:FE:06:1E:71:1B:9D:5B:37:E2:CC:0C:4F:CF:0A:CB:97:D7:BF:5F:CD:39:53:6C:1D:4D:C7:F8:56:2D:F6:DD:D5:18:33:75:CB:43:9D:AA:3C:A6:9E:46:0C:23:C1:EF:E8:25:16:32:63:BA:EA:27:FC:00:E8:7D:7E:F0:62:A2:65:A9:C8:BF:C9:21:BA:A5:D0:2E:52:8B:98:48:39:40:09:B0:33:07:D5:F3:54:C8:45:67:AE:DD:02:7C:BD:ED:B9:85:3A:E9:01:66:7F:36:7A:4E:71:1B:B6:BC:E4:E5:57:32:C1:38:5E:0A:1F:BF:FF:4B:C5:AC:D4:ED:69:29:7D:A2:B6:63:9B:69:63:61:7E:64:CD:2B:E1:F0:6C:56:B3:26:D9:6D:99:87:44:06:49:97:50:31:19:30:E8:57:38:A9:14:BB:99:0B:EC:4A:A8:0A:66:93:B4:2A:46:E1:6B:11:2F:2B:EE:26:85:B9:1F:49:B1:16:15:D7:92:FF:E0:C3:64:51:02:BC:80:4A:67:46:97:68:CE:8D:D8:0F:B5:93:54:77:69:5B:08:2D:45:AC:FB:1A:57:B6:42:A6:8C:12:41:92:63:42:A5:9E:26:7A:B1:99" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123651Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.574) 0:00:15.404 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "1F:28:94:BC:5B:33:12:3E:36:F1:EF:1E:D5:09:A5:86:A7:69:22:2F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6D:0C:D0:8B:DE:53:54:6B:C3:9B:7C:FC:E9:67:47:95:75:EC:B2:3D:11:FE:06:1E:71:1B:9D:5B:37:E2:CC:0C:4F:CF:0A:CB:97:D7:BF:5F:CD:39:53:6C:1D:4D:C7:F8:56:2D:F6:DD:D5:18:33:75:CB:43:9D:AA:3C:A6:9E:46:0C:23:C1:EF:E8:25:16:32:63:BA:EA:27:FC:00:E8:7D:7E:F0:62:A2:65:A9:C8:BF:C9:21:BA:A5:D0:2E:52:8B:98:48:39:40:09:B0:33:07:D5:F3:54:C8:45:67:AE:DD:02:7C:BD:ED:B9:85:3A:E9:01:66:7F:36:7A:4E:71:1B:B6:BC:E4:E5:57:32:C1:38:5E:0A:1F:BF:FF:4B:C5:AC:D4:ED:69:29:7D:A2:B6:63:9B:69:63:61:7E:64:CD:2B:E1:F0:6C:56:B3:26:D9:6D:99:87:44:06:49:97:50:31:19:30:E8:57:38:A9:14:BB:99:0B:EC:4A:A8:0A:66:93:B4:2A:46:E1:6B:11:2F:2B:EE:26:85:B9:1F:49:B1:16:15:D7:92:FF:E0:C3:64:51:02:BC:80:4A:67:46:97:68:CE:8D:D8:0F:B5:93:54:77:69:5B:08:2D:45:AC:FB:1A:57:B6:42:A6:8C:12:41:92:63:42:A5:9E:26:7A:B1:99" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123651Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.020) 0:00:15.425 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.043) 0:00:15.468 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.021) 0:00:15.490 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.042) 0:00:15.533 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.048) 0:00:15.581 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 08:36:57 -0400 (0:00:00.047) 0:00:15.628 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.092145", "end": "2024-08-03 08:36:58.166872", "rc": 0, "start": "2024-08-03 08:36:58.074727" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.595) 0:00:16.224 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.044) 0:00:16.268 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.018) 0:00:16.287 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.020) 0:00:16.308 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.020) 0:00:16.329 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.014) 0:00:16.344 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 08:36:59 -0400 (0:00:01.522) 0:00:17.866 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688612.829019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e2067cfc3730a6831091de434718076f2e0d19ba", "ctime": 1722688612.9110174, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 209963, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722688612.8240192, "nlink": 1, "path": "/etc/pki/tls/certs/certid.crt", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 1040, "version": "1167393473", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.409) 0:00:18.276 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:18.298 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.045) 0:00:18.343 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.043) 0:00:18.387 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688612.7670202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "40ccd9789dfa5bc89d1ec18bfd7931869054ec1e", "ctime": 1722688612.9120176, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 209961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722688612.8240192, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "1383503203", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.406) 0:00:18.793 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:18.815 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 08:37:00 -0400 (0:00:00.046) 0:00:18.861 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "50:F8:3F:98:AA:62:6B:EA:B2:05:45:FA:DB:F0:CF:83:FD:7E:80:C3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "21:9A:96:42:66:99:07:94:CA:9F:54:EC:95:2A:E5:22:5C:46:EA:72:16:09:2B:FC:B6:EE:82:12:D6:72:72:AC:25:48:59:8A:1B:EF:30:10:B1:67:6C:00:E5:CE:CE:18:3B:43:5E:37:24:5D:34:D8:16:D1:B2:0F:C2:DF:43:E9:7F:0B:BA:95:80:EE:A4:3E:02:AC:43:03:1F:50:9E:00:27:45:7E:B9:80:4A:C3:14:7F:28:F6:6F:53:BB:F7:4E:B2:D8:F9:E7:37:68:36:56:F5:BC:15:7E:79:F5:1E:F9:48:4B:AA:D3:DE:0C:AF:BA:14:91:BB:52:6D:5D:61:F3:43:BC:BD:95:94:BD:BB:B4:C5:37:7B:1E:22:93:64:B4:03:FB:E6:D9:24:A7:45:8B:A6:99:66:D5:DE:44:DF:4E:3B:4A:81:29:21:7F:06:24:92:D1:60:84:26:DE:F0:BB:05:93:4B:AF:89:08:DE:36:A2:B3:1C:F2:43:DE:93:7A:A3:13:58:C6:92:75:20:8D:70:26:C8:E6:6B:FA:8D:69:6E:F8:8E:AB:D9:F0:FA:C7:7B:09:41:10:D6:A8:FA:74:9C:17:57:C5:AC:F7:6E:21:FD:DF:17:B5:AF:16:91:CA:A3:A7:31:4D:6A:18:FB:D7:03:22:41:E1:14:3C:68:C5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123652Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.459) 0:00:19.321 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "50:F8:3F:98:AA:62:6B:EA:B2:05:45:FA:DB:F0:CF:83:FD:7E:80:C3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "21:9A:96:42:66:99:07:94:CA:9F:54:EC:95:2A:E5:22:5C:46:EA:72:16:09:2B:FC:B6:EE:82:12:D6:72:72:AC:25:48:59:8A:1B:EF:30:10:B1:67:6C:00:E5:CE:CE:18:3B:43:5E:37:24:5D:34:D8:16:D1:B2:0F:C2:DF:43:E9:7F:0B:BA:95:80:EE:A4:3E:02:AC:43:03:1F:50:9E:00:27:45:7E:B9:80:4A:C3:14:7F:28:F6:6F:53:BB:F7:4E:B2:D8:F9:E7:37:68:36:56:F5:BC:15:7E:79:F5:1E:F9:48:4B:AA:D3:DE:0C:AF:BA:14:91:BB:52:6D:5D:61:F3:43:BC:BD:95:94:BD:BB:B4:C5:37:7B:1E:22:93:64:B4:03:FB:E6:D9:24:A7:45:8B:A6:99:66:D5:DE:44:DF:4E:3B:4A:81:29:21:7F:06:24:92:D1:60:84:26:DE:F0:BB:05:93:4B:AF:89:08:DE:36:A2:B3:1C:F2:43:DE:93:7A:A3:13:58:C6:92:75:20:8D:70:26:C8:E6:6B:FA:8D:69:6E:F8:8E:AB:D9:F0:FA:C7:7B:09:41:10:D6:A8:FA:74:9C:17:57:C5:AC:F7:6E:21:FD:DF:17:B5:AF:16:91:CA:A3:A7:31:4D:6A:18:FB:D7:03:22:41:E1:14:3C:68:C5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123652Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.022) 0:00:19.343 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.044) 0:00:19.387 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.023) 0:00:19.410 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.046) 0:00:19.456 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.051) 0:00:19.507 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 08:37:01 -0400 (0:00:00.049) 0:00:19.556 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.090319", "end": "2024-08-03 08:37:01.991404", "rc": 0, "start": "2024-08-03 08:37:01.901085" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.489) 0:00:20.046 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.062) 0:00:20.109 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.956) 0:00:21.065 ******* included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.020) 0:00:21.085 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.039) 0:00:21.125 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.021) 0:00:21.147 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.020) 0:00:21.167 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 08:37:03 -0400 (0:00:00.042) 0:00:21.210 ******* ok: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 08:37:04 -0400 (0:00:01.526) 0:00:22.736 ******* ok: [managed_node1] => (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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 08:37:06 -0400 (0:00:01.541) 0:00:24.277 ******* ok: [managed_node1] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.446) 0:00:24.724 ******* ok: [managed_node1] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 08:37:07 -0400 (0:00:00.449) 0:00:25.174 ******* ok: [managed_node1] => (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-03 08:23:46 EDT", "ActiveEnterTimestampMonotonic": "213968001", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket sysinit.target system.slice dbus.socket syslog.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 08:23:45 EDT", "AssertTimestampMonotonic": "213804428", "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": "70453694000", "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-03 08:23:45 EDT", "ConditionTimestampMonotonic": "213804424", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5182", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3613", "ExecMainStartTimestamp": "Sat 2024-08-03 08:23:45 EDT", "ExecMainStartTimestampMonotonic": "213813195", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "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-03 08:23:45 EDT", "InactiveExitTimestampMonotonic": "213813532", "InvocationID": "de186247695c444cb1ca885d9476b2df", "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": "14724", "LimitNPROCSoft": "14724", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14724", "LimitSIGPENDINGSoft": "14724", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3613", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "2533171200", "MemoryCurrent": "5349376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "1146314752", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-08-03 08:35:04 EDT", "StateChangeTimestampMonotonic": "892159510", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4417", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 08:37:07 -0400 (0:00:00.630) 0:00:25.804 ******* changed: [managed_node1] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [managed_node1] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 08:37:09 -0400 (0:00:01.782) 0:00:27.587 ******* skipping: [managed_node1] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', '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", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', '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", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', '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", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', '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", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', '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", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', '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", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 08:37:09 -0400 (0:00:00.065) 0:00:27.652 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 08:37:09 -0400 (0:00:00.036) 0:00:27.689 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 08:37:09 -0400 (0:00:00.038) 0:00:27.728 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 03 August 2024 08:37:09 -0400 (0:00:00.060) 0:00:27.788 ******* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.956) 0:00:28.745 ******* included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs_mode.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0620'}) included: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/certid_mode.crt', 'key_path': '/etc/pki/tls/private/certid_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'mode': '0600'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.057) 0:00:28.802 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.017) 0:00:28.820 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.021) 0:00:28.841 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.020) 0:00:28.861 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 08:37:10 -0400 (0:00:00.017) 0:00:28.878 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 08:37:12 -0400 (0:00:01.646) 0:00:30.525 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688628.5647168, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c636f0a16e9ca6768877ffbd77a023960c1c7a34", "ctime": 1722688628.654715, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 209965, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722688628.5597167, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "1493620862", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 08:37:12 -0400 (0:00:00.426) 0:00:30.952 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 08:37:12 -0400 (0:00:00.022) 0:00:30.974 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 08:37:13 -0400 (0:00:00.046) 0:00:31.021 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 08:37:13 -0400 (0:00:00.044) 0:00:31.065 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688628.503718, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "be7bb084040af431ff9701ce1f249c1bc21774da", "ctime": 1722688628.656715, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 209964, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722688628.5597167, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "1924506676", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 08:37:13 -0400 (0:00:00.427) 0:00:31.493 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 08:37:13 -0400 (0:00:00.022) 0:00:31.515 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 08:37:13 -0400 (0:00:00.047) 0:00:31.563 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "9F:B6:58:0C:3D:8C:61:02:4E:FA:19:C3:9F:17:0C:41:72:76:29:8A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "81:67:39:03:EA:36:CC:A7:12:2C:50:7D:99:C2:E9:0F:5E:66:1C:99:3D:D6:E2:19:B4:D1:50:27:13:1B:8D:0D:54:C1:45:1D:32:AA:32:76:B8:8A:0C:F2:93:EE:62:7E:69:5B:5D:1A:D7:99:48:F3:D8:FD:B6:D6:22:54:81:67:A2:71:13:3F:AC:84:66:95:E8:EC:45:E9:F9:7B:AE:F2:86:E6:7F:98:D6:A4:2F:52:7E:89:25:26:60:80:4D:8A:E2:E0:39:6B:88:60:95:7A:FB:A0:28:E4:BD:66:F9:98:F6:63:B8:C6:F1:34:EC:DB:47:46:E9:84:3A:A6:79:7C:15:D9:93:1F:B5:AB:B3:C0:21:0A:2D:40:BF:43:CC:BF:B4:2B:51:D3:63:03:E5:C8:0C:18:5A:7C:C8:21:67:0C:FA:68:FF:D7:58:71:C6:98:5B:C5:62:31:30:AC:11:C8:8B:7D:13:67:B5:18:A0:07:A0:B3:F0:3C:AC:A2:32:2F:BF:1C:92:B2:CB:A3:5B:7B:CB:42:EB:BD:E6:89:C0:06:83:9A:59:6E:14:8C:F1:DC:F1:8F:BC:3A:3C:66:1D:42:3B:E8:2E:74:46:25:16:DB:73:C1:D5:89:CA:E6:0A:BE:8D:F3:45:12:5A:A8:E9:AE:E8:9C:5E:A5:DA:86:E7:18" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123708Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.481) 0:00:32.045 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "9F:B6:58:0C:3D:8C:61:02:4E:FA:19:C3:9F:17:0C:41:72:76:29:8A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "81:67:39:03:EA:36:CC:A7:12:2C:50:7D:99:C2:E9:0F:5E:66:1C:99:3D:D6:E2:19:B4:D1:50:27:13:1B:8D:0D:54:C1:45:1D:32:AA:32:76:B8:8A:0C:F2:93:EE:62:7E:69:5B:5D:1A:D7:99:48:F3:D8:FD:B6:D6:22:54:81:67:A2:71:13:3F:AC:84:66:95:E8:EC:45:E9:F9:7B:AE:F2:86:E6:7F:98:D6:A4:2F:52:7E:89:25:26:60:80:4D:8A:E2:E0:39:6B:88:60:95:7A:FB:A0:28:E4:BD:66:F9:98:F6:63:B8:C6:F1:34:EC:DB:47:46:E9:84:3A:A6:79:7C:15:D9:93:1F:B5:AB:B3:C0:21:0A:2D:40:BF:43:CC:BF:B4:2B:51:D3:63:03:E5:C8:0C:18:5A:7C:C8:21:67:0C:FA:68:FF:D7:58:71:C6:98:5B:C5:62:31:30:AC:11:C8:8B:7D:13:67:B5:18:A0:07:A0:B3:F0:3C:AC:A2:32:2F:BF:1C:92:B2:CB:A3:5B:7B:CB:42:EB:BD:E6:89:C0:06:83:9A:59:6E:14:8C:F1:DC:F1:8F:BC:3A:3C:66:1D:42:3B:E8:2E:74:46:25:16:DB:73:C1:D5:89:CA:E6:0A:BE:8D:F3:45:12:5A:A8:E9:AE:E8:9C:5E:A5:DA:86:E7:18" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123708Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.022) 0:00:32.067 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.044) 0:00:32.112 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.024) 0:00:32.136 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.043) 0:00:32.179 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.049) 0:00:32.229 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.049) 0:00:32.278 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.096108", "end": "2024-08-03 08:37:14.733943", "rc": 0, "start": "2024-08-03 08:37:14.637835" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.512) 0:00:32.790 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.045) 0:00:32.836 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.016) 0:00:32.853 ******* skipping: [managed_node1] => { "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/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.021) 0:00:32.874 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.020) 0:00:32.895 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.018) 0:00:32.913 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 08:37:16 -0400 (0:00:01.635) 0:00:34.548 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688629.4227002, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b076c550657bdf8666a5cdbd62c91682ee69e4da", "ctime": 1722688629.4187005, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 209968, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722688629.4187005, "nlink": 1, "path": "/etc/pki/tls/certs/certid_mode.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "4258582346", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.425) 0:00:34.974 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.021) 0:00:34.995 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.046) 0:00:35.042 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.043) 0:00:35.085 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688629.3627014, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "21a048c76c63050b74de54f30fc5876b5150385a", "ctime": 1722688629.4187005, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 209966, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722688629.4187005, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3774988908", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.424) 0:00:35.510 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.021) 0:00:35.531 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.045) 0:00:35.577 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "6D:27:C5:DD:64:8C:76:CC:AD:29:B2:97:91:FE:A2:70:4C:BC:EB:AC" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:3F:24:C7:65:12:18:D2:92:A1:43:E6:B1:BE:DE:C0:7B:9C:7A:76:A5:06:72:91:98:8E:7D:BA:A1:96:86:24:19:D4:F6:BE:CC:26:33:67:AA:B5:E9:2B:53:20:BC:A3:44:A0:55:BC:89:DA:28:4D:49:5B:EA:C3:A8:24:50:93:8F:3F:C0:25:B7:ED:0D:0D:A1:64:E6:F5:94:F7:60:A5:FD:5F:71:88:5B:EC:07:C9:00:FC:B0:A8:4E:4D:7C:85:93:93:95:E5:82:24:0B:77:96:39:F6:6C:CD:AA:D9:08:07:DD:11:40:5D:D9:38:06:FD:19:CB:C8:E4:3D:3C:57:F2:3E:65:61:CE:C4:05:BC:14:6F:3A:E5:72:8A:54:49:63:E8:47:23:6D:2B:19:CD:F3:65:45:1B:AE:1B:4A:87:00:99:8B:4C:87:27:C8:45:5A:0E:DD:8A:6A:A2:B6:B3:1F:79:FA:ED:9D:EF:DE:C9:17:23:7E:CB:B7:96:82:13:65:E5:DE:DF:D5:6C:16:F9:94:A1:00:1C:D0:0E:C1:9A:2D:82:FB:CA:05:AC:F0:32:CE:0C:FA:B5:FF:4E:24:F3:20:C6:22:F4:DA:B5:4A:A4:AC:70:09:DB:66:0A:0D:1A:D4:9E:F2:F0:A3:FD:D9:67:52:5C:DE:A2:DB:6C:31:F3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123709Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.489) 0:00:36.067 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F0:1E:FB:AE:FB:B2:07:0A:77:74:14:B6:D8:29:83:8F:9C:C0:C7:1A" }, "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": "6D:27:C5:DD:64:8C:76:CC:AD:29:B2:97:91:FE:A2:70:4C:BC:EB:AC" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:3F:24:C7:65:12:18:D2:92:A1:43:E6:B1:BE:DE:C0:7B:9C:7A:76:A5:06:72:91:98:8E:7D:BA:A1:96:86:24:19:D4:F6:BE:CC:26:33:67:AA:B5:E9:2B:53:20:BC:A3:44:A0:55:BC:89:DA:28:4D:49:5B:EA:C3:A8:24:50:93:8F:3F:C0:25:B7:ED:0D:0D:A1:64:E6:F5:94:F7:60:A5:FD:5F:71:88:5B:EC:07:C9:00:FC:B0:A8:4E:4D:7C:85:93:93:95:E5:82:24:0B:77:96:39:F6:6C:CD:AA:D9:08:07:DD:11:40:5D:D9:38:06:FD:19:CB:C8:E4:3D:3C:57:F2:3E:65:61:CE:C4:05:BC:14:6F:3A:E5:72:8A:54:49:63:E8:47:23:6D:2B:19:CD:F3:65:45:1B:AE:1B:4A:87:00:99:8B:4C:87:27:C8:45:5A:0E:DD:8A:6A:A2:B6:B3:1F:79:FA:ED:9D:EF:DE:C9:17:23:7E:CB:B7:96:82:13:65:E5:DE:DF:D5:6C:16:F9:94:A1:00:1C:D0:0E:C1:9A:2D:82:FB:CA:05:AC:F0:32:CE:0C:FA:B5:FF:4E:24:F3:20:C6:22:F4:DA:B5:4A:A4:AC:70:09:DB:66:0A:0D:1A:D4:9E:F2:F0:A3:FD:D9:67:52:5C:DE:A2:DB:6C:31:F3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803122346Z", "not_valid_before": "20240803123709Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.021) 0:00:36.089 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.043) 0:00:36.133 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.022) 0:00:36.155 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.042) 0:00:36.198 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.048) 0:00:36.246 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.046) 0:00:36.293 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.096377", "end": "2024-08-03 08:37:18.750537", "rc": 0, "start": "2024-08-03 08:37:18.654160" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.515) 0:00:36.809 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=101 changed=4 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.054) 0:00:36.863 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.88s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.78s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 1.65s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.64s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.60s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.56s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.56s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.54s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.53s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 1.52s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.25s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.86s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure user exists ------------------------------------------------------ 0.71s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.63s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Retrieve auto-renew flag ------------------------------------------------ 0.60s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.57s /tmp/tmp.SInRdugdGF/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86