ansible-playbook [core 2.17.4] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Leh executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 05 October 2024 08:29:29 -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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 05 October 2024 08:29:30 -0400 (0:00:01.182) 0:00:01.191 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 05 October 2024 08:29:31 -0400 (0:00:00.889) 0:00:02.080 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 05 October 2024 08:29:31 -0400 (0:00:00.567) 0:00:02.647 ****** ok: [managed-node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 05 October 2024 08:29:32 -0400 (0:00:00.939) 0:00:03.587 ****** included: /tmp/collections-Leh/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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 05 October 2024 08:29:32 -0400 (0:00:00.052) 0:00:03.640 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 05 October 2024 08:29:32 -0400 (0:00:00.082) 0:00:03.723 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 05 October 2024 08:29:33 -0400 (0:00:00.531) 0:00:04.254 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 05 October 2024 08:29:33 -0400 (0:00:00.054) 0:00:04.308 ****** 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" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 05 October 2024 08:29:33 -0400 (0:00:00.069) 0:00:04.378 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-ply-3.11-24.el10.noarch", "Installed: python3-pycparser-2.20-15.el10.noarch", "Installed: python3-pyasn1-0.5.1-4.el10.noarch", "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-cryptography-43.0.0-3.el10.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 05 October 2024 08:29:36 -0400 (0:00:03.085) 0:00:07.463 ****** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.20-2.el10.x86_64", "Installed: python3-packaging-23.2-5.el10.noarch", "Installed: dbus-tools-1:1.14.10-4.el10.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 05 October 2024 08:29:39 -0400 (0:00:02.862) 0:00:10.325 ****** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 05 October 2024 08:29:40 -0400 (0:00:00.599) 0:00:10.925 ****** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 05 October 2024 08:29:40 -0400 (0:00:00.436) 0:00:11.361 ****** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target syslog.target dbus-broker.service sysinit.target network.target dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3702878208", "EffectiveMemoryMax": "3702878208", "EffectiveTasksMax": "22362", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3290038272", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "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 system.slice sysinit.target", "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", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22362", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 05 October 2024 08:29:41 -0400 (0:00:01.080) 0:00:12.442 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 05 October 2024 08:29:43 -0400 (0:00:01.828) 0:00:14.270 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.115) 0:00:14.386 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.066) 0:00:14.452 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.062) 0:00:14.515 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.135) 0:00:14.651 ****** ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.948) 0:00:15.600 ****** included: /tmp/collections-Leh/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/collections-Leh/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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.058) 0:00:15.658 ****** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.017) 0:00:15.675 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.016) 0:00:15.692 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.018) 0:00:15.711 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:29:45 -0400 (0:00:00.015) 0:00:15.726 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:29:45 -0400 (0:00:00.803) 0:00:16.530 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131382.5680404, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2e5a1dcf3cc5e5deeab5efa317b0ee55549ec275", "ctime": 1728131382.670041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 12597298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1728131382.5660403, "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": "3654565384", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:29:46 -0400 (0:00:00.760) 0:00:17.291 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:29:46 -0400 (0:00:00.018) 0:00:17.309 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:29:46 -0400 (0:00:00.035) 0:00:17.345 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:29:46 -0400 (0:00:00.034) 0:00:17.379 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131382.5190399, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2c58c66a21e9ecb6194895190a379d24e24a312", "ctime": 1728131382.671041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 9006322, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1728131382.5660403, "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": "3595535458", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.369) 0:00:17.749 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.018) 0:00:17.768 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.041) 0:00:17.809 ****** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "E6:FC:C3:48:07:F8:62:1A:2E:6B:EE:20:88:E7:CE:44:9B:A0:DC:0B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:9F:9D:91:B3:A7:D7:8F:1E:99:DB:5B:33:F9:90:29:33:9B:60:10:5A:04:B3:DE:95:C1:A7:EE:07:0D:ED:3C:EC:56:06:25:AE:DA:11:CF:25:53:E9:E0:3E:52:99:E1:A0:D3:48:AE:88:AD:D0:C4:63:2B:D2:BC:37:59:00:3C:7C:93:29:49:0A:0C:AE:C0:D9:7C:49:C7:31:FD:FC:6F:E7:51:69:4F:82:70:8F:8B:5F:01:5D:D8:4B:BC:50:E9:03:2A:96:27:BF:05:29:6B:05:4E:5D:BA:86:45:F2:75:FC:6F:19:FB:FB:C4:7F:D5:F4:9E:85:B7:17:69:93:DB:B0:F7:BA:F9:46:BB:6C:FA:8C:D7:89:EB:77:02:ED:1B:DF:0E:D5:B9:62:09:15:6F:88:15:B0:11:F1:5D:4B:E8:FE:B6:FC:9E:DE:A3:BF:A2:35:8F:EC:7C:33:FB:DF:61:61:E3:43:F8:C8:6D:E7:B9:18:24:14:2C:72:CC:0C:F7:77:0D:81:BE:F9:3D:58:72:A2:57:A9:D9:F0:15:49:36:0D:57:1A:85:24:81:8A:7F:93:8C:B5:35:E0:F4:F8:5E:7D:E6:57:56:B3:3C:5E:6E:37:65:65:2C:2D:1F:11:F1:F0:CE:F9:0F:36:4F:B6:21:66:BE:67:F8:0E:CF:EF:FC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122942Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.492) 0:00:18.302 ****** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "E6:FC:C3:48:07:F8:62:1A:2E:6B:EE:20:88:E7:CE:44:9B:A0:DC:0B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:9F:9D:91:B3:A7:D7:8F:1E:99:DB:5B:33:F9:90:29:33:9B:60:10:5A:04:B3:DE:95:C1:A7:EE:07:0D:ED:3C:EC:56:06:25:AE:DA:11:CF:25:53:E9:E0:3E:52:99:E1:A0:D3:48:AE:88:AD:D0:C4:63:2B:D2:BC:37:59:00:3C:7C:93:29:49:0A:0C:AE:C0:D9:7C:49:C7:31:FD:FC:6F:E7:51:69:4F:82:70:8F:8B:5F:01:5D:D8:4B:BC:50:E9:03:2A:96:27:BF:05:29:6B:05:4E:5D:BA:86:45:F2:75:FC:6F:19:FB:FB:C4:7F:D5:F4:9E:85:B7:17:69:93:DB:B0:F7:BA:F9:46:BB:6C:FA:8C:D7:89:EB:77:02:ED:1B:DF:0E:D5:B9:62:09:15:6F:88:15:B0:11:F1:5D:4B:E8:FE:B6:FC:9E:DE:A3:BF:A2:35:8F:EC:7C:33:FB:DF:61:61:E3:43:F8:C8:6D:E7:B9:18:24:14:2C:72:CC:0C:F7:77:0D:81:BE:F9:3D:58:72:A2:57:A9:D9:F0:15:49:36:0D:57:1A:85:24:81:8A:7F:93:8C:B5:35:E0:F4:F8:5E:7D:E6:57:56:B3:3C:5E:6E:37:65:65:2C:2D:1F:11:F1:F0:CE:F9:0F:36:4F:B6:21:66:BE:67:F8:0E:CF:EF:FC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122942Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.029) 0:00:18.331 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.057) 0:00:18.389 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.040) 0:00:18.430 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.075) 0:00:18.505 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.068) 0:00:18.574 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.114) 0:00:18.688 ****** 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.036627", "end": "2024-10-05 08:29:48.591390", "rc": 0, "start": "2024-10-05 08:29:48.554763" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.681) 0:00:19.369 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.044) 0:00:19.414 ****** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.015) 0:00:19.429 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.018) 0:00:19.447 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.017) 0:00:19.465 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.013) 0:00:19.478 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:29:49 -0400 (0:00:00.756) 0:00:20.234 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131383.3750463, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "07d69743810b82d9e2a05d4fc940089390d00384", "ctime": 1728131383.473047, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 12597305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1728131383.3730464, "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": "550522759", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:29:49 -0400 (0:00:00.416) 0:00:20.650 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:29:49 -0400 (0:00:00.029) 0:00:20.680 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:29:50 -0400 (0:00:00.058) 0:00:20.738 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:29:50 -0400 (0:00:00.072) 0:00:20.810 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131383.329046, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "321965fb0406815d99655fc6e3860e06c2459dc3", "ctime": 1728131383.473047, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 9006328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1728131383.3730464, "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": "297365458", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:29:50 -0400 (0:00:00.398) 0:00:21.209 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:29:50 -0400 (0:00:00.023) 0:00:21.233 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:29:50 -0400 (0:00:00.065) 0:00:21.298 ****** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "78:A9:9D:C3:DC:F8:B8:1C:FC:1A:72:EA:1F:B9:23:6A:9F:8F:5F:7A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A2:7C:7E:A4:43:9A:08:00:C8:FF:45:74:D1:68:CC:53:2F:B2:3D:B8:8E:7C:CB:22:46:EA:3D:7F:17:F2:38:1F:09:14:03:77:54:4C:CD:A9:B9:BF:74:38:FB:13:83:ED:FC:A0:35:8C:04:4F:DC:53:F2:86:6A:2D:D6:D3:4E:22:14:01:AC:E2:8A:B0:84:A5:56:46:7B:7B:D3:34:9C:EE:17:E5:8E:4A:70:B1:03:CB:83:77:34:B7:79:11:F9:A4:9F:8B:88:CC:D2:1C:06:5F:5B:E2:D5:27:5F:FD:97:A8:BC:89:51:29:55:0A:D6:D7:E7:DD:4B:2C:67:E0:74:53:27:1F:95:BE:F4:31:80:64:65:BA:95:A7:3F:CC:2D:91:8E:A2:77:63:A0:1A:02:A0:42:58:C6:46:6D:10:80:9C:7A:33:98:42:54:F2:D3:70:90:E3:93:16:67:7D:0B:54:A1:C3:C7:29:FC:4F:A2:FD:04:8B:B2:AF:22:7B:5D:89:72:94:4D:B6:70:3C:23:AE:42:D7:8C:BD:9E:43:8A:D6:25:EB:98:84:09:D7:BC:A1:92:8E:8A:9A:67:C6:BB:DE:99:12:4A:E1:24:EC:56:89:17:22:B9:2E:26:20:AB:F6:01:F1:0F:6D:95:3A:E6:A4:28:FA:73:B2:30:CB:F2:C3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122943Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.453) 0:00:21.752 ****** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "78:A9:9D:C3:DC:F8:B8:1C:FC:1A:72:EA:1F:B9:23:6A:9F:8F:5F:7A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A2:7C:7E:A4:43:9A:08:00:C8:FF:45:74:D1:68:CC:53:2F:B2:3D:B8:8E:7C:CB:22:46:EA:3D:7F:17:F2:38:1F:09:14:03:77:54:4C:CD:A9:B9:BF:74:38:FB:13:83:ED:FC:A0:35:8C:04:4F:DC:53:F2:86:6A:2D:D6:D3:4E:22:14:01:AC:E2:8A:B0:84:A5:56:46:7B:7B:D3:34:9C:EE:17:E5:8E:4A:70:B1:03:CB:83:77:34:B7:79:11:F9:A4:9F:8B:88:CC:D2:1C:06:5F:5B:E2:D5:27:5F:FD:97:A8:BC:89:51:29:55:0A:D6:D7:E7:DD:4B:2C:67:E0:74:53:27:1F:95:BE:F4:31:80:64:65:BA:95:A7:3F:CC:2D:91:8E:A2:77:63:A0:1A:02:A0:42:58:C6:46:6D:10:80:9C:7A:33:98:42:54:F2:D3:70:90:E3:93:16:67:7D:0B:54:A1:C3:C7:29:FC:4F:A2:FD:04:8B:B2:AF:22:7B:5D:89:72:94:4D:B6:70:3C:23:AE:42:D7:8C:BD:9E:43:8A:D6:25:EB:98:84:09:D7:BC:A1:92:8E:8A:9A:67:C6:BB:DE:99:12:4A:E1:24:EC:56:89:17:22:B9:2E:26:20:AB:F6:01:F1:0F:6D:95:3A:E6:A4:28:FA:73:B2:30:CB:F2:C3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122943Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.044) 0:00:21.796 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.069) 0:00:21.866 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.031) 0:00:21.897 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.058) 0:00:21.955 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.064) 0:00:22.020 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.058) 0:00:22.078 ****** 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.035755", "end": "2024-10-05 08:29:51.707153", "rc": 0, "start": "2024-10-05 08:29:51.671398" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.421) 0:00:22.500 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.179) 0:00:22.679 ****** ok: [managed-node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.952) 0:00:23.631 ****** included: /tmp/collections-Leh/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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.032) 0:00:23.664 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.095) 0:00:23.759 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.035) 0:00:23.794 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.028) 0:00:23.822 ****** 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" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.050) 0:00:23.873 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.733) 0:00:24.606 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.750) 0:00:25.356 ****** 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.416) 0:00:25.773 ****** 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.443) 0:00:26.216 ****** 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-10-05 08:29:41 EDT", "ActiveEnterTimestampMonotonic": "347834198", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket sysinit.target syslog.target basic.target system.slice dbus-broker.service network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-05 08:29:41 EDT", "AssertTimestampMonotonic": "347808887", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "703070000", "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-10-05 08:29:41 EDT", "ConditionTimestampMonotonic": "347808884", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4857", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3702878208", "EffectiveMemoryMax": "3702878208", "EffectiveTasksMax": "22362", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-10-05 08:29:41 EDT", "ExecMainHandoffTimestampMonotonic": "347824082", "ExecMainPID": "8925", "ExecMainStartTimestamp": "Sat 2024-10-05 08:29:41 EDT", "ExecMainStartTimestampMonotonic": "347810200", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-10-05 08:29:41 EDT] ; stop_time=[n/a] ; pid=8925 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-10-05 08:29:41 EDT] ; stop_time=[n/a] ; pid=8925 ; 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-10-05 08:29:41 EDT", "InactiveExitTimestampMonotonic": "347811967", "InvocationID": "5ac9f2fc598a48f58c31b80dc4b36e76", "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": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8925", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3300732928", "MemoryCurrent": "2600960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "9986048", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "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": "sysinit.target system.slice dbus.socket", "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-10-05 08:29:41 EDT", "StateChangeTimestampMonotonic": "347834198", "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": "22362", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.599) 0:00:26.816 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 05 October 2024 08:29:57 -0400 (0:00:01.541) 0:00:28.357 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.056) 0:00:28.414 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.064) 0:00:28.479 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.090) 0:00:28.570 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.128) 0:00:28.698 ****** ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.956) 0:00:29.654 ****** included: /tmp/collections-Leh/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/collections-Leh/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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.052) 0:00:29.707 ****** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.017) 0:00:29.725 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.017) 0:00:29.743 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.017) 0:00:29.760 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.012) 0:00:29.773 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.745) 0:00:30.518 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131396.7011461, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6050af1e47d87eabbf1db3b44fb1283daae5246e", "ctime": 1728131396.819147, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 12597306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1728131396.698146, "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": "3044345557", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.443) 0:00:30.961 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.029) 0:00:30.990 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.075) 0:00:31.068 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.113) 0:00:31.181 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131396.655146, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "53907e5f308971949b72fe19cff67dabd0655f25", "ctime": 1728131396.820147, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 9007754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1728131396.698146, "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": "221752580", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.399) 0:00:31.581 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.019) 0:00:31.601 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:30:00 -0400 (0:00:00.058) 0:00:31.659 ****** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "BA:28:EA:00:52:12:A1:E7:5B:EA:46:D9:C9:80:D5:C8:41:41:B9:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "13:4E:09:6A:CD:11:3C:1A:61:7D:F6:AA:11:E2:AD:AF:2E:64:BF:0B:C6:1C:FD:8C:77:16:B0:D2:A2:C1:84:46:C8:4F:37:24:A3:79:A2:0E:92:B7:5A:74:20:A2:61:35:A6:EB:96:A3:7D:FF:B5:5D:FA:CE:C1:AC:36:04:D9:FB:AB:6D:76:ED:DE:13:E6:20:C4:75:CB:89:03:DF:50:E3:68:CA:26:AA:A2:01:92:E4:9D:E4:FF:33:C6:2A:02:2C:37:37:51:EB:7E:38:79:5F:93:9E:AD:EC:CE:CC:E6:12:CB:E6:C2:79:9C:6E:07:A6:E7:DE:96:55:FB:DC:D4:EC:9F:ED:20:CB:EC:33:17:5B:46:02:17:EE:77:FB:5D:9F:FC:76:9A:04:D7:18:19:54:E3:50:6A:DE:E8:F3:74:C2:E8:EB:35:32:B9:3D:E7:4E:25:D5:40:CA:85:0C:EC:DC:45:02:62:AC:E4:96:C3:FF:5D:0F:02:DB:01:E4:32:B5:94:BD:87:F1:27:40:F8:B6:A7:1F:57:36:13:7C:9A:66:45:02:65:90:FE:B5:35:BC:9B:BE:15:51:F3:26:48:D4:CE:20:B7:75:A8:7F:7C:B0:ED:53:E5:0E:81:DD:8D:0F:DF:53:9E:C5:AF:A0:E0:AF:A8:FF:66:E2:7B:14:F0:89" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122956Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.440) 0:00:32.099 ****** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "BA:28:EA:00:52:12:A1:E7:5B:EA:46:D9:C9:80:D5:C8:41:41:B9:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "13:4E:09:6A:CD:11:3C:1A:61:7D:F6:AA:11:E2:AD:AF:2E:64:BF:0B:C6:1C:FD:8C:77:16:B0:D2:A2:C1:84:46:C8:4F:37:24:A3:79:A2:0E:92:B7:5A:74:20:A2:61:35:A6:EB:96:A3:7D:FF:B5:5D:FA:CE:C1:AC:36:04:D9:FB:AB:6D:76:ED:DE:13:E6:20:C4:75:CB:89:03:DF:50:E3:68:CA:26:AA:A2:01:92:E4:9D:E4:FF:33:C6:2A:02:2C:37:37:51:EB:7E:38:79:5F:93:9E:AD:EC:CE:CC:E6:12:CB:E6:C2:79:9C:6E:07:A6:E7:DE:96:55:FB:DC:D4:EC:9F:ED:20:CB:EC:33:17:5B:46:02:17:EE:77:FB:5D:9F:FC:76:9A:04:D7:18:19:54:E3:50:6A:DE:E8:F3:74:C2:E8:EB:35:32:B9:3D:E7:4E:25:D5:40:CA:85:0C:EC:DC:45:02:62:AC:E4:96:C3:FF:5D:0F:02:DB:01:E4:32:B5:94:BD:87:F1:27:40:F8:B6:A7:1F:57:36:13:7C:9A:66:45:02:65:90:FE:B5:35:BC:9B:BE:15:51:F3:26:48:D4:CE:20:B7:75:A8:7F:7C:B0:ED:53:E5:0E:81:DD:8D:0F:DF:53:9E:C5:AF:A0:E0:AF:A8:FF:66:E2:7B:14:F0:89" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122956Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.019) 0:00:32.119 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.040) 0:00:32.159 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.036) 0:00:32.196 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.093) 0:00:32.289 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.112) 0:00:32.402 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:30:01 -0400 (0:00:00.128) 0:00:32.531 ****** 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.038596", "end": "2024-10-05 08:30:02.245096", "rc": 0, "start": "2024-10-05 08:30:02.206500" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.502) 0:00:33.033 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.105) 0:00:33.139 ****** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.039) 0:00:33.178 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.052) 0:00:33.231 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.030) 0:00:33.261 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:30:02 -0400 (0:00:00.022) 0:00:33.284 ****** 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/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:30:03 -0400 (0:00:00.826) 0:00:34.111 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131397.4641519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "090ecc93d33045366c9e3a181ffe4d22e0abb45f", "ctime": 1728131397.4611518, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12597307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131397.4611518, "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": "2258738619", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:30:03 -0400 (0:00:00.377) 0:00:34.488 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:30:03 -0400 (0:00:00.039) 0:00:34.528 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:30:03 -0400 (0:00:00.094) 0:00:34.623 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:30:03 -0400 (0:00:00.055) 0:00:34.678 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728131397.4181516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f8da5d215835c06c547a9b6f417b078f73630f50", "ctime": 1728131397.4611518, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9007755, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131397.4611518, "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": "682159523", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.390) 0:00:35.068 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.030) 0:00:35.099 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.045) 0:00:35.145 ****** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "84:A1:77:02:59:1D:E0:58:75:B9:BC:0D:0A:41:8F:A6:58:AA:BB:A0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "90:BE:01:C7:8A:3C:1D:49:E0:8E:74:FC:5A:FF:D1:95:39:42:F7:7A:B5:D4:74:63:2F:C5:BF:CF:ED:38:7F:B6:72:B9:F6:08:9B:51:76:FE:5A:2C:8A:42:B3:4B:F0:8C:68:4C:2C:88:10:8C:17:24:FE:4D:EF:B0:39:FF:A4:BD:8C:16:83:6B:EB:5A:49:4C:8E:26:B1:0F:B3:B7:DE:7C:1B:87:6E:61:09:EC:BA:67:E7:DC:4C:22:D5:D5:23:22:F7:C7:F7:4E:D5:AA:DC:F8:EF:F1:B1:05:5D:E3:37:6B:94:9F:FC:42:28:4E:3B:65:A4:25:AD:B2:AE:2F:52:6A:11:35:3B:D2:E9:A9:45:C7:09:8E:51:A7:CD:64:0B:10:35:CE:BF:C4:82:C6:96:B6:2B:37:32:0C:72:44:2A:C5:F8:D5:12:A0:82:35:1F:25:BA:B4:EA:A3:5B:BC:07:3A:46:40:F9:61:9B:05:D9:AC:52:6C:08:2A:E8:58:35:2D:21:34:52:0C:AB:E6:86:3B:66:95:50:3C:88:7B:D7:04:49:28:67:D4:93:42:5B:9F:18:39:8E:55:9D:B1:27:8F:05:DF:47:26:F4:D7:8E:7A:C3:C4:14:A0:9E:7A:9C:FB:52:58:60:0E:EC:F9:49:79:48:45:28:ED:59:EF:FA:73" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122957Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.435) 0:00:35.581 ****** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A1:04:26:DC:E6:94:6C:24:B5:99:72:49:7C:F6:64:73:83:0F:26:49" }, "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": "84:A1:77:02:59:1D:E0:58:75:B9:BC:0D:0A:41:8F:A6:58:AA:BB:A0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "90:BE:01:C7:8A:3C:1D:49:E0:8E:74:FC:5A:FF:D1:95:39:42:F7:7A:B5:D4:74:63:2F:C5:BF:CF:ED:38:7F:B6:72:B9:F6:08:9B:51:76:FE:5A:2C:8A:42:B3:4B:F0:8C:68:4C:2C:88:10:8C:17:24:FE:4D:EF:B0:39:FF:A4:BD:8C:16:83:6B:EB:5A:49:4C:8E:26:B1:0F:B3:B7:DE:7C:1B:87:6E:61:09:EC:BA:67:E7:DC:4C:22:D5:D5:23:22:F7:C7:F7:4E:D5:AA:DC:F8:EF:F1:B1:05:5D:E3:37:6B:94:9F:FC:42:28:4E:3B:65:A4:25:AD:B2:AE:2F:52:6A:11:35:3B:D2:E9:A9:45:C7:09:8E:51:A7:CD:64:0B:10:35:CE:BF:C4:82:C6:96:B6:2B:37:32:0C:72:44:2A:C5:F8:D5:12:A0:82:35:1F:25:BA:B4:EA:A3:5B:BC:07:3A:46:40:F9:61:9B:05:D9:AC:52:6C:08:2A:E8:58:35:2D:21:34:52:0C:AB:E6:86:3B:66:95:50:3C:88:7B:D7:04:49:28:67:D4:93:42:5B:9F:18:39:8E:55:9D:B1:27:8F:05:DF:47:26:F4:D7:8E:7A:C3:C4:14:A0:9E:7A:9C:FB:52:58:60:0E:EC:F9:49:79:48:45:28:ED:59:EF:FA:73" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122941Z", "not_valid_before": "20241005122957Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.020) 0:00:35.601 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.056) 0:00:35.658 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:30:04 -0400 (0:00:00.032) 0:00:35.691 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:30:05 -0400 (0:00:00.051) 0:00:35.743 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:30:05 -0400 (0:00:00.040) 0:00:35.784 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:30:05 -0400 (0:00:00.042) 0:00:35.826 ****** 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.037646", "end": "2024-10-05 08:30:05.450123", "rc": 0, "start": "2024-10-05 08:30:05.412477" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:30:05 -0400 (0:00:00.402) 0:00:36.229 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 05 October 2024 08:30:05 -0400 (0:00:00.061) 0:00:36.291 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.09s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.86s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.83s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.54s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.08s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.96s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Ensure user exists ------------------------------------------------------ 0.89s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Ensure python3 is installed --------------------------------------------- 0.83s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.80s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Retrieve certificate file stats ----------------------------------------- 0.76s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Ensure python3 is installed --------------------------------------------- 0.76s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.75s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.75s /tmp/collections-Leh/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 --- 0.73s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Retrieve auto-renew flag ------------------------------------------------ 0.68s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.60s /tmp/collections-Leh/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35