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.13/site-packages/ansible ansible collection location = /tmp/collections-EIY executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) 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-EIY/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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 07 December 2024 07:38:51 -0500 (0:00:00.016) 0:00:00.017 ***** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 07 December 2024 07:38:52 -0500 (0:00:01.286) 0:00:01.303 ***** changed: [managed-node3] => { "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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 07 December 2024 07:38:53 -0500 (0:00:00.727) 0:00:02.031 ***** changed: [managed-node3] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 07 December 2024 07:38:53 -0500 (0:00:00.669) 0:00:02.700 ***** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 07 December 2024 07:38:54 -0500 (0:00:00.881) 0:00:03.581 ***** included: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 07 December 2024 07:38:54 -0500 (0:00:00.029) 0:00:03.611 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 07 December 2024 07:38:54 -0500 (0:00:00.036) 0:00:03.647 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 07 December 2024 07:38:55 -0500 (0:00:00.523) 0:00:04.171 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 07 December 2024 07:38:55 -0500 (0:00:00.024) 0:00:04.196 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node3] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 07 December 2024 07:38:55 -0500 (0:00:00.052) 0:00:04.249 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 07 December 2024 07:38:56 -0500 (0:00:01.404) 0:00:05.654 ***** changed: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.20-2.fc41.x86_64", "Installed: python3-packaging-24.1-2.fc41.noarch", "Installed: dbus-tools-1:1.14.10-4.fc41.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 07 December 2024 07:39:00 -0500 (0:00:03.484) 0:00:09.139 ***** changed: [managed-node3] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 07 December 2024 07:39:00 -0500 (0:00:00.702) 0:00:09.841 ***** changed: [managed-node3] => (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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 07 December 2024 07:39:01 -0500 (0:00:00.478) 0:00:10.320 ***** changed: [managed-node3] => (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": "basic.target network.target dbus-broker.service dbus.socket syslog.target systemd-journald.socket sysinit.target system.slice", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf /usr/lib/systemd/system/service.d/50-keep-warm.conf", "DynamicUser": "no", "EffectiveMemoryHigh": "3896733696", "EffectiveMemoryMax": "3896733696", "EffectiveTasksMax": "4421", "Environment": "SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0", "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": "14739", "LimitNPROCSoft": "14739", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14739", "LimitSIGPENDINGSoft": "14739", "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": "3515355136", "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": "4421", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 07 December 2024 07:39:02 -0500 (0:00:01.373) 0:00:11.694 ***** changed: [managed-node3] => (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-node3] => (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-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 07 December 2024 07:39:05 -0500 (0:00:02.463) 0:00:14.158 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 07 December 2024 07:39:05 -0500 (0:00:00.080) 0:00:14.238 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 07 December 2024 07:39:05 -0500 (0:00:00.042) 0:00:14.281 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 07 December 2024 07:39:05 -0500 (0:00:00.044) 0:00:14.326 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 07 December 2024 07:39:05 -0500 (0:00:00.060) 0:00:14.386 ***** ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.932) 0:00:15.318 ***** included: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.051) 0:00:15.370 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.015) 0:00:15.386 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.019) 0:00:15.405 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.019) 0:00:15.424 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 December 2024 07:39:06 -0500 (0:00:00.014) 0:00:15.438 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 December 2024 07:39:07 -0500 (0:00:01.313) 0:00:16.752 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575144.0311537, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e3d951d5cfbcd9d57d40866bd2455d315f273cb8", "ctime": 1733575144.1111531, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 3642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1733575144.0251539, "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": "4269644901", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 December 2024 07:39:08 -0500 (0:00:01.108) 0:00:17.861 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 December 2024 07:39:08 -0500 (0:00:00.020) 0:00:17.881 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 December 2024 07:39:08 -0500 (0:00:00.038) 0:00:17.920 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 December 2024 07:39:09 -0500 (0:00:00.036) 0:00:17.956 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575143.9721541, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a7ab9354fc2aec3ee64d7e55ef5eb572a0bcba36", "ctime": 1733575144.1131532, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 3641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1733575144.0241537, "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": "4064204636", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 December 2024 07:39:09 -0500 (0:00:00.424) 0:00:18.380 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 December 2024 07:39:09 -0500 (0:00:00.032) 0:00:18.413 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 December 2024 07:39:09 -0500 (0:00:00.036) 0:00:18.449 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "77:7A:F9:3F:2D:90:49:81:5B:73:E0:8B:8A:40:1E:A4:E5:9E:06:B1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "50:13:ED:9E:B8:C5:F8:0E:A7:B1:FE:55:89:BC:B8:1C:48:80:A5:73:05:B8:75:24:77:F7:AC:91:BB:8B:6B:15:A3:ED:F6:26:97:DB:74:C8:73:F2:3B:39:EF:B4:3E:1A:CB:B2:14:2D:A7:1F:64:95:9F:D7:DF:9F:94:CF:CA:27:73:A1:05:D0:82:4F:E0:5E:4D:02:32:BB:FB:92:05:8D:F0:6C:0E:43:FB:E7:4B:32:EC:5D:6D:2C:A4:57:02:86:C9:80:73:14:8D:F7:5E:C4:31:CA:A0:7C:BA:81:DF:74:E7:55:C6:FC:F6:4D:A3:CC:CB:D2:CB:56:8F:3D:DB:77:3A:81:25:36:14:F1:4A:D4:6F:88:EA:CD:47:9C:3F:53:E1:42:DF:89:B7:26:31:A6:58:E7:97:66:DA:F1:86:37:0F:2D:61:7D:72:09:A3:AD:D9:3C:F2:1D:26:DC:9E:5E:04:DA:1C:B6:C4:75:AE:1D:AD:35:18:11:5B:88:AD:2B:F8:E6:1B:87:DA:F0:51:05:E9:E5:60:AF:F6:5E:85:97:D3:C3:84:80:02:D5:66:C7:26:D5:4E:C6:94:83:97:F3:69:D2:8A:4E:F7:B1:B3:24:C8:8E:B0:AA:2A:50:1D:45:52:DD:FF:C8:36:F8:00:51:9D:B6:14:5A:F5:A0:89:81" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123904Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.531) 0:00:18.981 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "77:7A:F9:3F:2D:90:49:81:5B:73:E0:8B:8A:40:1E:A4:E5:9E:06:B1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "50:13:ED:9E:B8:C5:F8:0E:A7:B1:FE:55:89:BC:B8:1C:48:80:A5:73:05:B8:75:24:77:F7:AC:91:BB:8B:6B:15:A3:ED:F6:26:97:DB:74:C8:73:F2:3B:39:EF:B4:3E:1A:CB:B2:14:2D:A7:1F:64:95:9F:D7:DF:9F:94:CF:CA:27:73:A1:05:D0:82:4F:E0:5E:4D:02:32:BB:FB:92:05:8D:F0:6C:0E:43:FB:E7:4B:32:EC:5D:6D:2C:A4:57:02:86:C9:80:73:14:8D:F7:5E:C4:31:CA:A0:7C:BA:81:DF:74:E7:55:C6:FC:F6:4D:A3:CC:CB:D2:CB:56:8F:3D:DB:77:3A:81:25:36:14:F1:4A:D4:6F:88:EA:CD:47:9C:3F:53:E1:42:DF:89:B7:26:31:A6:58:E7:97:66:DA:F1:86:37:0F:2D:61:7D:72:09:A3:AD:D9:3C:F2:1D:26:DC:9E:5E:04:DA:1C:B6:C4:75:AE:1D:AD:35:18:11:5B:88:AD:2B:F8:E6:1B:87:DA:F0:51:05:E9:E5:60:AF:F6:5E:85:97:D3:C3:84:80:02:D5:66:C7:26:D5:4E:C6:94:83:97:F3:69:D2:8A:4E:F7:B1:B3:24:C8:8E:B0:AA:2A:50:1D:45:52:DD:FF:C8:36:F8:00:51:9D:B6:14:5A:F5:A0:89:81" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123904Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.020) 0:00:19.001 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.034) 0:00:19.036 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.020) 0:00:19.056 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.035) 0:00:19.092 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.048) 0:00:19.140 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.053) 0:00:19.194 ***** ok: [managed-node3] => { "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.039637", "end": "2024-12-07 07:39:10.782559", "rc": 0, "start": "2024-12-07 07:39:10.742922" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.574) 0:00:19.769 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.036) 0:00:19.805 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.020) 0:00:19.826 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.018) 0:00:19.844 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.025) 0:00:19.870 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 December 2024 07:39:10 -0500 (0:00:00.013) 0:00:19.884 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 December 2024 07:39:12 -0500 (0:00:01.371) 0:00:21.255 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575144.9411466, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e8e0dbff19a716e68706c7f240559d305fb5ee21", "ctime": 1733575145.145145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 3645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1733575144.901147, "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": "608661356", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 December 2024 07:39:12 -0500 (0:00:00.418) 0:00:21.674 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 December 2024 07:39:12 -0500 (0:00:00.039) 0:00:21.713 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 December 2024 07:39:12 -0500 (0:00:00.086) 0:00:21.800 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 December 2024 07:39:12 -0500 (0:00:00.053) 0:00:21.853 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575144.8461473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "591471a2ccb1d535373997d3cae793a0832d0f34", "ctime": 1733575145.145145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 3644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1733575144.901147, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "4206260521", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.441) 0:00:22.294 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.019) 0:00:22.314 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.034) 0:00:22.348 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "2C:8A:C5:AF:3B:A4:44:F0:8A:B4:F7:2B:47:B4:4E:82:E9:64:9A:85" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:7D:62:70:2C:EA:6E:E6:40:F8:2F:95:C9:CA:5A:2B:8D:B3:99:60:7B:F8:60:47:97:12:FC:22:B3:9D:0D:5B:8E:3C:04:B0:EC:D3:21:EF:03:44:0D:00:C0:CE:0A:27:5A:F1:B3:E5:ED:86:DC:A2:29:14:DB:15:A8:BA:0E:54:28:8C:90:58:33:E1:A5:5C:AC:C8:BE:B5:CC:A0:38:79:9F:25:33:33:98:19:F9:72:D0:DB:75:FD:67:FA:C4:02:B8:76:D6:C1:81:6D:8E:A1:B1:09:59:08:E7:80:15:D2:6D:29:35:65:4F:37:D5:CB:B5:A4:9E:50:DF:5D:CC:E2:46:96:E7:0A:6A:0B:CF:23:9A:DF:ED:FC:4B:58:7A:60:F7:55:5A:60:65:B0:CA:65:72:97:F3:DF:F5:57:28:4B:E7:1F:03:AA:27:C1:98:BA:00:BC:46:3D:A8:9B:40:B3:54:B3:AE:BC:0A:24:C9:E4:10:06:F7:11:76:EF:88:41:1D:81:05:08:DA:BC:5C:F4:0D:EE:A0:D5:4D:AE:E4:FF:2D:C0:17:CF:A0:83:86:28:3E:68:F2:2C:C1:66:F1:F0:78:81:B0:2F:10:81:BA:6A:15:2C:3D:29:57:96:72:B3:DE:14:E4:DA:BB:E6:0B:F9:28:B1:7E:6B:5B:8E:B6:96" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123904Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.443) 0:00:22.791 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "2C:8A:C5:AF:3B:A4:44:F0:8A:B4:F7:2B:47:B4:4E:82:E9:64:9A:85" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:7D:62:70:2C:EA:6E:E6:40:F8:2F:95:C9:CA:5A:2B:8D:B3:99:60:7B:F8:60:47:97:12:FC:22:B3:9D:0D:5B:8E:3C:04:B0:EC:D3:21:EF:03:44:0D:00:C0:CE:0A:27:5A:F1:B3:E5:ED:86:DC:A2:29:14:DB:15:A8:BA:0E:54:28:8C:90:58:33:E1:A5:5C:AC:C8:BE:B5:CC:A0:38:79:9F:25:33:33:98:19:F9:72:D0:DB:75:FD:67:FA:C4:02:B8:76:D6:C1:81:6D:8E:A1:B1:09:59:08:E7:80:15:D2:6D:29:35:65:4F:37:D5:CB:B5:A4:9E:50:DF:5D:CC:E2:46:96:E7:0A:6A:0B:CF:23:9A:DF:ED:FC:4B:58:7A:60:F7:55:5A:60:65:B0:CA:65:72:97:F3:DF:F5:57:28:4B:E7:1F:03:AA:27:C1:98:BA:00:BC:46:3D:A8:9B:40:B3:54:B3:AE:BC:0A:24:C9:E4:10:06:F7:11:76:EF:88:41:1D:81:05:08:DA:BC:5C:F4:0D:EE:A0:D5:4D:AE:E4:FF:2D:C0:17:CF:A0:83:86:28:3E:68:F2:2C:C1:66:F1:F0:78:81:B0:2F:10:81:BA:6A:15:2C:3D:29:57:96:72:B3:DE:14:E4:DA:BB:E6:0B:F9:28:B1:7E:6B:5B:8E:B6:96" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123904Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.030) 0:00:22.822 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.051) 0:00:22.873 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 December 2024 07:39:13 -0500 (0:00:00.029) 0:00:22.902 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 December 2024 07:39:14 -0500 (0:00:00.047) 0:00:22.949 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 December 2024 07:39:14 -0500 (0:00:00.036) 0:00:22.985 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 December 2024 07:39:14 -0500 (0:00:00.034) 0:00:23.020 ***** ok: [managed-node3] => { "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.038581", "end": "2024-12-07 07:39:14.462261", "rc": 0, "start": "2024-12-07 07:39:14.423680" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 December 2024 07:39:14 -0500 (0:00:00.422) 0:00:23.442 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 07 December 2024 07:39:14 -0500 (0:00:00.044) 0:00:23.487 ***** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.882) 0:00:24.370 ***** included: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.027) 0:00:24.397 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.043) 0:00:24.441 ***** skipping: [managed-node3] => { "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-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.027) 0:00:24.469 ***** skipping: [managed-node3] => { "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-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.027) 0:00:24.496 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node3] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 07 December 2024 07:39:15 -0500 (0:00:00.045) 0:00:24.541 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 07 December 2024 07:39:16 -0500 (0:00:01.327) 0:00:25.869 ***** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 07 December 2024 07:39:18 -0500 (0:00:01.261) 0:00:27.130 ***** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 07 December 2024 07:39:18 -0500 (0:00:00.439) 0:00:27.569 ***** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 07 December 2024 07:39:19 -0500 (0:00:00.451) 0:00:28.021 ***** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-12-07 07:39:02 EST", "ActiveEnterTimestampMonotonic": "930013543", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket sysinit.target basic.target system.slice syslog.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-07 07:39:02 EST", "AssertTimestampMonotonic": "929933046", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "794691000", "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-07 07:39:02 EST", "ConditionTimestampMonotonic": "929933042", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "6285", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf /usr/lib/systemd/system/service.d/50-keep-warm.conf", "DynamicUser": "no", "EffectiveMemoryHigh": "3896733696", "EffectiveMemoryMax": "3896733696", "EffectiveTasksMax": "4421", "Environment": "SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-12-07 07:39:02 EST", "ExecMainHandoffTimestampMonotonic": "929947809", "ExecMainPID": "6560", "ExecMainStartTimestamp": "Sat 2024-12-07 07:39:02 EST", "ExecMainStartTimestampMonotonic": "929934471", "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-07 07:39:02 EST] ; stop_time=[n/a] ; pid=6560 ; 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-07 07:39:02 EST] ; stop_time=[n/a] ; pid=6560 ; 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-07 07:39:02 EST", "InactiveExitTimestampMonotonic": "929937233", "InvocationID": "c7f6ba201bf647f49afcd6f22295aaed", "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": "14739", "LimitNPROCSoft": "14739", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14739", "LimitSIGPENDINGSoft": "14739", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6560", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3471880192", "MemoryCurrent": "3694592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "11583488", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-12-07 07:39:02 EST", "StateChangeTimestampMonotonic": "930013543", "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": "4421", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 07 December 2024 07:39:19 -0500 (0:00:00.593) 0:00:28.614 ***** changed: [managed-node3] => (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-node3] => (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-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 07 December 2024 07:39:21 -0500 (0:00:01.691) 0:00:30.305 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 07 December 2024 07:39:21 -0500 (0:00:00.049) 0:00:30.355 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 07 December 2024 07:39:21 -0500 (0:00:00.027) 0:00:30.382 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 07 December 2024 07:39:21 -0500 (0:00:00.028) 0:00:30.411 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 07 December 2024 07:39:21 -0500 (0:00:00.039) 0:00:30.450 ***** ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.903) 0:00:31.354 ***** included: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (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-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.047) 0:00:31.402 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.015) 0:00:31.417 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.018) 0:00:31.435 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.017) 0:00:31.452 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 December 2024 07:39:22 -0500 (0:00:00.012) 0:00:31.465 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 December 2024 07:39:23 -0500 (0:00:01.295) 0:00:32.761 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575160.4040241, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "27c67a9b192454ac648f4d0e08507e6b5d15e976", "ctime": 1733575160.5320232, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 3646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1733575160.3590245, "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": "3226180597", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.433) 0:00:33.194 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.030) 0:00:33.225 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.054) 0:00:33.280 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.050) 0:00:33.331 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575160.3120248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e34cfa920bb735b33159e0ad140afcb1c8c5436f", "ctime": 1733575160.5340233, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 3640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1733575160.3590245, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "2402296820", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.424) 0:00:33.756 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.019) 0:00:33.775 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 December 2024 07:39:24 -0500 (0:00:00.033) 0:00:33.809 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "2B:1D:C7:04:29:D8:07:6D:F3:40:7C:BA:F6:52:42:11:D6:9E:22:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8F:C3:EA:54:BE:E7:47:C4:DC:90:D4:34:FF:A1:E8:89:3C:37:C3:D4:A7:71:64:13:95:79:7C:E4:50:FA:1E:8A:95:78:86:AF:FF:59:F8:4F:61:9A:9A:3B:9B:89:F3:38:BC:A4:A0:96:4C:A9:6B:CE:1C:A5:72:C5:59:38:76:3B:71:FE:21:AC:11:CD:F3:73:1A:30:42:4E:6B:FB:2C:39:73:15:55:58:9C:85:C5:FE:67:BA:ED:35:67:FB:2C:7A:C8:85:3A:AD:5D:D5:D9:CC:17:3D:06:3E:20:D3:6D:46:9F:61:96:E2:1E:BE:24:84:50:B7:35:4A:01:BF:E2:31:39:75:77:AF:52:F2:75:86:FD:24:19:2D:12:25:66:55:B7:32:85:52:B4:5F:BA:A3:E2:F2:45:DC:4A:29:F5:30:92:75:31:1D:E2:6F:BB:B5:08:E4:EC:D3:6E:F7:A6:39:72:9B:45:F6:5D:7D:DD:DC:7D:67:F2:C9:20:63:1F:00:7D:17:59:78:C3:01:8E:11:29:7F:69:EB:A5:F8:03:70:60:35:CB:99:DB:06:81:B0:17:71:F9:52:D6:77:BF:54:54:15:11:91:F3:EE:65:67:38:CD:DE:FA:AA:5E:B4:26:68:C2:DC:A4:4A:F2:B4:07:74:A3:A8:E5:BA:C3:44:AF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123920Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.486) 0:00:34.295 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "2B:1D:C7:04:29:D8:07:6D:F3:40:7C:BA:F6:52:42:11:D6:9E:22:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8F:C3:EA:54:BE:E7:47:C4:DC:90:D4:34:FF:A1:E8:89:3C:37:C3:D4:A7:71:64:13:95:79:7C:E4:50:FA:1E:8A:95:78:86:AF:FF:59:F8:4F:61:9A:9A:3B:9B:89:F3:38:BC:A4:A0:96:4C:A9:6B:CE:1C:A5:72:C5:59:38:76:3B:71:FE:21:AC:11:CD:F3:73:1A:30:42:4E:6B:FB:2C:39:73:15:55:58:9C:85:C5:FE:67:BA:ED:35:67:FB:2C:7A:C8:85:3A:AD:5D:D5:D9:CC:17:3D:06:3E:20:D3:6D:46:9F:61:96:E2:1E:BE:24:84:50:B7:35:4A:01:BF:E2:31:39:75:77:AF:52:F2:75:86:FD:24:19:2D:12:25:66:55:B7:32:85:52:B4:5F:BA:A3:E2:F2:45:DC:4A:29:F5:30:92:75:31:1D:E2:6F:BB:B5:08:E4:EC:D3:6E:F7:A6:39:72:9B:45:F6:5D:7D:DD:DC:7D:67:F2:C9:20:63:1F:00:7D:17:59:78:C3:01:8E:11:29:7F:69:EB:A5:F8:03:70:60:35:CB:99:DB:06:81:B0:17:71:F9:52:D6:77:BF:54:54:15:11:91:F3:EE:65:67:38:CD:DE:FA:AA:5E:B4:26:68:C2:DC:A4:4A:F2:B4:07:74:A3:A8:E5:BA:C3:44:AF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123920Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.019) 0:00:34.314 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.031) 0:00:34.346 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.019) 0:00:34.365 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.033) 0:00:34.399 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.037) 0:00:34.436 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.036) 0:00:34.473 ***** ok: [managed-node3] => { "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.041748", "end": "2024-12-07 07:39:25.929567", "rc": 0, "start": "2024-12-07 07:39:25.887819" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 December 2024 07:39:25 -0500 (0:00:00.437) 0:00:34.911 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 December 2024 07:39:26 -0500 (0:00:00.034) 0:00:34.945 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 December 2024 07:39:26 -0500 (0:00:00.016) 0:00:34.962 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 December 2024 07:39:26 -0500 (0:00:00.017) 0:00:34.980 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 December 2024 07:39:26 -0500 (0:00:00.017) 0:00:34.997 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 December 2024 07:39:26 -0500 (0:00:00.013) 0:00:35.010 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 December 2024 07:39:27 -0500 (0:00:01.343) 0:00:36.354 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575161.2410176, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "86d590cf29852390c4a3d03b5189602d0b92b669", "ctime": 1733575161.2370176, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733575161.2370176, "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": "2890785682", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 December 2024 07:39:27 -0500 (0:00:00.401) 0:00:36.755 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 December 2024 07:39:27 -0500 (0:00:00.024) 0:00:36.779 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 December 2024 07:39:27 -0500 (0:00:00.037) 0:00:36.817 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 December 2024 07:39:27 -0500 (0:00:00.031) 0:00:36.848 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733575161.190018, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73ebbe2f0358c142f62271dab958c178e5a56944", "ctime": 1733575161.2370176, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733575161.2370176, "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": "141158093", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.396) 0:00:37.244 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.019) 0:00:37.264 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.044) 0:00:37.308 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "5E:94:2C:66:D4:86:BB:E1:C9:40:8F:68:17:85:3B:9C:C8:C6:27:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "75:AB:68:8B:33:1C:C0:0F:8A:CB:90:9A:E4:14:C5:4B:41:60:0D:CC:D8:A2:8B:07:9F:0F:14:04:58:0A:3D:82:CC:31:23:58:78:22:5D:57:CA:F5:A2:DB:DB:5D:49:DE:B3:98:35:25:E5:9D:00:85:B9:F3:A7:DB:3F:62:27:A5:A7:DF:5C:05:FC:72:59:51:A0:FE:E3:0C:9D:CB:0D:B0:53:A7:7B:58:78:7D:C9:04:98:DC:11:01:08:F8:84:79:29:A7:46:4B:22:7C:57:CF:2F:E6:90:43:E8:1C:C1:1C:11:7A:AF:2F:29:9C:A2:FF:4B:8D:F5:0C:28:C3:BF:4B:DE:6B:D7:8C:9D:6D:5A:AF:47:7D:1F:5D:0A:6D:AA:D7:B0:B2:4C:85:19:90:A4:EE:07:E3:22:A0:91:18:A3:E1:C1:7E:0C:65:A7:8E:D3:ED:56:0B:FB:13:BA:7B:1A:2B:46:6F:94:8F:84:E8:18:0F:AB:CA:52:73:C3:1B:FF:1F:4F:A4:7C:72:C3:D1:1A:47:72:F3:DF:37:12:F9:59:C4:88:A4:D2:90:7E:47:2F:18:EC:96:47:6D:4F:ED:44:AD:D5:6C:DB:CE:D6:A8:22:71:70:2E:98:BF:7F:D2:DF:0E:C2:1E:76:BB:9D:61:55:FF:80:4F:4B:1D:09:75:22:0F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123921Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.453) 0:00:37.762 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2E:6C:F7:F7:C2:30:15:50:71:83:D3:22:B4:D4:8A:55:85:61:B0:58" }, "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": "5E:94:2C:66:D4:86:BB:E1:C9:40:8F:68:17:85:3B:9C:C8:C6:27:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "75:AB:68:8B:33:1C:C0:0F:8A:CB:90:9A:E4:14:C5:4B:41:60:0D:CC:D8:A2:8B:07:9F:0F:14:04:58:0A:3D:82:CC:31:23:58:78:22:5D:57:CA:F5:A2:DB:DB:5D:49:DE:B3:98:35:25:E5:9D:00:85:B9:F3:A7:DB:3F:62:27:A5:A7:DF:5C:05:FC:72:59:51:A0:FE:E3:0C:9D:CB:0D:B0:53:A7:7B:58:78:7D:C9:04:98:DC:11:01:08:F8:84:79:29:A7:46:4B:22:7C:57:CF:2F:E6:90:43:E8:1C:C1:1C:11:7A:AF:2F:29:9C:A2:FF:4B:8D:F5:0C:28:C3:BF:4B:DE:6B:D7:8C:9D:6D:5A:AF:47:7D:1F:5D:0A:6D:AA:D7:B0:B2:4C:85:19:90:A4:EE:07:E3:22:A0:91:18:A3:E1:C1:7E:0C:65:A7:8E:D3:ED:56:0B:FB:13:BA:7B:1A:2B:46:6F:94:8F:84:E8:18:0F:AB:CA:52:73:C3:1B:FF:1F:4F:A4:7C:72:C3:D1:1A:47:72:F3:DF:37:12:F9:59:C4:88:A4:D2:90:7E:47:2F:18:EC:96:47:6D:4F:ED:44:AD:D5:6C:DB:CE:D6:A8:22:71:70:2E:98:BF:7F:D2:DF:0E:C2:1E:76:BB:9D:61:55:FF:80:4F:4B:1D:09:75:22:0F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251207123902Z", "not_valid_before": "20241207123921Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.019) 0:00:37.781 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.031) 0:00:37.813 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.019) 0:00:37.833 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.036) 0:00:37.869 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 December 2024 07:39:28 -0500 (0:00:00.039) 0:00:37.909 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 December 2024 07:39:29 -0500 (0:00:00.043) 0:00:37.952 ***** ok: [managed-node3] => { "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.040933", "end": "2024-12-07 07:39:29.409440", "rc": 0, "start": "2024-12-07 07:39:29.368507" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 December 2024 07:39:29 -0500 (0:00:00.448) 0:00:38.401 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=101 changed=8 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 07 December 2024 07:39:29 -0500 (0:00:00.056) 0:00:38.457 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.49s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.46s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.69s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.40s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.37s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 1.37s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.34s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.33s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 1.31s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.30s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.26s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Retrieve certificate file stats ----------------------------------------- 1.11s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Gathering Facts --------------------------------------------------------- 0.93s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Ensure user exists ------------------------------------------------------ 0.73s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.70s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure group "somegroup" exists ----------------------------------------- 0.67s /tmp/collections-EIY/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9