ansible-playbook [core 2.17.7] 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-0Wo executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 14 December 2024 07:27:43 -0500 (0:00:00.007) 0:00:00.007 ***** [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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 14 December 2024 07:27:45 -0500 (0:00:01.260) 0:00:01.268 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 14 December 2024 07:27:45 -0500 (0:00:00.647) 0:00:01.916 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 14 December 2024 07:27:46 -0500 (0:00:00.453) 0:00:02.369 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.937) 0:00:03.307 ***** included: /tmp/collections-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.019) 0:00:03.326 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.033) 0:00:03.359 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.459) 0:00:03.819 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.064) 0:00:03.884 ***** 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-0Wo/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-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 14 December 2024 07:27:47 -0500 (0:00:00.122) 0:00:04.006 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-ply-3.11-25.el10.noarch", "Installed: python3-pycparser-2.20-16.el10.noarch", "Installed: python3-pyasn1-0.6.1-1.el10.noarch", "Installed: python3-cffi-1.16.0-7.el10.x86_64", "Installed: python3-cryptography-43.0.0-4.el10.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 14 December 2024 07:27:50 -0500 (0:00:02.672) 0:00:06.679 ***** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.20-3.el10.x86_64", "Installed: python3-packaging-23.2-6.el10.noarch", "Installed: dbus-tools-1:1.14.10-5.el10.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 14 December 2024 07:27:53 -0500 (0:00:02.370) 0:00:09.049 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 14 December 2024 07:27:53 -0500 (0:00:00.711) 0:00:09.761 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 14 December 2024 07:27:54 -0500 (0:00:00.497) 0:00:10.259 ***** 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": "dbus.socket dbus-broker.service basic.target syslog.target system.slice network.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3698241536", "EffectiveMemoryMax": "3698241536", "EffectiveTasksMax": "22361", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3241619456", "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": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22361", "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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 14 December 2024 07:27:55 -0500 (0:00:01.255) 0:00:11.514 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 14 December 2024 07:27:57 -0500 (0:00:01.883) 0:00:13.397 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 14 December 2024 07:27:57 -0500 (0:00:00.089) 0:00:13.487 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 14 December 2024 07:27:57 -0500 (0:00:00.096) 0:00:13.583 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 14 December 2024 07:27:57 -0500 (0:00:00.076) 0:00:13.660 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 14 December 2024 07:27:57 -0500 (0:00:00.064) 0:00:13.725 ***** ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.875) 0:00:14.600 ***** included: /tmp/collections-0Wo/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-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.075) 0:00:14.675 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.024) 0:00:14.699 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.027) 0:00:14.727 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.026) 0:00:14.754 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 14 December 2024 07:27:58 -0500 (0:00:00.014) 0:00:14.768 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 14 December 2024 07:27:59 -0500 (0:00:00.726) 0:00:15.494 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179276.2400415, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "faf0a907e81b1ac0f98dc7a369a02eee8e30e41d", "ctime": 1734179276.3760426, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4251748, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1734179276.2380416, "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": "352052321", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 14 December 2024 07:27:59 -0500 (0:00:00.380) 0:00:15.875 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 14 December 2024 07:27:59 -0500 (0:00:00.018) 0:00:15.894 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 14 December 2024 07:27:59 -0500 (0:00:00.037) 0:00:15.931 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 14 December 2024 07:27:59 -0500 (0:00:00.035) 0:00:15.967 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179276.1920412, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c779213853e4ad5de74fa08c69288577cba636bc", "ctime": 1734179276.3770425, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 257844, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1734179276.2380416, "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": "521036565", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 14 December 2024 07:28:00 -0500 (0:00:00.359) 0:00:16.327 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 14 December 2024 07:28:00 -0500 (0:00:00.030) 0:00:16.357 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 14 December 2024 07:28:00 -0500 (0:00:00.070) 0:00:16.427 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "C1:EE:0E:BA:C8:36:59:7F:3A:4E:D4:BF:8F:6F:AF:7D:22:F1:C4:EF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:0A:51:33:AC:F3:2D:2B:B4:A2:77:07:5C:B5:8B:22:10:07:65:5E:B1:D8:06:8B:D9:A1:D0:7A:AA:2C:C2:E8:08:C1:09:DB:C6:CF:D8:0A:D2:C1:CC:DA:81:58:47:05:58:6E:8A:85:25:C7:1B:C5:B2:C7:78:81:62:EF:D8:AA:2F:4B:B1:AB:F8:07:6C:8B:6D:64:32:16:CC:B0:EC:FC:D8:8C:48:A1:DA:97:F2:1F:A7:38:82:1D:9B:89:D2:7C:4E:6D:8E:24:D9:D1:E6:C0:03:9E:8A:3D:6A:DC:5C:BC:F9:F0:9F:9A:6A:31:12:D1:D0:FB:17:65:CB:2A:4C:A8:22:AA:BC:20:9B:1A:E9:3C:21:7A:D8:A0:6F:8F:56:9D:D0:AC:1D:26:9F:18:4F:FB:0A:A2:E0:08:09:E6:E7:EF:7A:A2:96:FA:FD:71:20:99:16:E0:5A:CD:48:B6:A9:E8:85:8D:BF:D2:ED:FD:F0:27:18:48:75:EF:90:5E:B8:F9:11:63:9F:DB:A1:58:E1:00:76:28:D3:97:18:C1:52:DB:F3:B3:44:A2:EA:C5:6C:46:CE:6E:74:FA:24:05:ED:B7:9E:99:70:88:47:04:5E:9E:0B:AD:80:10:97:A7:C9:08:61:09:72:F3:64:3A:9B:DF:7A:BC:29:1D:EE:2B:F5:4B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122756Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 14 December 2024 07:28:00 -0500 (0:00:00.527) 0:00:16.955 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "C1:EE:0E:BA:C8:36:59:7F:3A:4E:D4:BF:8F:6F:AF:7D:22:F1:C4:EF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:0A:51:33:AC:F3:2D:2B:B4:A2:77:07:5C:B5:8B:22:10:07:65:5E:B1:D8:06:8B:D9:A1:D0:7A:AA:2C:C2:E8:08:C1:09:DB:C6:CF:D8:0A:D2:C1:CC:DA:81:58:47:05:58:6E:8A:85:25:C7:1B:C5:B2:C7:78:81:62:EF:D8:AA:2F:4B:B1:AB:F8:07:6C:8B:6D:64:32:16:CC:B0:EC:FC:D8:8C:48:A1:DA:97:F2:1F:A7:38:82:1D:9B:89:D2:7C:4E:6D:8E:24:D9:D1:E6:C0:03:9E:8A:3D:6A:DC:5C:BC:F9:F0:9F:9A:6A:31:12:D1:D0:FB:17:65:CB:2A:4C:A8:22:AA:BC:20:9B:1A:E9:3C:21:7A:D8:A0:6F:8F:56:9D:D0:AC:1D:26:9F:18:4F:FB:0A:A2:E0:08:09:E6:E7:EF:7A:A2:96:FA:FD:71:20:99:16:E0:5A:CD:48:B6:A9:E8:85:8D:BF:D2:ED:FD:F0:27:18:48:75:EF:90:5E:B8:F9:11:63:9F:DB:A1:58:E1:00:76:28:D3:97:18:C1:52:DB:F3:B3:44:A2:EA:C5:6C:46:CE:6E:74:FA:24:05:ED:B7:9E:99:70:88:47:04:5E:9E:0B:AD:80:10:97:A7:C9:08:61:09:72:F3:64:3A:9B:DF:7A:BC:29:1D:EE:2B:F5:4B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122756Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 14 December 2024 07:28:00 -0500 (0:00:00.032) 0:00:16.988 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.055) 0:00:17.043 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.039) 0:00:17.082 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.058) 0:00:17.140 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.067) 0:00:17.207 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.058) 0:00:17.266 ***** 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.036440", "end": "2024-12-14 07:28:01.653943", "rc": 0, "start": "2024-12-14 07:28:01.617503" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.465) 0:00:17.732 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.062) 0:00:17.794 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.038) 0:00:17.832 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.031) 0:00:17.864 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.032) 0:00:17.896 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 14 December 2024 07:28:01 -0500 (0:00:00.030) 0:00:17.927 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 14 December 2024 07:28:02 -0500 (0:00:00.852) 0:00:18.779 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179277.1670487, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9885b8cfe57becda5ad949ee4050694e15febd8", "ctime": 1734179277.2840497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 4459633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1734179277.1650488, "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": "2638202142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.362) 0:00:19.142 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.018) 0:00:19.160 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.054) 0:00:19.215 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.039) 0:00:19.254 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179277.1240485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "986a605cb3a3dea163ca15da12f3f5c785a10e6a", "ctime": 1734179277.2850497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 257851, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1734179277.1650488, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1700, "uid": 1040, "version": "1764876247", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.400) 0:00:19.654 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.024) 0:00:19.679 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 14 December 2024 07:28:03 -0500 (0:00:00.040) 0:00:19.720 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "61:86:FA:B0:84:24:BE:94:83:10:7A:D0:88:42:1E:5E:4E:4F:6E:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:A9:2E:D4:B2:38:44:3A:2E:31:51:4B:00:BE:59:9B:DF:65:41:B6:65:EA:FE:DD:4E:B7:D1:74:4A:9D:CC:ED:4D:5F:2A:59:63:6D:8D:53:5F:4F:AD:E3:82:63:E9:D7:68:50:47:68:F2:D1:DB:C4:6A:92:B3:55:21:9A:A8:01:6C:70:DD:22:A0:EE:D7:C2:9B:08:F1:D3:AE:6C:CA:F1:EC:1C:98:53:2D:26:9C:70:25:5C:05:1A:76:D8:E1:CD:9B:A8:55:07:4F:01:E7:95:C2:48:06:52:4F:6C:54:94:CD:FA:6D:06:F0:94:2A:55:57:B2:80:88:76:AB:42:DD:46:22:B2:B7:DF:13:9C:75:E8:43:97:65:90:69:2C:79:5A:E8:A5:1E:4B:FA:26:6E:38:03:BF:DE:17:7D:B8:90:6B:60:4B:F0:F3:A1:25:F4:80:CA:D7:6A:F0:32:D6:76:F0:19:53:06:32:16:25:8C:3A:84:C6:5F:F5:81:75:A6:D1:0C:07:5B:5D:FC:C2:9E:B4:EF:D3:C1:52:C8:E2:37:AF:D2:93:3D:46:04:58:9F:88:F2:30:9C:6E:A6:B8:63:79:08:8B:82:0A:A1:E3:DA:1B:0F:26:94:67:31:26:13:F1:C0:84:7E:C5:4C:04:43:51:4F:EC:F7:AB:F1:7A:C9" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122757Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.407) 0:00:20.127 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "61:86:FA:B0:84:24:BE:94:83:10:7A:D0:88:42:1E:5E:4E:4F:6E:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:A9:2E:D4:B2:38:44:3A:2E:31:51:4B:00:BE:59:9B:DF:65:41:B6:65:EA:FE:DD:4E:B7:D1:74:4A:9D:CC:ED:4D:5F:2A:59:63:6D:8D:53:5F:4F:AD:E3:82:63:E9:D7:68:50:47:68:F2:D1:DB:C4:6A:92:B3:55:21:9A:A8:01:6C:70:DD:22:A0:EE:D7:C2:9B:08:F1:D3:AE:6C:CA:F1:EC:1C:98:53:2D:26:9C:70:25:5C:05:1A:76:D8:E1:CD:9B:A8:55:07:4F:01:E7:95:C2:48:06:52:4F:6C:54:94:CD:FA:6D:06:F0:94:2A:55:57:B2:80:88:76:AB:42:DD:46:22:B2:B7:DF:13:9C:75:E8:43:97:65:90:69:2C:79:5A:E8:A5:1E:4B:FA:26:6E:38:03:BF:DE:17:7D:B8:90:6B:60:4B:F0:F3:A1:25:F4:80:CA:D7:6A:F0:32:D6:76:F0:19:53:06:32:16:25:8C:3A:84:C6:5F:F5:81:75:A6:D1:0C:07:5B:5D:FC:C2:9E:B4:EF:D3:C1:52:C8:E2:37:AF:D2:93:3D:46:04:58:9F:88:F2:30:9C:6E:A6:B8:63:79:08:8B:82:0A:A1:E3:DA:1B:0F:26:94:67:31:26:13:F1:C0:84:7E:C5:4C:04:43:51:4F:EC:F7:AB:F1:7A:C9" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122757Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.050) 0:00:20.177 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.062) 0:00:20.240 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.048) 0:00:20.288 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.074) 0:00:20.362 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.066) 0:00:20.429 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.052) 0:00:20.481 ***** 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.036494", "end": "2024-12-14 07:28:04.790449", "rc": 0, "start": "2024-12-14 07:28:04.753955" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.390) 0:00:20.872 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 14 December 2024 07:28:04 -0500 (0:00:00.074) 0:00:20.946 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.905) 0:00:21.852 ***** included: /tmp/collections-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.017) 0:00:21.870 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.033) 0:00:21.903 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.019) 0:00:21.922 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.017) 0:00:21.940 ***** 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-0Wo/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-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 14 December 2024 07:28:05 -0500 (0:00:00.041) 0:00:21.982 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 14 December 2024 07:28:06 -0500 (0:00:00.730) 0:00:22.712 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 14 December 2024 07:28:07 -0500 (0:00:00.741) 0:00:23.454 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 14 December 2024 07:28:07 -0500 (0:00:00.382) 0:00:23.837 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 14 December 2024 07:28:08 -0500 (0:00:00.397) 0:00:24.235 ***** 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-12-14 07:27:55 EST", "ActiveEnterTimestampMonotonic": "269562319", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service network.target sysinit.target system.slice syslog.target dbus.socket basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 07:27:55 EST", "AssertTimestampMonotonic": "269539917", "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": "587749000", "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-12-14 07:27:55 EST", "ConditionTimestampMonotonic": "269539914", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4852", "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": "3698241536", "EffectiveMemoryMax": "3698241536", "EffectiveTasksMax": "22361", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-12-14 07:27:55 EST", "ExecMainHandoffTimestampMonotonic": "269549775", "ExecMainPID": "9431", "ExecMainStartTimestamp": "Sat 2024-12-14 07:27:55 EST", "ExecMainStartTimestampMonotonic": "269540936", "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-12-14 07:27:55 EST] ; stop_time=[n/a] ; pid=9431 ; 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-12-14 07:27:55 EST] ; stop_time=[n/a] ; pid=9431 ; 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-12-14 07:27:55 EST", "InactiveExitTimestampMonotonic": "269543395", "InvocationID": "3f63db019afd43d3b2cd1850eda453be", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9431", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3260219392", "MemoryCurrent": "2654208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "12558336", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-12-14 07:27:55 EST", "StateChangeTimestampMonotonic": "269562319", "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": "22361", "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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 14 December 2024 07:28:08 -0500 (0:00:00.570) 0:00:24.805 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 14 December 2024 07:28:10 -0500 (0:00:01.631) 0:00:26.437 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 14 December 2024 07:28:10 -0500 (0:00:00.089) 0:00:26.526 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 14 December 2024 07:28:10 -0500 (0:00:00.064) 0:00:26.590 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 14 December 2024 07:28:10 -0500 (0:00:00.054) 0:00:26.644 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 14 December 2024 07:28:10 -0500 (0:00:00.060) 0:00:26.705 ***** ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.876) 0:00:27.581 ***** included: /tmp/collections-0Wo/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-0Wo/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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.100) 0:00:27.681 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.029) 0:00:27.711 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.032) 0:00:27.743 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.030) 0:00:27.773 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 14 December 2024 07:28:11 -0500 (0:00:00.022) 0:00:27.796 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 14 December 2024 07:28:12 -0500 (0:00:00.717) 0:00:28.513 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179289.4611447, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "aefa8e0a590402bf1cc95667f56062edcdd15a57", "ctime": 1734179289.5131452, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4459634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1734179289.4581447, "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": "733951521", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 14 December 2024 07:28:12 -0500 (0:00:00.354) 0:00:28.867 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 14 December 2024 07:28:12 -0500 (0:00:00.025) 0:00:28.893 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 14 December 2024 07:28:12 -0500 (0:00:00.046) 0:00:28.940 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 14 December 2024 07:28:12 -0500 (0:00:00.041) 0:00:28.981 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179289.4181445, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "72216ad8cd105ab27af1c48c8f88f24f926f009d", "ctime": 1734179289.5141451, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 257852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1734179289.4581447, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "2885353224", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.348) 0:00:29.330 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.036) 0:00:29.367 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.076) 0:00:29.444 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "F2:C6:B2:56:DA:0A:90:41:02:02:FC:95:6F:A8:9D:FB:CC:75:A7:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "22:73:97:95:12:E6:45:4E:1D:4E:DA:1C:77:F1:EC:3D:4A:5B:AE:5E:A9:B7:36:07:62:A1:AD:A4:32:00:EC:ED:0A:19:7E:CC:3C:8C:E4:15:4D:00:CC:20:E1:32:50:DC:B3:0F:7C:01:FB:90:5E:44:31:76:D3:3E:1B:CA:40:A6:56:D8:5E:E9:80:81:60:8C:D6:E4:DA:20:43:9F:AC:AA:82:F1:DC:E0:49:83:9F:91:B5:51:3B:F4:3D:FA:40:BC:48:C0:D3:13:73:17:F1:49:03:8B:02:4C:90:2E:0B:24:D1:84:FA:D0:66:38:65:81:1A:7C:34:51:EB:16:1B:ED:52:62:59:E4:35:7D:20:40:4E:6A:86:6E:CB:17:16:26:CB:B8:07:40:7E:E5:E0:04:EF:AC:1E:73:E1:E0:E6:C8:42:34:AC:FA:D4:BC:EA:8D:32:C1:50:CA:0B:36:85:64:95:81:64:DC:1C:DF:BA:88:7C:32:D3:7C:4D:C5:3A:E0:B7:0D:37:D6:F5:8A:2C:FD:D9:ED:56:80:4F:7E:0D:9C:26:6E:38:A2:BB:A7:8A:78:3D:67:85:15:0B:87:3D:4E:AA:B8:0B:0F:03:91:3A:68:3C:6D:03:3C:1C:A7:3A:68:8F:BF:5E:57:63:7A:F8:91:B9:31:27:D2:4C:DA:37:A3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122809Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.395) 0:00:29.840 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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": "F2:C6:B2:56:DA:0A:90:41:02:02:FC:95:6F:A8:9D:FB:CC:75:A7:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "22:73:97:95:12:E6:45:4E:1D:4E:DA:1C:77:F1:EC:3D:4A:5B:AE:5E:A9:B7:36:07:62:A1:AD:A4:32:00:EC:ED:0A:19:7E:CC:3C:8C:E4:15:4D:00:CC:20:E1:32:50:DC:B3:0F:7C:01:FB:90:5E:44:31:76:D3:3E:1B:CA:40:A6:56:D8:5E:E9:80:81:60:8C:D6:E4:DA:20:43:9F:AC:AA:82:F1:DC:E0:49:83:9F:91:B5:51:3B:F4:3D:FA:40:BC:48:C0:D3:13:73:17:F1:49:03:8B:02:4C:90:2E:0B:24:D1:84:FA:D0:66:38:65:81:1A:7C:34:51:EB:16:1B:ED:52:62:59:E4:35:7D:20:40:4E:6A:86:6E:CB:17:16:26:CB:B8:07:40:7E:E5:E0:04:EF:AC:1E:73:E1:E0:E6:C8:42:34:AC:FA:D4:BC:EA:8D:32:C1:50:CA:0B:36:85:64:95:81:64:DC:1C:DF:BA:88:7C:32:D3:7C:4D:C5:3A:E0:B7:0D:37:D6:F5:8A:2C:FD:D9:ED:56:80:4F:7E:0D:9C:26:6E:38:A2:BB:A7:8A:78:3D:67:85:15:0B:87:3D:4E:AA:B8:0B:0F:03:91:3A:68:3C:6D:03:3C:1C:A7:3A:68:8F:BF:5E:57:63:7A:F8:91:B9:31:27:D2:4C:DA:37:A3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122809Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.022) 0:00:29.862 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.039) 0:00:29.902 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.018) 0:00:29.921 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.035) 0:00:29.956 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 14 December 2024 07:28:13 -0500 (0:00:00.039) 0:00:29.996 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.038) 0:00:30.035 ***** 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.038796", "end": "2024-12-14 07:28:14.331849", "rc": 0, "start": "2024-12-14 07:28:14.293053" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.392) 0:00:30.427 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.077) 0:00:30.505 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.019) 0:00:30.524 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.024) 0:00:30.549 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.018) 0:00:30.568 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 14 December 2024 07:28:14 -0500 (0:00:00.018) 0:00:30.587 ***** 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-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 14 December 2024 07:28:15 -0500 (0:00:00.697) 0:00:31.284 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179290.284151, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6ffbe79487acf14c9bf9db41e822f79ba10d9459", "ctime": 1734179290.282151, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4459635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734179290.282151, "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": "1170608867", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 14 December 2024 07:28:15 -0500 (0:00:00.351) 0:00:31.636 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 14 December 2024 07:28:15 -0500 (0:00:00.054) 0:00:31.690 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 14 December 2024 07:28:15 -0500 (0:00:00.119) 0:00:31.810 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 14 December 2024 07:28:15 -0500 (0:00:00.066) 0:00:31.876 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734179290.2401507, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dd682bb7be725217e21a8e730fea02272977d66e", "ctime": 1734179290.282151, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257853, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734179290.282151, "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": "3777223399", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.379) 0:00:32.256 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.021) 0:00:32.278 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.054) 0:00:32.333 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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:23:04:D7:0A:8F:61:D3:A7:59:75:56:8A:4D:6B:0D:4A:C2:32:80" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1C:44:0F:E7:93:D7:FD:45:78:B6:A3:99:D1:61:83:04:D7:65:03:57:10:A6:D9:93:56:1D:14:CB:6A:39:B8:2E:EA:B6:C2:54:A8:94:F8:20:45:8B:67:AD:62:FC:33:B1:92:34:36:AE:8F:A4:8F:94:1C:5C:4A:42:EA:EA:90:39:F5:3B:F2:AF:B6:B4:E0:D4:68:44:A8:74:15:C6:C2:AD:CB:31:35:B0:D6:21:17:EC:8C:C1:8D:B9:B0:D1:3F:17:11:70:5B:04:F7:BE:CB:09:70:95:C4:9A:DB:6D:3C:3E:48:4A:5F:FB:B3:75:88:0A:6E:FA:C2:80:7F:30:C7:8B:9D:63:43:EF:1F:C3:9B:89:C8:CB:1D:27:23:B8:9F:10:27:15:D2:DA:A9:4C:94:00:DA:B1:61:52:8A:C4:3C:DA:0A:EE:6B:DC:00:C8:A3:4B:84:CA:9C:2C:13:AA:7B:54:47:DF:FD:7C:FC:24:09:DB:BC:F8:90:7E:F9:26:F2:71:FC:C7:E2:3A:E5:14:D8:3F:CF:42:D3:66:67:1B:7C:77:37:F9:DF:7E:B0:77:00:0E:A3:A6:C0:10:74:A0:FC:47:D2:E2:EA:ED:B2:0D:96:EE:91:8C:0D:F4:B2:27:C2:10:00:75:DD:8C:D2:6F:B1:2A:59:18:06:39:BF:0D:6B:1F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122810Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.396) 0:00:32.729 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:3B:92:C9:F6:9D:7D:F0:59:84:93:4E:16:AB:40:78:15:87:60:EF" }, "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:23:04:D7:0A:8F:61:D3:A7:59:75:56:8A:4D:6B:0D:4A:C2:32:80" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1C:44:0F:E7:93:D7:FD:45:78:B6:A3:99:D1:61:83:04:D7:65:03:57:10:A6:D9:93:56:1D:14:CB:6A:39:B8:2E:EA:B6:C2:54:A8:94:F8:20:45:8B:67:AD:62:FC:33:B1:92:34:36:AE:8F:A4:8F:94:1C:5C:4A:42:EA:EA:90:39:F5:3B:F2:AF:B6:B4:E0:D4:68:44:A8:74:15:C6:C2:AD:CB:31:35:B0:D6:21:17:EC:8C:C1:8D:B9:B0:D1:3F:17:11:70:5B:04:F7:BE:CB:09:70:95:C4:9A:DB:6D:3C:3E:48:4A:5F:FB:B3:75:88:0A:6E:FA:C2:80:7F:30:C7:8B:9D:63:43:EF:1F:C3:9B:89:C8:CB:1D:27:23:B8:9F:10:27:15:D2:DA:A9:4C:94:00:DA:B1:61:52:8A:C4:3C:DA:0A:EE:6B:DC:00:C8:A3:4B:84:CA:9C:2C:13:AA:7B:54:47:DF:FD:7C:FC:24:09:DB:BC:F8:90:7E:F9:26:F2:71:FC:C7:E2:3A:E5:14:D8:3F:CF:42:D3:66:67:1B:7C:77:37:F9:DF:7E:B0:77:00:0E:A3:A6:C0:10:74:A0:FC:47:D2:E2:EA:ED:B2:0D:96:EE:91:8C:0D:F4:B2:27:C2:10:00:75:DD:8C:D2:6F:B1:2A:59:18:06:39:BF:0D:6B:1F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251214122755Z", "not_valid_before": "20241214122810Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.022) 0:00:32.752 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.053) 0:00:32.806 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.055) 0:00:32.861 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.062) 0:00:32.923 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 14 December 2024 07:28:16 -0500 (0:00:00.059) 0:00:32.982 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 14 December 2024 07:28:17 -0500 (0:00:00.059) 0:00:33.042 ***** 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.039343", "end": "2024-12-14 07:28:17.352916", "rc": 0, "start": "2024-12-14 07:28:17.313573" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 14 December 2024 07:28:17 -0500 (0:00:00.383) 0:00:33.425 ***** 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 TASKS RECAP ******************************************************************** Saturday 14 December 2024 07:28:17 -0500 (0:00:00.034) 0:00:33.460 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.67s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.37s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.88s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.63s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.26s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.26s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Ensure python3 is installed --------------------------------------------- 0.85s /tmp/collections-0Wo/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.74s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 0.73s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 0.73s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.72s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.71s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.70s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure user exists ------------------------------------------------------ 0.65s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.57s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-0Wo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86