[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Okj executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 17 August 2024 08:22:29 -0400 (0:00:00.010) 0:00:00.010 ******* [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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 17 August 2024 08:22:31 -0400 (0:00:02.205) 0:00:02.216 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 17 August 2024 08:22:32 -0400 (0:00:00.848) 0:00:03.065 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 17 August 2024 08:22:32 -0400 (0:00:00.839) 0:00:03.904 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 17 August 2024 08:22:33 -0400 (0:00:00.964) 0:00:04.868 ******* included: /tmp/collections-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 17 August 2024 08:22:33 -0400 (0:00:00.031) 0:00:04.900 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 17 August 2024 08:22:33 -0400 (0:00:00.053) 0:00:04.954 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 17 August 2024 08:22:34 -0400 (0:00:00.553) 0:00:05.508 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 17 August 2024 08:22:34 -0400 (0:00:00.049) 0:00:05.557 ******* 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-Okj/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-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 17 August 2024 08:22:34 -0400 (0:00:00.075) 0:00:05.633 ******* changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-cryptography-41.0.7-2.el10.x86_64", "Installed: python3-ply-3.11-24.el10.noarch", "Installed: python3-pyasn1-0.5.1-4.el10.noarch", "Installed: python3-pycparser-2.20-15.el10.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 17 August 2024 08:22:37 -0400 (0:00:02.977) 0:00:08.611 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 17 August 2024 08:22:40 -0400 (0:00:02.746) 0:00:11.357 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 17 August 2024 08:22:41 -0400 (0:00:00.647) 0:00:12.005 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 17 August 2024 08:22:41 -0400 (0:00:00.454) 0:00:12.460 ******* 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": "network.target system.slice systemd-journald.socket dbus-broker.service syslog.target basic.target dbus.socket sysinit.target", "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": "3700932608", "EffectiveMemoryMax": "3700932608", "EffectiveTasksMax": "22402", "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "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": "3319595008", "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 sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "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": "22402", "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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 17 August 2024 08:22:42 -0400 (0:00:01.094) 0:00:13.554 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 17 August 2024 08:22:44 -0400 (0:00:01.752) 0:00:15.307 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 17 August 2024 08:22:44 -0400 (0:00:00.065) 0:00:15.373 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 17 August 2024 08:22:44 -0400 (0:00:00.077) 0:00:15.451 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 17 August 2024 08:22:44 -0400 (0:00:00.082) 0:00:15.533 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 17 August 2024 08:22:44 -0400 (0:00:00.084) 0:00:15.618 ******* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.885) 0:00:16.503 ******* included: /tmp/collections-Okj/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-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.048) 0:00:16.552 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.017) 0:00:16.569 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.019) 0:00:16.588 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.019) 0:00:16.608 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:22:45 -0400 (0:00:00.014) 0:00:16.622 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:22:46 -0400 (0:00:00.933) 0:00:17.555 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897363.2790728, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "be9a35de07f15ecf4e25a048df2e98fbadeefb62", "ctime": 1723897363.3830729, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6364279, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723897363.2770727, "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": "4076945462", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.796) 0:00:18.352 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.020) 0:00:18.373 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.039) 0:00:18.412 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.038) 0:00:18.451 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897363.2310724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "aa90de7219d0581355e9f1aaa7e10dc3c1076cc0", "ctime": 1723897363.3840728, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4921646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723897363.2770727, "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": "581501356", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.367) 0:00:18.818 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.042) 0:00:18.860 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:22:47 -0400 (0:00:00.076) 0:00:18.937 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "66:61:0B:B4:CF:54:27:04:F3:0F:09:AF:24:CD:CD:69:20:97:BF:48" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:F2:2A:DF:1C:BA:30:81:65:8C:FA:EE:ED:50:14:6A:6D:92:9F:E3:C8:B1:91:C7:17:27:80:A1:CE:37:4F:82:2A:3C:61:9C:54:89:81:90:95:6D:F2:90:F5:95:BF:E2:17:46:C7:83:A9:CC:BF:E4:39:80:49:E2:5D:6A:69:1A:3D:E2:46:1E:43:BD:C2:6F:F3:6A:19:E1:B3:CA:CA:E2:EB:69:23:84:B7:6A:8C:8E:24:93:3F:53:42:0F:D6:B6:17:46:70:A8:68:D0:C7:5A:74:8C:A5:9A:13:0A:29:B0:28:8C:34:75:D2:5C:EC:58:38:B3:CF:39:40:FD:9A:DB:DA:DF:ED:4A:98:B3:77:F1:43:A4:8E:DE:73:B6:40:9F:6B:29:C5:E0:79:E7:80:E2:42:5A:DF:08:FE:EF:1E:4A:55:BE:F1:F7:27:AE:E6:3E:71:55:BE:36:9B:29:9B:B0:75:35:DE:8E:74:2B:5D:88:9B:93:0B:27:12:F5:D9:A3:C2:A6:40:E1:66:B1:1B:0C:C2:3B:47:C4:87:BB:3C:D2:80:60:9D:96:A4:4E:A0:21:1F:28:AE:A3:58:9D:A2:DF:B5:13:03:FF:58:23:59:ED:BD:96:DB:07:90:3F:65:08:B9:FC:5C:52:4B:05:B7:5B:C5:16:32:5C:6B:17:04:1E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122243Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.664) 0:00:19.602 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "66:61:0B:B4:CF:54:27:04:F3:0F:09:AF:24:CD:CD:69:20:97:BF:48" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:F2:2A:DF:1C:BA:30:81:65:8C:FA:EE:ED:50:14:6A:6D:92:9F:E3:C8:B1:91:C7:17:27:80:A1:CE:37:4F:82:2A:3C:61:9C:54:89:81:90:95:6D:F2:90:F5:95:BF:E2:17:46:C7:83:A9:CC:BF:E4:39:80:49:E2:5D:6A:69:1A:3D:E2:46:1E:43:BD:C2:6F:F3:6A:19:E1:B3:CA:CA:E2:EB:69:23:84:B7:6A:8C:8E:24:93:3F:53:42:0F:D6:B6:17:46:70:A8:68:D0:C7:5A:74:8C:A5:9A:13:0A:29:B0:28:8C:34:75:D2:5C:EC:58:38:B3:CF:39:40:FD:9A:DB:DA:DF:ED:4A:98:B3:77:F1:43:A4:8E:DE:73:B6:40:9F:6B:29:C5:E0:79:E7:80:E2:42:5A:DF:08:FE:EF:1E:4A:55:BE:F1:F7:27:AE:E6:3E:71:55:BE:36:9B:29:9B:B0:75:35:DE:8E:74:2B:5D:88:9B:93:0B:27:12:F5:D9:A3:C2:A6:40:E1:66:B1:1B:0C:C2:3B:47:C4:87:BB:3C:D2:80:60:9D:96:A4:4E:A0:21:1F:28:AE:A3:58:9D:A2:DF:B5:13:03:FF:58:23:59:ED:BD:96:DB:07:90:3F:65:08:B9:FC:5C:52:4B:05:B7:5B:C5:16:32:5C:6B:17:04:1E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122243Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.020) 0:00:19.622 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.038) 0:00:19.661 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.019) 0:00:19.681 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.039) 0:00:19.720 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.042) 0:00:19.763 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:22:48 -0400 (0:00:00.043) 0:00:19.807 ******* 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.033310", "end": "2024-08-17 08:22:49.224028", "rc": 0, "start": "2024-08-17 08:22:49.190718" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.456) 0:00:20.263 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.051) 0:00:20.314 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.023) 0:00:20.338 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.033) 0:00:20.371 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.021) 0:00:20.393 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:22:49 -0400 (0:00:00.017) 0:00:20.410 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:22:50 -0400 (0:00:00.818) 0:00:21.229 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897364.1510746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a9bac0dddf4490249246fb955cb155c7ae90151b", "ctime": 1723897364.2570748, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 6364280, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723897364.1490746, "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": "3610019592", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:22:50 -0400 (0:00:00.372) 0:00:21.602 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:22:50 -0400 (0:00:00.023) 0:00:21.626 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:22:50 -0400 (0:00:00.064) 0:00:21.690 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:22:50 -0400 (0:00:00.090) 0:00:21.781 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897364.1080744, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c6f788ff817a3cd3c0be1bafbe655468c52c6cc5", "ctime": 1723897364.2570748, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 4921629, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723897364.1490746, "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": "1178474550", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.403) 0:00:22.184 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.047) 0:00:22.232 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.097) 0:00:22.329 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "64:38:11:4E:C9:42:C6:DE:8B:2E:C2:53:6C:3F:91:6F:0F:18:DE:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:FF:98:EE:77:C6:19:CE:78:ED:C4:81:08:F9:FB:5A:E4:2F:12:41:35:1F:DE:40:CF:C9:EB:E0:44:9E:83:5F:70:20:27:47:04:C5:A7:14:4D:D5:D7:D6:56:AF:35:FB:A2:E4:35:ED:54:86:2A:35:6B:4F:66:30:1F:3F:7A:86:54:D1:3F:1B:C5:D0:89:2F:DB:1E:10:7C:EB:A5:FB:A1:32:D5:FA:21:E0:C4:AD:4B:F4:09:D0:59:9A:77:B6:97:FA:DC:69:93:9E:22:FA:2D:CE:30:A2:F0:7A:12:9F:E2:8A:18:C3:8E:C2:6A:9F:8D:DE:A1:36:B1:05:CE:72:74:D5:36:7C:62:57:CE:6D:0E:87:EC:ED:BB:F4:C0:01:A2:67:81:B0:BC:3F:1C:17:2E:B6:8C:3F:0E:EA:EF:2B:2F:9E:1B:81:CE:07:95:83:A8:F2:F3:7F:96:98:F6:9A:86:D4:65:E0:A8:30:A7:B9:D3:B2:D6:1D:C2:68:1A:C2:8E:29:FC:A3:CF:EC:43:E4:F7:42:04:74:2A:2A:EB:0A:AA:15:5B:9F:29:47:18:01:2B:4B:81:7F:25:78:2D:02:7D:3D:28:2C:9D:42:C5:16:F7:72:94:44:DA:80:8C:6F:EB:0F:F9:BF:CE:8C:66:9B:16:20:FA:0D:61:34:1C:98:C8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122244Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.462) 0:00:22.791 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "64:38:11:4E:C9:42:C6:DE:8B:2E:C2:53:6C:3F:91:6F:0F:18:DE:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:FF:98:EE:77:C6:19:CE:78:ED:C4:81:08:F9:FB:5A:E4:2F:12:41:35:1F:DE:40:CF:C9:EB:E0:44:9E:83:5F:70:20:27:47:04:C5:A7:14:4D:D5:D7:D6:56:AF:35:FB:A2:E4:35:ED:54:86:2A:35:6B:4F:66:30:1F:3F:7A:86:54:D1:3F:1B:C5:D0:89:2F:DB:1E:10:7C:EB:A5:FB:A1:32:D5:FA:21:E0:C4:AD:4B:F4:09:D0:59:9A:77:B6:97:FA:DC:69:93:9E:22:FA:2D:CE:30:A2:F0:7A:12:9F:E2:8A:18:C3:8E:C2:6A:9F:8D:DE:A1:36:B1:05:CE:72:74:D5:36:7C:62:57:CE:6D:0E:87:EC:ED:BB:F4:C0:01:A2:67:81:B0:BC:3F:1C:17:2E:B6:8C:3F:0E:EA:EF:2B:2F:9E:1B:81:CE:07:95:83:A8:F2:F3:7F:96:98:F6:9A:86:D4:65:E0:A8:30:A7:B9:D3:B2:D6:1D:C2:68:1A:C2:8E:29:FC:A3:CF:EC:43:E4:F7:42:04:74:2A:2A:EB:0A:AA:15:5B:9F:29:47:18:01:2B:4B:81:7F:25:78:2D:02:7D:3D:28:2C:9D:42:C5:16:F7:72:94:44:DA:80:8C:6F:EB:0F:F9:BF:CE:8C:66:9B:16:20:FA:0D:61:34:1C:98:C8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122244Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.028) 0:00:22.820 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.042) 0:00:22.862 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.021) 0:00:22.884 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.038) 0:00:22.923 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:22:51 -0400 (0:00:00.045) 0:00:22.968 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:22:52 -0400 (0:00:00.043) 0:00:23.011 ******* 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.034778", "end": "2024-08-17 08:22:52.382670", "rc": 0, "start": "2024-08-17 08:22:52.347892" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:22:52 -0400 (0:00:00.438) 0:00:23.449 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 17 August 2024 08:22:52 -0400 (0:00:00.114) 0:00:23.564 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.874) 0:00:24.439 ******* included: /tmp/collections-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.019) 0:00:24.459 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.042) 0:00:24.501 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.029) 0:00:24.531 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.022) 0:00:24.553 ******* 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-Okj/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-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 17 August 2024 08:22:53 -0400 (0:00:00.045) 0:00:24.598 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 17 August 2024 08:22:54 -0400 (0:00:00.750) 0:00:25.349 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 17 August 2024 08:22:55 -0400 (0:00:00.819) 0:00:26.169 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 17 August 2024 08:22:55 -0400 (0:00:00.410) 0:00:26.579 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 17 August 2024 08:22:56 -0400 (0:00:00.424) 0:00:27.004 ******* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-08-17 08:22:42 EDT", "ActiveEnterTimestampMonotonic": "198607672", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice syslog.target systemd-journald.socket sysinit.target dbus-broker.service basic.target dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 08:22:42 EDT", "AssertTimestampMonotonic": "198583610", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "624891000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 08:22:42 EDT", "ConditionTimestampMonotonic": "198583607", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4568", "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": "3700932608", "EffectiveMemoryMax": "3700932608", "EffectiveTasksMax": "22402", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-08-17 08:22:42 EDT", "ExecMainHandoffTimestampMonotonic": "198597399", "ExecMainPID": "8223", "ExecMainStartTimestamp": "Sat 2024-08-17 08:22:42 EDT", "ExecMainStartTimestampMonotonic": "198584712", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-17 08:22:42 EDT] ; stop_time=[n/a] ; pid=8223 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-08-17 08:22:42 EDT] ; stop_time=[n/a] ; pid=8223 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 08:22:42 EDT", "InactiveExitTimestampMonotonic": "198585172", "InvocationID": "3af9f5c4a6e4413d8f9d257469976708", "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8223", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3309150208", "MemoryCurrent": "2760704", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "9060352", "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": "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", "StateChangeTimestamp": "Sat 2024-08-17 08:22:42 EDT", "StateChangeTimestampMonotonic": "198607672", "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": "22402", "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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 17 August 2024 08:22:56 -0400 (0:00:00.552) 0:00:27.556 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 17 August 2024 08:22:58 -0400 (0:00:01.813) 0:00:29.369 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 17 August 2024 08:22:58 -0400 (0:00:00.091) 0:00:29.461 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 17 August 2024 08:22:58 -0400 (0:00:00.041) 0:00:29.502 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 17 August 2024 08:22:58 -0400 (0:00:00.071) 0:00:29.574 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 17 August 2024 08:22:58 -0400 (0:00:00.104) 0:00:29.679 ******* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.906) 0:00:30.586 ******* included: /tmp/collections-Okj/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-Okj/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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.048) 0:00:30.635 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.016) 0:00:30.651 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.019) 0:00:30.671 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.024) 0:00:30.695 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:22:59 -0400 (0:00:00.015) 0:00:30.711 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:23:00 -0400 (0:00:00.728) 0:00:31.440 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897377.1521032, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d941b8f730ebc4f6db6d73ac9491a243cdab91ba", "ctime": 1723897377.2731035, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6364281, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723897377.150103, "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": "1640901171", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:23:00 -0400 (0:00:00.383) 0:00:31.823 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:23:00 -0400 (0:00:00.035) 0:00:31.859 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:23:00 -0400 (0:00:00.082) 0:00:31.942 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.056) 0:00:31.998 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897377.1101031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "641eeadfcff427e4061d4a4f7119b507f19d1afc", "ctime": 1723897377.2741034, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4932763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723897377.150103, "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": "3761680051", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.377) 0:00:32.376 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.030) 0:00:32.406 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.062) 0:00:32.468 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "62:6D:63:47:54:E7:F0:42:6D:47:17:86:9D:83:D2:66:08:CB:B4:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8C:F0:83:83:CD:D1:DF:BB:53:DE:99:2A:C1:64:CB:E1:1A:A3:61:99:C4:2A:87:6F:94:2F:BF:08:1A:F0:0E:3B:F5:0A:5A:3E:63:46:F9:18:E1:F1:75:1E:BE:2B:88:77:D5:21:02:B1:CE:AF:CC:CE:B4:12:C9:F6:A9:08:BE:12:4A:A6:DA:DB:3C:A3:79:B5:66:08:00:EC:3C:E0:30:3E:A9:24:07:BB:24:E4:09:0A:69:8E:C0:67:07:A1:93:94:F2:F8:1E:F5:9E:8A:D2:7D:88:37:98:B9:26:BA:7E:2E:F5:A6:95:36:DF:43:D1:10:C9:D7:C4:B6:64:F8:7F:BF:12:A7:F9:B3:16:B5:BF:84:B9:85:2D:8B:AD:05:D6:7E:4D:C3:55:C4:6B:71:D5:62:88:36:A9:A5:A5:A2:19:DC:CC:17:37:D8:45:C1:A2:53:70:45:17:80:D0:84:9D:11:F5:13:D7:9E:FB:EF:79:EB:1F:68:43:DE:1A:83:73:E9:9F:B6:E8:75:07:8B:2A:D3:E4:50:AE:07:8F:FB:4D:8F:83:A7:18:EB:66:6F:CA:28:24:D8:90:A3:0F:DA:4B:50:B8:83:86:26:05:B0:FC:1F:13:4D:E9:20:C8:D6:91:DA:9D:B2:FD:9F:58:80:BF:BA:F9:89:DD:68:79:64:03:5B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122257Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.397) 0:00:32.865 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "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": "62:6D:63:47:54:E7:F0:42:6D:47:17:86:9D:83:D2:66:08:CB:B4:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8C:F0:83:83:CD:D1:DF:BB:53:DE:99:2A:C1:64:CB:E1:1A:A3:61:99:C4:2A:87:6F:94:2F:BF:08:1A:F0:0E:3B:F5:0A:5A:3E:63:46:F9:18:E1:F1:75:1E:BE:2B:88:77:D5:21:02:B1:CE:AF:CC:CE:B4:12:C9:F6:A9:08:BE:12:4A:A6:DA:DB:3C:A3:79:B5:66:08:00:EC:3C:E0:30:3E:A9:24:07:BB:24:E4:09:0A:69:8E:C0:67:07:A1:93:94:F2:F8:1E:F5:9E:8A:D2:7D:88:37:98:B9:26:BA:7E:2E:F5:A6:95:36:DF:43:D1:10:C9:D7:C4:B6:64:F8:7F:BF:12:A7:F9:B3:16:B5:BF:84:B9:85:2D:8B:AD:05:D6:7E:4D:C3:55:C4:6B:71:D5:62:88:36:A9:A5:A5:A2:19:DC:CC:17:37:D8:45:C1:A2:53:70:45:17:80:D0:84:9D:11:F5:13:D7:9E:FB:EF:79:EB:1F:68:43:DE:1A:83:73:E9:9F:B6:E8:75:07:8B:2A:D3:E4:50:AE:07:8F:FB:4D:8F:83:A7:18:EB:66:6F:CA:28:24:D8:90:A3:0F:DA:4B:50:B8:83:86:26:05:B0:FC:1F:13:4D:E9:20:C8:D6:91:DA:9D:B2:FD:9F:58:80:BF:BA:F9:89:DD:68:79:64:03:5B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122257Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.034) 0:00:32.899 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:23:01 -0400 (0:00:00.069) 0:00:32.969 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.057) 0:00:33.027 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.075) 0:00:33.102 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.054) 0:00:33.157 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.051) 0:00:33.209 ******* 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.036835", "end": "2024-08-17 08:23:02.546240", "rc": 0, "start": "2024-08-17 08:23:02.509405" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.374) 0:00:33.584 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.041) 0:00:33.625 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.015) 0:00:33.641 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.028) 0:00:33.669 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.030) 0:00:33.700 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 17 August 2024 08:23:02 -0400 (0:00:00.038) 0:00:33.738 ******* 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-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 17 August 2024 08:23:03 -0400 (0:00:00.792) 0:00:34.531 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897378.1941054, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6e4e3e31aa2a57fdb3b6bb83adc93c39ba28874a", "ctime": 1723897378.1921055, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6364282, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897378.1921055, "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": "3920389235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 17 August 2024 08:23:03 -0400 (0:00:00.390) 0:00:34.922 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 17 August 2024 08:23:03 -0400 (0:00:00.031) 0:00:34.954 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.048) 0:00:35.002 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.052) 0:00:35.054 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723897378.1501055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b17996b927679b27eee5a98f45759793d4404891", "ctime": 1723897378.1921055, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4932783, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723897378.1921055, "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": "2101597591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.382) 0:00:35.436 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.019) 0:00:35.456 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.039) 0:00:35.496 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "9F:EF:50:15:35:AB:B2:66:BC:C5:33:F5:86:69:2F:7C:64:7C:FF:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "11:8A:C2:C9:E8:9D:07:CD:AF:92:3D:1F:C2:9F:A3:43:27:33:BC:EA:CB:83:26:3C:94:F1:FD:B6:71:87:B5:D5:FB:4D:66:6D:85:1B:CB:4E:6B:77:60:A9:DE:02:37:CB:22:BA:69:49:DA:1C:4B:C3:FC:5F:32:5C:D3:8D:56:14:A0:34:17:EE:CA:67:B6:1B:67:59:93:41:CE:15:1B:2A:9C:5E:43:55:BE:8B:EA:37:C7:91:F1:FB:1A:5E:C3:3B:13:D8:5A:0A:D5:85:49:F9:A0:5E:A9:E0:A8:A5:EE:BC:52:87:EB:32:97:34:D6:04:25:91:90:E1:1B:A3:1E:DE:1B:A1:3C:2C:F8:DE:C1:4B:FB:9D:B7:0F:C3:FA:5F:20:E7:A9:0D:8D:F9:CF:C1:BD:28:B8:32:18:83:D0:FD:AC:56:B7:E9:B7:86:3F:B6:1F:03:98:26:70:19:3E:CC:70:59:DF:33:DA:5A:72:0D:9C:69:C0:4D:84:D8:30:0B:8F:19:B6:D0:FA:DF:EE:F1:D1:A9:82:B0:F8:4D:28:1B:DC:7F:48:85:00:BE:11:F5:27:A3:34:D5:CF:CC:70:69:27:4A:8D:BD:E3:34:C1:91:F1:4A:C6:45:16:23:77:04:F3:73:1F:8D:EE:67:A0:D7:EB:2C:4A:E3:F2:64:F4:6B:30" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122258Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.428) 0:00:35.925 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5F:8A:DD:8E:A1:18:C6:66:F8:D6:BC:CC:65:4E:33:10:2F:89:C2:77" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "9F:EF:50:15:35:AB:B2:66:BC:C5:33:F5:86:69:2F:7C:64:7C:FF:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "11:8A:C2:C9:E8:9D:07:CD:AF:92:3D:1F:C2:9F:A3:43:27:33:BC:EA:CB:83:26:3C:94:F1:FD:B6:71:87:B5:D5:FB:4D:66:6D:85:1B:CB:4E:6B:77:60:A9:DE:02:37:CB:22:BA:69:49:DA:1C:4B:C3:FC:5F:32:5C:D3:8D:56:14:A0:34:17:EE:CA:67:B6:1B:67:59:93:41:CE:15:1B:2A:9C:5E:43:55:BE:8B:EA:37:C7:91:F1:FB:1A:5E:C3:3B:13:D8:5A:0A:D5:85:49:F9:A0:5E:A9:E0:A8:A5:EE:BC:52:87:EB:32:97:34:D6:04:25:91:90:E1:1B:A3:1E:DE:1B:A1:3C:2C:F8:DE:C1:4B:FB:9D:B7:0F:C3:FA:5F:20:E7:A9:0D:8D:F9:CF:C1:BD:28:B8:32:18:83:D0:FD:AC:56:B7:E9:B7:86:3F:B6:1F:03:98:26:70:19:3E:CC:70:59:DF:33:DA:5A:72:0D:9C:69:C0:4D:84:D8:30:0B:8F:19:B6:D0:FA:DF:EE:F1:D1:A9:82:B0:F8:4D:28:1B:DC:7F:48:85:00:BE:11:F5:27:A3:34:D5:CF:CC:70:69:27:4A:8D:BD:E3:34:C1:91:F1:4A:C6:45:16:23:77:04:F3:73:1F:8D:EE:67:A0:D7:EB:2C:4A:E3:F2:64:F4:6B:30" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250817122242Z", "not_valid_before": "20240817122258Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 17 August 2024 08:23:04 -0400 (0:00:00.034) 0:00:35.960 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.058) 0:00:36.018 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.024) 0:00:36.043 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.044) 0:00:36.087 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.046) 0:00:36.134 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.054) 0:00:36.188 ******* 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.036583", "end": "2024-08-17 08:23:05.547286", "rc": 0, "start": "2024-08-17 08:23:05.510703" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 17 August 2024 08:23:05 -0400 (0:00:00.398) 0:00:36.587 ******* 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 17 August 2024 08:23:05 -0400 (0:00:00.052) 0:00:36.639 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.98s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.75s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.21s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.81s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.75s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.09s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.96s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Ensure python3 is installed --------------------------------------------- 0.93s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.89s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Ensure user exists ------------------------------------------------------ 0.85s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Ensure group "somegroup" exists ----------------------------------------- 0.84s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Ensure python3 is installed --------------------------------------------- 0.82s /tmp/collections-Okj/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.82s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Retrieve certificate file stats ----------------------------------------- 0.80s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Ensure python3 is installed --------------------------------------------- 0.79s /tmp/collections-Okj/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.75s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 0.73s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Parse certificate ------------------------------------------------------- 0.66s /tmp/collections-Okj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86