ansible-playbook [core 2.17.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-VIN executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-VIN/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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Monday 11 November 2024 20:16:16 -0500 (0:00:00.022) 0:00:00.022 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Monday 11 November 2024 20:16:18 -0500 (0:00:01.213) 0:00:01.236 ******* changed: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Monday 11 November 2024 20:16:18 -0500 (0:00:00.882) 0:00:02.118 ******* changed: [managed-node2] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Monday 11 November 2024 20:16:19 -0500 (0:00:00.668) 0:00:02.787 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 11 November 2024 20:16:20 -0500 (0:00:00.952) 0:00:03.739 ******* included: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 11 November 2024 20:16:20 -0500 (0:00:00.021) 0:00:03.761 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Monday 11 November 2024 20:16:20 -0500 (0:00:00.072) 0:00:03.833 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Monday 11 November 2024 20:16:21 -0500 (0:00:00.675) 0:00:04.509 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Monday 11 November 2024 20:16:21 -0500 (0:00:00.038) 0:00:04.548 ******* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Monday 11 November 2024 20:16:21 -0500 (0:00:00.059) 0:00:04.607 ******* ok: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Monday 11 November 2024 20:16:23 -0500 (0:00:01.737) 0:00:06.345 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Monday 11 November 2024 20:16:24 -0500 (0:00:01.588) 0:00:07.933 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Monday 11 November 2024 20:16:25 -0500 (0:00:00.696) 0:00:08.630 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Monday 11 November 2024 20:16:25 -0500 (0:00:00.449) 0:00:09.080 ******* ok: [managed-node2] => (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": "Mon 2024-11-11 20:16:08 EST", "ActiveEnterTimestampMonotonic": "281710797", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target dbus.socket system.slice basic.target systemd-journald.socket sysinit.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:16:08 EST", "AssertTimestampMonotonic": "281573440", "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": "539193000", "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": "Mon 2024-11-11 20:16:08 EST", "ConditionTimestampMonotonic": "281573437", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5508", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4032", "ExecMainStartTimestamp": "Mon 2024-11-11 20:16:08 EST", "ExecMainStartTimestampMonotonic": "281582156", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:16:08 EST] ; stop_time=[n/a] ; pid=4032 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Mon 2024-11-11 20:16:08 EST] ; stop_time=[n/a] ; pid=4032 ; 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": "Mon 2024-11-11 20:16:08 EST", "InactiveExitTimestampMonotonic": "281583310", "InvocationID": "782fb97a70f0466aa9ff71d4bafba61a", "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": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4032", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3515740160", "MemoryCurrent": "3563520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "19927040", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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", "StateChangeTimestamp": "Mon 2024-11-11 20:16:08 EST", "StateChangeTimestampMonotonic": "281710797", "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": "4415", "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Monday 11 November 2024 20:16:26 -0500 (0:00:00.845) 0:00:09.926 ******* changed: [managed-node2] => (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-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Monday 11 November 2024 20:16:28 -0500 (0:00:01.823) 0:00:11.749 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Monday 11 November 2024 20:16:28 -0500 (0:00:00.135) 0:00:11.885 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Monday 11 November 2024 20:16:28 -0500 (0:00:00.060) 0:00:11.945 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Monday 11 November 2024 20:16:28 -0500 (0:00:00.063) 0:00:12.008 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Monday 11 November 2024 20:16:28 -0500 (0:00:00.077) 0:00:12.085 ******* ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Monday 11 November 2024 20:16:29 -0500 (0:00:00.927) 0:00:13.013 ******* included: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:16:29 -0500 (0:00:00.091) 0:00:13.104 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:16:29 -0500 (0:00:00.027) 0:00:13.132 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:16:29 -0500 (0:00:00.032) 0:00:13.165 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:16:30 -0500 (0:00:00.031) 0:00:13.197 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:16:30 -0500 (0:00:00.025) 0:00:13.222 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:16:31 -0500 (0:00:01.569) 0:00:14.792 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374187.524612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7a1abc1fdae2cd4ff58768b659e280fa42ab0fa4", "ctime": 1731374187.6456113, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 1493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1731374187.5206118, "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": "440643549", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:16:32 -0500 (0:00:00.459) 0:00:15.251 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:16:32 -0500 (0:00:00.038) 0:00:15.290 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:16:32 -0500 (0:00:00.046) 0:00:15.336 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:16:32 -0500 (0:00:00.040) 0:00:15.377 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374187.4346123, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "83108f3a0aca972b09c348feff5eaa2e3b12614c", "ctime": 1731374187.6476114, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1731374187.5206118, "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": "3806202996", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:16:32 -0500 (0:00:00.425) 0:00:15.802 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:16:32 -0500 (0:00:00.033) 0:00:15.836 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:16:32 -0500 (0:00:00.055) 0:00:15.892 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "6F:5D:55:06:D9:69:A7:1A:F3:EA:E5:AA:FE:6A:C9:C5:FD:3C:25:5F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "69:E4:16:12:A8:08:59:E1:C7:E8:98:9A:5D:F8:AF:2A:D9:32:AC:D3:B5:48:6F:4B:84:1F:B0:A9:A0:82:5A:F2:95:8B:67:86:99:B5:23:7B:6F:1D:0C:C8:F1:6C:93:B6:4C:09:14:D8:5D:95:22:73:96:B9:0E:58:1F:1C:D7:FA:6C:F4:BC:01:A1:49:78:D4:B0:D6:4A:9B:8D:84:75:F7:1D:2D:44:40:BC:65:51:DE:F6:FB:C0:94:49:31:A2:68:94:6F:D8:AD:03:37:41:43:C7:95:C2:C2:06:7A:19:4A:A5:84:E3:95:E5:0A:F6:DA:40:30:6E:C0:B5:03:EE:6E:F4:DB:04:EA:1E:6B:7A:8E:C9:FF:73:C1:1D:80:28:46:5D:AD:5E:C7:3A:95:94:9B:60:11:F1:3F:F3:64:72:0B:73:63:AD:93:FA:AC:7A:6A:89:2B:D3:92:66:5B:73:65:EF:C5:49:4D:98:5C:25:99:55:72:AA:FF:3A:C9:33:A8:39:EB:F3:1F:10:8D:22:07:61:4C:23:B0:69:8F:EE:33:00:1E:73:24:E3:C7:AE:19:5E:93:CA:E8:A7:41:51:7F:2C:A0:75:15:82:81:EC:78:CE:A6:F3:C4:2C:31:30:B5:7E:F6:21:EE:6D:B4:F9:82:C0:B6:7C:C7:81:71:97:2D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011627Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:16:33 -0500 (0:00:00.541) 0:00:16.434 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "6F:5D:55:06:D9:69:A7:1A:F3:EA:E5:AA:FE:6A:C9:C5:FD:3C:25:5F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "69:E4:16:12:A8:08:59:E1:C7:E8:98:9A:5D:F8:AF:2A:D9:32:AC:D3:B5:48:6F:4B:84:1F:B0:A9:A0:82:5A:F2:95:8B:67:86:99:B5:23:7B:6F:1D:0C:C8:F1:6C:93:B6:4C:09:14:D8:5D:95:22:73:96:B9:0E:58:1F:1C:D7:FA:6C:F4:BC:01:A1:49:78:D4:B0:D6:4A:9B:8D:84:75:F7:1D:2D:44:40:BC:65:51:DE:F6:FB:C0:94:49:31:A2:68:94:6F:D8:AD:03:37:41:43:C7:95:C2:C2:06:7A:19:4A:A5:84:E3:95:E5:0A:F6:DA:40:30:6E:C0:B5:03:EE:6E:F4:DB:04:EA:1E:6B:7A:8E:C9:FF:73:C1:1D:80:28:46:5D:AD:5E:C7:3A:95:94:9B:60:11:F1:3F:F3:64:72:0B:73:63:AD:93:FA:AC:7A:6A:89:2B:D3:92:66:5B:73:65:EF:C5:49:4D:98:5C:25:99:55:72:AA:FF:3A:C9:33:A8:39:EB:F3:1F:10:8D:22:07:61:4C:23:B0:69:8F:EE:33:00:1E:73:24:E3:C7:AE:19:5E:93:CA:E8:A7:41:51:7F:2C:A0:75:15:82:81:EC:78:CE:A6:F3:C4:2C:31:30:B5:7E:F6:21:EE:6D:B4:F9:82:C0:B6:7C:C7:81:71:97:2D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011627Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:16:33 -0500 (0:00:00.020) 0:00:16.454 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:16:33 -0500 (0:00:00.043) 0:00:16.498 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:16:33 -0500 (0:00:00.021) 0:00:16.519 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:16:33 -0500 (0:00:00.043) 0:00:16.562 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:16:33 -0500 (0:00:00.044) 0:00:16.607 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:16:33 -0500 (0:00:00.044) 0:00:16.652 ******* ok: [managed-node2] => { "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.041535", "end": "2024-11-11 20:16:33.945637", "rc": 0, "start": "2024-11-11 20:16:33.904102" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:16:34 -0500 (0:00:00.528) 0:00:17.181 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:16:34 -0500 (0:00:00.047) 0:00:17.228 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:16:34 -0500 (0:00:00.016) 0:00:17.245 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:16:34 -0500 (0:00:00.032) 0:00:17.277 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:16:34 -0500 (0:00:00.031) 0:00:17.308 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:16:34 -0500 (0:00:00.024) 0:00:17.332 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:16:35 -0500 (0:00:01.573) 0:00:18.906 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374188.3656087, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b820953fa5f984277624eadf2f4cc305757de7fd", "ctime": 1731374188.4806082, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 1835, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1731374188.3616085, "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": "362111035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:16:36 -0500 (0:00:00.430) 0:00:19.336 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:16:36 -0500 (0:00:00.021) 0:00:19.358 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:16:36 -0500 (0:00:00.042) 0:00:19.401 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:16:36 -0500 (0:00:00.044) 0:00:19.445 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374188.313609, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "80dc8bee51a8d60e20c967d8d622e93474a7ffd9", "ctime": 1731374188.4806082, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 1813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1731374188.3616085, "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": "753969201", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:16:36 -0500 (0:00:00.430) 0:00:19.875 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:16:36 -0500 (0:00:00.021) 0:00:19.897 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:16:36 -0500 (0:00:00.070) 0:00:19.968 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "9F:DF:E4:CB:B4:F6:46:86:5F:B9:C6:E3:DC:8B:2A:5B:8D:DF:C5:0D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "94:9F:18:E8:7A:6C:37:70:7C:E2:36:C6:97:C9:16:42:B1:08:7E:70:2A:0A:0F:8B:C0:9A:A5:A0:72:58:07:97:AA:E6:19:1B:70:3A:9A:E7:AB:71:07:02:3C:12:D9:A7:00:1C:83:CD:44:34:D7:7B:9A:A5:FA:99:6D:14:F5:AC:B3:B1:93:C9:01:5A:79:41:40:12:46:86:6D:81:5D:7F:06:B8:92:9B:1C:CA:71:D3:8C:60:8E:DA:81:53:D7:B6:CC:89:F1:1B:3B:B7:7C:F3:22:32:30:17:89:F3:9B:A4:04:59:DC:BF:F3:3A:C4:5F:F1:0E:22:4E:BA:3A:7A:9F:D5:18:7D:22:57:C1:A5:43:72:87:F8:A0:06:83:8F:54:EB:98:50:EC:1C:0A:86:E5:3E:E2:17:7E:CE:84:F2:55:52:0E:B5:2A:7B:0E:8A:F8:D5:B2:5E:7C:C1:56:9D:98:D9:28:19:19:5A:7A:EC:3C:AD:1C:A6:F0:D4:AF:17:44:65:28:EE:DE:F1:7B:B5:A4:CC:84:B7:F7:16:B3:1A:BA:52:5A:F0:78:B0:C6:EC:A5:4C:B5:EB:D6:3B:C2:44:A7:02:61:B1:B6:7B:41:69:73:98:34:4C:8C:68:99:85:06:72:2A:DB:85:88:5F:24:4E:BE:DE:1E:94:50:24:90:CE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011628Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:16:37 -0500 (0:00:00.475) 0:00:20.443 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "9F:DF:E4:CB:B4:F6:46:86:5F:B9:C6:E3:DC:8B:2A:5B:8D:DF:C5:0D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "94:9F:18:E8:7A:6C:37:70:7C:E2:36:C6:97:C9:16:42:B1:08:7E:70:2A:0A:0F:8B:C0:9A:A5:A0:72:58:07:97:AA:E6:19:1B:70:3A:9A:E7:AB:71:07:02:3C:12:D9:A7:00:1C:83:CD:44:34:D7:7B:9A:A5:FA:99:6D:14:F5:AC:B3:B1:93:C9:01:5A:79:41:40:12:46:86:6D:81:5D:7F:06:B8:92:9B:1C:CA:71:D3:8C:60:8E:DA:81:53:D7:B6:CC:89:F1:1B:3B:B7:7C:F3:22:32:30:17:89:F3:9B:A4:04:59:DC:BF:F3:3A:C4:5F:F1:0E:22:4E:BA:3A:7A:9F:D5:18:7D:22:57:C1:A5:43:72:87:F8:A0:06:83:8F:54:EB:98:50:EC:1C:0A:86:E5:3E:E2:17:7E:CE:84:F2:55:52:0E:B5:2A:7B:0E:8A:F8:D5:B2:5E:7C:C1:56:9D:98:D9:28:19:19:5A:7A:EC:3C:AD:1C:A6:F0:D4:AF:17:44:65:28:EE:DE:F1:7B:B5:A4:CC:84:B7:F7:16:B3:1A:BA:52:5A:F0:78:B0:C6:EC:A5:4C:B5:EB:D6:3B:C2:44:A7:02:61:B1:B6:7B:41:69:73:98:34:4C:8C:68:99:85:06:72:2A:DB:85:88:5F:24:4E:BE:DE:1E:94:50:24:90:CE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011628Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:16:37 -0500 (0:00:00.021) 0:00:20.465 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:16:37 -0500 (0:00:00.043) 0:00:20.508 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:16:37 -0500 (0:00:00.021) 0:00:20.529 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:16:37 -0500 (0:00:00.043) 0:00:20.573 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:16:37 -0500 (0:00:00.045) 0:00:20.618 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:16:37 -0500 (0:00:00.044) 0:00:20.663 ******* ok: [managed-node2] => { "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.040887", "end": "2024-11-11 20:16:37.895291", "rc": 0, "start": "2024-11-11 20:16:37.854404" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:16:37 -0500 (0:00:00.466) 0:00:21.129 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Monday 11 November 2024 20:16:38 -0500 (0:00:00.050) 0:00:21.179 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 11 November 2024 20:16:38 -0500 (0:00:00.923) 0:00:22.103 ******* included: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 11 November 2024 20:16:38 -0500 (0:00:00.024) 0:00:22.128 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Monday 11 November 2024 20:16:38 -0500 (0:00:00.037) 0:00:22.165 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Monday 11 November 2024 20:16:39 -0500 (0:00:00.020) 0:00:22.186 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Monday 11 November 2024 20:16:39 -0500 (0:00:00.020) 0:00:22.206 ******* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Monday 11 November 2024 20:16:39 -0500 (0:00:00.041) 0:00:22.248 ******* ok: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Monday 11 November 2024 20:16:40 -0500 (0:00:01.534) 0:00:23.783 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Monday 11 November 2024 20:16:42 -0500 (0:00:01.619) 0:00:25.402 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Monday 11 November 2024 20:16:42 -0500 (0:00:00.493) 0:00:25.896 ******* ok: [managed-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Monday 11 November 2024 20:16:43 -0500 (0:00:00.470) 0:00:26.367 ******* ok: [managed-node2] => (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": "Mon 2024-11-11 20:16:08 EST", "ActiveEnterTimestampMonotonic": "281710797", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target dbus.socket system.slice basic.target systemd-journald.socket sysinit.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:16:08 EST", "AssertTimestampMonotonic": "281573440", "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": "882985000", "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": "Mon 2024-11-11 20:16:08 EST", "ConditionTimestampMonotonic": "281573437", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5508", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4032", "ExecMainStartTimestamp": "Mon 2024-11-11 20:16:08 EST", "ExecMainStartTimestampMonotonic": "281582156", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:16:08 EST] ; stop_time=[n/a] ; pid=4032 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Mon 2024-11-11 20:16:08 EST] ; stop_time=[n/a] ; pid=4032 ; 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": "Mon 2024-11-11 20:16:08 EST", "InactiveExitTimestampMonotonic": "281583310", "InvocationID": "782fb97a70f0466aa9ff71d4bafba61a", "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": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4032", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3478196224", "MemoryCurrent": "4280320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "19927040", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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", "StateChangeTimestamp": "Mon 2024-11-11 20:16:08 EST", "StateChangeTimestampMonotonic": "281710797", "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": "4415", "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Monday 11 November 2024 20:16:43 -0500 (0:00:00.660) 0:00:27.027 ******* changed: [managed-node2] => (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-node2] => (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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Monday 11 November 2024 20:16:45 -0500 (0:00:01.786) 0:00:28.813 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Monday 11 November 2024 20:16:45 -0500 (0:00:00.074) 0:00:28.887 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Monday 11 November 2024 20:16:45 -0500 (0:00:00.042) 0:00:28.930 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Monday 11 November 2024 20:16:45 -0500 (0:00:00.038) 0:00:28.969 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Monday 11 November 2024 20:16:45 -0500 (0:00:00.047) 0:00:29.016 ******* ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Monday 11 November 2024 20:16:46 -0500 (0:00:00.902) 0:00:29.919 ******* included: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:16:46 -0500 (0:00:00.050) 0:00:29.970 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:16:46 -0500 (0:00:00.017) 0:00:29.987 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:16:46 -0500 (0:00:00.020) 0:00:30.008 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:16:46 -0500 (0:00:00.019) 0:00:30.028 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:16:46 -0500 (0:00:00.015) 0:00:30.043 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:16:48 -0500 (0:00:01.536) 0:00:31.579 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374204.538546, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c1012bd47fd0b1006e83708141eed2b7244216de", "ctime": 1731374204.6775455, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 1837, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1731374204.5345461, "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": "744163799", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:16:48 -0500 (0:00:00.406) 0:00:31.986 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:16:48 -0500 (0:00:00.022) 0:00:32.008 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:16:48 -0500 (0:00:00.072) 0:00:32.081 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:16:48 -0500 (0:00:00.069) 0:00:32.151 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374204.4855464, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b55317c5ce119b504f5b2e200bb2195d654b53b", "ctime": 1731374204.6795456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 1836, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1731374204.5345461, "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": "2392320062", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:16:49 -0500 (0:00:00.412) 0:00:32.563 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:16:49 -0500 (0:00:00.020) 0:00:32.584 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:16:49 -0500 (0:00:00.044) 0:00:32.628 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "19:72:C1:96:E5:3D:02:46:89:8F:78:20:6E:0B:48:95:E4:9D:33:FE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:87:39:36:28:9C:85:EE:99:6E:25:58:B2:A9:C2:76:3B:80:E8:DC:45:40:DB:5D:A1:D7:92:40:9B:68:5B:A3:61:8A:5F:0B:61:7B:D6:79:DF:4E:99:F9:41:62:9B:E4:6F:C2:E2:4F:64:6A:ED:F4:27:3E:A0:E4:3B:72:AE:3B:5F:76:50:DC:27:DF:8A:90:D1:11:7C:F6:8E:AF:77:0F:D7:C1:56:55:DF:14:5D:75:10:ED:C4:59:02:DD:72:89:5F:61:49:CE:2B:63:59:21:E0:6A:EF:01:7D:24:25:90:F9:2F:4C:E3:FC:27:2E:29:CE:BA:1F:6D:27:0C:2D:46:CC:B3:62:78:3D:58:71:2E:23:4A:69:5B:DE:6F:F4:2A:7C:04:15:F6:16:80:37:A8:B6:B2:E5:F0:53:AF:83:7E:94:AC:33:C2:E4:FC:A4:36:A5:A4:EC:8D:B9:92:04:BC:84:7F:47:AB:28:D4:57:29:79:FB:07:71:73:A0:C2:F2:B3:9F:54:C6:4F:B5:5F:9A:C2:D9:F2:06:82:10:5A:73:34:4C:6C:D5:D0:ED:C4:84:6C:94:21:03:A7:00:0B:20:EF:E3:0F:29:CA:0E:F4:B8:5F:FC:D9:51:82:22:3C:19:53:8E:58:84:6A:37:48:AB:78:D2:7D:B2:B5:CF:FB:C0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011644Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:16:49 -0500 (0:00:00.479) 0:00:33.107 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "19:72:C1:96:E5:3D:02:46:89:8F:78:20:6E:0B:48:95:E4:9D:33:FE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:87:39:36:28:9C:85:EE:99:6E:25:58:B2:A9:C2:76:3B:80:E8:DC:45:40:DB:5D:A1:D7:92:40:9B:68:5B:A3:61:8A:5F:0B:61:7B:D6:79:DF:4E:99:F9:41:62:9B:E4:6F:C2:E2:4F:64:6A:ED:F4:27:3E:A0:E4:3B:72:AE:3B:5F:76:50:DC:27:DF:8A:90:D1:11:7C:F6:8E:AF:77:0F:D7:C1:56:55:DF:14:5D:75:10:ED:C4:59:02:DD:72:89:5F:61:49:CE:2B:63:59:21:E0:6A:EF:01:7D:24:25:90:F9:2F:4C:E3:FC:27:2E:29:CE:BA:1F:6D:27:0C:2D:46:CC:B3:62:78:3D:58:71:2E:23:4A:69:5B:DE:6F:F4:2A:7C:04:15:F6:16:80:37:A8:B6:B2:E5:F0:53:AF:83:7E:94:AC:33:C2:E4:FC:A4:36:A5:A4:EC:8D:B9:92:04:BC:84:7F:47:AB:28:D4:57:29:79:FB:07:71:73:A0:C2:F2:B3:9F:54:C6:4F:B5:5F:9A:C2:D9:F2:06:82:10:5A:73:34:4C:6C:D5:D0:ED:C4:84:6C:94:21:03:A7:00:0B:20:EF:E3:0F:29:CA:0E:F4:B8:5F:FC:D9:51:82:22:3C:19:53:8E:58:84:6A:37:48:AB:78:D2:7D:B2:B5:CF:FB:C0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011644Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:16:49 -0500 (0:00:00.023) 0:00:33.131 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:16:49 -0500 (0:00:00.044) 0:00:33.175 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:16:50 -0500 (0:00:00.041) 0:00:33.217 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:16:50 -0500 (0:00:00.081) 0:00:33.299 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:16:50 -0500 (0:00:00.078) 0:00:33.377 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:16:50 -0500 (0:00:00.067) 0:00:33.444 ******* ok: [managed-node2] => { "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.043579", "end": "2024-11-11 20:16:50.646417", "rc": 0, "start": "2024-11-11 20:16:50.602838" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:16:50 -0500 (0:00:00.436) 0:00:33.880 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:16:50 -0500 (0:00:00.047) 0:00:33.928 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:16:50 -0500 (0:00:00.023) 0:00:33.952 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:16:50 -0500 (0:00:00.022) 0:00:33.974 ******* skipping: [managed-node2] => { "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-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:16:50 -0500 (0:00:00.023) 0:00:33.998 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:16:50 -0500 (0:00:00.016) 0:00:34.014 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:16:52 -0500 (0:00:01.562) 0:00:35.577 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374205.4215426, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "347f3f913f75f2f5dc0ed813a6087c01af83b221", "ctime": 1731374205.4175427, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731374205.4175427, "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": "2344708896", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:16:52 -0500 (0:00:00.418) 0:00:35.996 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:16:52 -0500 (0:00:00.022) 0:00:36.018 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:16:52 -0500 (0:00:00.044) 0:00:36.063 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:16:52 -0500 (0:00:00.044) 0:00:36.107 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731374205.368543, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d0dbbb2717af721b22256cf804b194a9093ccaf4", "ctime": 1731374205.4175427, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1840, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731374205.4175427, "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": "3783527934", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:16:53 -0500 (0:00:00.400) 0:00:36.507 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:16:53 -0500 (0:00:00.022) 0:00:36.530 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:16:53 -0500 (0:00:00.043) 0:00:36.573 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "B4:53:70:31:B0:23:07:3D:F6:6B:1D:03:4A:11:1B:60:79:54:99:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "76:C2:D3:DE:D1:A6:9D:F4:65:4B:2A:0D:B1:E6:DC:1C:62:F4:A9:25:64:9D:3E:36:5F:4A:C7:DF:34:F5:55:8D:A7:F0:85:46:E7:D1:3B:72:97:C2:3F:63:61:34:50:7D:70:79:FA:1B:17:BA:00:F4:09:C8:D9:6D:1C:DA:4E:96:E8:B6:6E:A3:B7:0B:B4:1B:56:C4:24:40:BE:5C:42:3E:7A:83:2E:C8:92:25:CE:3C:C0:EE:5F:31:90:FD:62:1C:B9:CF:7A:96:17:DD:31:52:F5:03:86:95:18:2A:07:37:3A:7E:13:19:93:2F:42:AA:7B:0F:FA:88:93:B9:4D:0A:10:D4:B1:0D:2E:8F:10:18:0F:A1:D3:0E:9E:CB:2B:93:27:3A:52:C1:5C:A7:45:EE:D1:B7:D4:06:A6:0E:34:7A:4E:47:10:5F:4A:2A:67:9A:52:71:50:BF:87:87:4D:A7:F2:68:7C:D5:34:C1:BF:95:15:E9:F9:33:A9:9C:5A:E9:37:37:95:37:24:75:C2:BB:49:A8:17:F2:F5:BB:B2:03:F8:BA:38:30:CC:BB:E5:56:F2:9F:52:4D:5C:80:6E:5A:50:6D:CE:32:C7:C3:ED:20:11:6E:3E:6F:F1:87:B8:27:8A:B2:74:9F:28:8C:99:57:27:51:42:2E:5F:41:47:85" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011645Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:16:53 -0500 (0:00:00.460) 0:00:37.034 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:B6:09:89:1C:A2:FA:4E:E7:A1:92:CF:50:EE:AB:F5:19:4E:C2:C4" }, "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": "B4:53:70:31:B0:23:07:3D:F6:6B:1D:03:4A:11:1B:60:79:54:99:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "76:C2:D3:DE:D1:A6:9D:F4:65:4B:2A:0D:B1:E6:DC:1C:62:F4:A9:25:64:9D:3E:36:5F:4A:C7:DF:34:F5:55:8D:A7:F0:85:46:E7:D1:3B:72:97:C2:3F:63:61:34:50:7D:70:79:FA:1B:17:BA:00:F4:09:C8:D9:6D:1C:DA:4E:96:E8:B6:6E:A3:B7:0B:B4:1B:56:C4:24:40:BE:5C:42:3E:7A:83:2E:C8:92:25:CE:3C:C0:EE:5F:31:90:FD:62:1C:B9:CF:7A:96:17:DD:31:52:F5:03:86:95:18:2A:07:37:3A:7E:13:19:93:2F:42:AA:7B:0F:FA:88:93:B9:4D:0A:10:D4:B1:0D:2E:8F:10:18:0F:A1:D3:0E:9E:CB:2B:93:27:3A:52:C1:5C:A7:45:EE:D1:B7:D4:06:A6:0E:34:7A:4E:47:10:5F:4A:2A:67:9A:52:71:50:BF:87:87:4D:A7:F2:68:7C:D5:34:C1:BF:95:15:E9:F9:33:A9:9C:5A:E9:37:37:95:37:24:75:C2:BB:49:A8:17:F2:F5:BB:B2:03:F8:BA:38:30:CC:BB:E5:56:F2:9F:52:4D:5C:80:6E:5A:50:6D:CE:32:C7:C3:ED:20:11:6E:3E:6F:F1:87:B8:27:8A:B2:74:9F:28:8C:99:57:27:51:42:2E:5F:41:47:85" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112011608Z", "not_valid_before": "20241112011645Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:16:53 -0500 (0:00:00.033) 0:00:37.067 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:16:53 -0500 (0:00:00.065) 0:00:37.132 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:16:53 -0500 (0:00:00.034) 0:00:37.167 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:16:54 -0500 (0:00:00.044) 0:00:37.212 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:16:54 -0500 (0:00:00.053) 0:00:37.265 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:16:54 -0500 (0:00:00.053) 0:00:37.318 ******* ok: [managed-node2] => { "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.044128", "end": "2024-11-11 20:16:54.517955", "rc": 0, "start": "2024-11-11 20:16:54.473827" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:16:54 -0500 (0:00:00.435) 0:00:37.754 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=101 changed=4 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Monday 11 November 2024 20:16:54 -0500 (0:00:00.040) 0:00:37.794 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.82s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.79s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.74s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.62s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.59s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.57s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.57s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.56s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.54s /tmp/collections-VIN/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.53s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Gathering Facts --------------------------------------------------------- 0.93s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Ensure user exists ------------------------------------------------------ 0.88s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.85s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.70s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.68s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Ensure group "somegroup" exists ----------------------------------------- 0.67s /tmp/collections-VIN/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9