[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.E9uoWehZt4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Saturday 27 July 2024 08:41:57 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Ensure user exists] ****************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Saturday 27 July 2024 08:41:59 -0400 (0:00:01.355) 0:00:01.364 ********* changed: [managed_node1] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Saturday 27 July 2024 08:42:00 -0400 (0:00:00.935) 0:00:02.299 ********* changed: [managed_node1] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Saturday 27 July 2024 08:42:00 -0400 (0:00:00.785) 0:00:03.085 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 July 2024 08:42:01 -0400 (0:00:01.015) 0:00:04.101 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 July 2024 08:42:01 -0400 (0:00:00.021) 0:00:04.122 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 27 July 2024 08:42:02 -0400 (0:00:00.024) 0:00:04.147 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 27 July 2024 08:42:02 -0400 (0:00:00.519) 0:00:04.667 ********* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 27 July 2024 08:42:02 -0400 (0:00:00.025) 0:00:04.693 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 July 2024 08:42:02 -0400 (0:00:00.041) 0:00:04.735 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 27 July 2024 08:42:04 -0400 (0:00:02.186) 0:00:06.922 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 27 July 2024 08:42:06 -0400 (0:00:02.014) 0:00:08.936 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 27 July 2024 08:42:07 -0400 (0:00:00.561) 0:00:09.498 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 27 July 2024 08:42:07 -0400 (0:00:00.444) 0:00:09.942 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ActiveEnterTimestampMonotonic": "285555148", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket network.target basic.target dbus-broker.service system.slice sysinit.target syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:29:36 EDT", "AssertTimestampMonotonic": "285518681", "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": "68283642000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ConditionTimestampMonotonic": "285518677", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5090", "ControlPID": "0", "CoredumpFilter": "0x33", "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": "2410", "ExecMainStartTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ExecMainStartTimestampMonotonic": "285527546", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 08:29:36 EDT", "InactiveExitTimestampMonotonic": "285528125", "InvocationID": "6ec68ad02034405aae9bead40b066e84", "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": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "2410", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5505024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "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": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "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": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestamp": "Sat 2024-07-27 08:38:26 EDT", "StateChangeTimestampMonotonic": "815658678", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4426", "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/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 27 July 2024 08:42:08 -0400 (0:00:00.886) 0:00:10.828 ********* changed: [managed_node1] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [managed_node1] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 27 July 2024 08:42:10 -0400 (0:00:01.975) 0:00:12.804 ********* skipping: [managed_node1] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 27 July 2024 08:42:10 -0400 (0:00:00.050) 0:00:12.855 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 27 July 2024 08:42:10 -0400 (0:00:00.021) 0:00:12.877 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 27 July 2024 08:42:10 -0400 (0:00:00.023) 0:00:12.900 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Saturday 27 July 2024 08:42:10 -0400 (0:00:00.044) 0:00:12.945 ********* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.985) 0:00:13.930 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0640'}) included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/certid.crt', 'key_path': '/etc/pki/tls/private/certid.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 1040, 'group': 1041, 'mode': '0640'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.057) 0:00:13.987 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.017) 0:00:14.005 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.018) 0:00:14.023 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.020) 0:00:14.044 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:42:11 -0400 (0:00:00.014) 0:00:14.059 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:42:13 -0400 (0:00:02.009) 0:00:16.068 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084129.6363978, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6c658fd0f57085998256a41667684c91a9e6010f", "ctime": 1722084129.6903973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722084129.631398, "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": "486859729", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.423) 0:00:16.491 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.022) 0:00:16.514 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.029) 0:00:16.544 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.028) 0:00:16.572 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084129.5753984, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "42cd0b640e8d85e90a28893f4edb4378b17e741c", "ctime": 1722084129.6913972, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 204631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722084129.631398, "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": "518369079", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.420) 0:00:16.993 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.020) 0:00:17.013 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:42:14 -0400 (0:00:00.031) 0:00:17.045 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "0B:0F:FC:03:50:BA:C2:E3:9E:86:40:87:3D:23:73:27:43:FE:DA:AA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "60:1C:22:1A:3B:82:89:AA:D4:5D:FA:9C:53:A5:03:53:E0:0B:A9:A4:B2:89:63:13:1A:21:AE:D1:C1:27:F7:57:8C:7F:02:4E:1E:B5:C4:F1:A5:11:D2:12:CE:43:3B:DD:76:77:EA:F2:1D:03:A9:E3:55:65:27:1D:BA:8F:F5:C3:1D:7C:F4:CA:8F:14:C6:B8:29:95:F9:8B:76:9D:9A:59:0C:77:A9:83:F8:7D:58:F2:28:35:96:90:98:0B:4C:7C:6D:C2:30:59:6E:8A:FA:91:F2:45:8C:73:6F:42:EB:F9:E0:4E:97:8D:47:2D:98:08:33:AE:81:20:04:F5:29:B4:F6:6E:3C:A8:B7:49:DF:95:F3:3E:0F:9A:4B:EA:9D:C9:6B:02:ED:67:2E:80:EF:52:AF:04:7E:67:7F:60:63:68:B1:70:19:AD:06:B9:50:F6:DA:CF:AA:50:5A:C5:89:7F:37:22:9D:60:41:6C:86:60:89:08:61:69:A1:1E:87:02:09:FB:39:F9:AF:DA:6A:D1:E8:BC:1F:C5:06:45:65:94:D4:BB:88:EE:AA:A0:AA:55:07:73:B7:C2:36:23:79:29:8D:77:A3:99:A6:71:63:E5:FE:FD:96:6D:20:C6:66:17:FA:60:F2:0A:29:BD:0E:FE:19:2E:20:B0:F3:F6:53:CD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124209Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.593) 0:00:17.639 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "0B:0F:FC:03:50:BA:C2:E3:9E:86:40:87:3D:23:73:27:43:FE:DA:AA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "60:1C:22:1A:3B:82:89:AA:D4:5D:FA:9C:53:A5:03:53:E0:0B:A9:A4:B2:89:63:13:1A:21:AE:D1:C1:27:F7:57:8C:7F:02:4E:1E:B5:C4:F1:A5:11:D2:12:CE:43:3B:DD:76:77:EA:F2:1D:03:A9:E3:55:65:27:1D:BA:8F:F5:C3:1D:7C:F4:CA:8F:14:C6:B8:29:95:F9:8B:76:9D:9A:59:0C:77:A9:83:F8:7D:58:F2:28:35:96:90:98:0B:4C:7C:6D:C2:30:59:6E:8A:FA:91:F2:45:8C:73:6F:42:EB:F9:E0:4E:97:8D:47:2D:98:08:33:AE:81:20:04:F5:29:B4:F6:6E:3C:A8:B7:49:DF:95:F3:3E:0F:9A:4B:EA:9D:C9:6B:02:ED:67:2E:80:EF:52:AF:04:7E:67:7F:60:63:68:B1:70:19:AD:06:B9:50:F6:DA:CF:AA:50:5A:C5:89:7F:37:22:9D:60:41:6C:86:60:89:08:61:69:A1:1E:87:02:09:FB:39:F9:AF:DA:6A:D1:E8:BC:1F:C5:06:45:65:94:D4:BB:88:EE:AA:A0:AA:55:07:73:B7:C2:36:23:79:29:8D:77:A3:99:A6:71:63:E5:FE:FD:96:6D:20:C6:66:17:FA:60:F2:0A:29:BD:0E:FE:19:2E:20:B0:F3:F6:53:CD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124209Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.020) 0:00:17.659 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.027) 0:00:17.687 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.021) 0:00:17.708 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.025) 0:00:17.734 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.034) 0:00:17.768 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:42:15 -0400 (0:00:00.029) 0:00:17.797 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.101566", "end": "2024-07-27 08:42:16.239092", "rc": 0, "start": "2024-07-27 08:42:16.137526" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.622) 0:00:18.420 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.029) 0:00:18.449 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.020) 0:00:18.470 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.022) 0:00:18.492 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.019) 0:00:18.512 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:42:16 -0400 (0:00:00.014) 0:00:18.527 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:42:18 -0400 (0:00:02.001) 0:00:20.528 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084130.5723877, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "75f37c94b8a3943e9f5ded5a1a2f452c131ee2be", "ctime": 1722084130.6043875, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 205830, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722084130.5673878, "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": "2430944399", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:42:18 -0400 (0:00:00.425) 0:00:20.954 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:42:18 -0400 (0:00:00.021) 0:00:20.975 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:42:18 -0400 (0:00:00.033) 0:00:21.009 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:42:18 -0400 (0:00:00.028) 0:00:21.038 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084130.5093884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "788dee0093060bc27f8fe8d97691b9201c9095cf", "ctime": 1722084130.6053874, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 205828, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722084130.5673878, "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": "25516813", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.422) 0:00:21.461 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.022) 0:00:21.483 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.030) 0:00:21.513 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "47:DC:38:50:C9:AF:84:34:60:3E:0B:AE:C9:EA:93:95:DA:29:6E:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "10:D8:85:4D:09:DE:3B:B0:85:94:28:DA:C0:94:AC:B4:04:49:CB:8A:E1:A8:37:68:AE:DE:3D:38:2D:BE:FD:38:0C:C6:88:C3:90:65:84:F3:31:27:EF:39:9D:18:45:26:2A:02:77:57:AB:33:2B:B9:86:0E:B1:B5:AD:AA:CD:A5:09:D6:89:DC:EF:24:97:DE:19:A7:02:59:C0:13:D6:71:31:57:CB:D3:2F:A1:A2:35:1C:8D:9D:CB:41:88:82:65:18:76:86:30:CF:B8:A1:4E:C3:59:E4:A0:71:AE:C4:DA:D2:FC:AD:37:D4:71:95:7E:5F:DA:97:3B:07:6B:78:36:0F:A2:F2:70:3A:93:F1:A6:44:4C:DD:68:75:4D:94:4D:75:23:16:36:3E:73:24:73:0D:09:5C:DB:B6:66:44:15:B0:60:B1:CD:59:F7:66:C8:79:F6:77:7F:3F:C7:D3:48:E9:37:93:03:74:F8:22:94:D9:90:29:AD:E4:8C:C6:14:7D:F2:13:40:7B:18:1B:EC:4A:69:DE:FE:B3:59:25:75:17:1C:18:71:F6:7F:A8:7F:8E:21:14:C1:60:4F:3E:75:02:DD:33:4D:1E:A7:35:55:D7:38:28:3F:2A:29:D5:86:9D:10:B0:0B:2B:3C:45:A0:0C:36:AD:51:49:84:90:F3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124210Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.496) 0:00:22.009 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "47:DC:38:50:C9:AF:84:34:60:3E:0B:AE:C9:EA:93:95:DA:29:6E:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "10:D8:85:4D:09:DE:3B:B0:85:94:28:DA:C0:94:AC:B4:04:49:CB:8A:E1:A8:37:68:AE:DE:3D:38:2D:BE:FD:38:0C:C6:88:C3:90:65:84:F3:31:27:EF:39:9D:18:45:26:2A:02:77:57:AB:33:2B:B9:86:0E:B1:B5:AD:AA:CD:A5:09:D6:89:DC:EF:24:97:DE:19:A7:02:59:C0:13:D6:71:31:57:CB:D3:2F:A1:A2:35:1C:8D:9D:CB:41:88:82:65:18:76:86:30:CF:B8:A1:4E:C3:59:E4:A0:71:AE:C4:DA:D2:FC:AD:37:D4:71:95:7E:5F:DA:97:3B:07:6B:78:36:0F:A2:F2:70:3A:93:F1:A6:44:4C:DD:68:75:4D:94:4D:75:23:16:36:3E:73:24:73:0D:09:5C:DB:B6:66:44:15:B0:60:B1:CD:59:F7:66:C8:79:F6:77:7F:3F:C7:D3:48:E9:37:93:03:74:F8:22:94:D9:90:29:AD:E4:8C:C6:14:7D:F2:13:40:7B:18:1B:EC:4A:69:DE:FE:B3:59:25:75:17:1C:18:71:F6:7F:A8:7F:8E:21:14:C1:60:4F:3E:75:02:DD:33:4D:1E:A7:35:55:D7:38:28:3F:2A:29:D5:86:9D:10:B0:0B:2B:3C:45:A0:0C:36:AD:51:49:84:90:F3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124210Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.021) 0:00:22.030 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.026) 0:00:22.057 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.020) 0:00:22.080 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:42:19 -0400 (0:00:00.025) 0:00:22.105 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:42:20 -0400 (0:00:00.030) 0:00:22.135 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:42:20 -0400 (0:00:00.032) 0:00:22.168 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.101677", "end": "2024-07-27 08:42:20.494885", "rc": 0, "start": "2024-07-27 08:42:20.393208" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:42:20 -0400 (0:00:00.508) 0:00:22.677 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Saturday 27 July 2024 08:42:20 -0400 (0:00:00.048) 0:00:22.726 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.998) 0:00:23.724 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.021) 0:00:23.746 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.025) 0:00:23.772 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.020) 0:00:23.792 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.019) 0:00:23.811 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 July 2024 08:42:21 -0400 (0:00:00.044) 0:00:23.856 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 27 July 2024 08:42:23 -0400 (0:00:02.017) 0:00:25.873 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 27 July 2024 08:42:25 -0400 (0:00:01.990) 0:00:27.863 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 27 July 2024 08:42:26 -0400 (0:00:00.448) 0:00:28.312 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 27 July 2024 08:42:26 -0400 (0:00:00.446) 0:00:28.759 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ActiveEnterTimestampMonotonic": "285555148", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket network.target basic.target dbus-broker.service system.slice sysinit.target syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:29:36 EDT", "AssertTimestampMonotonic": "285518681", "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": "68893183000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ConditionTimestampMonotonic": "285518677", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5090", "ControlPID": "0", "CoredumpFilter": "0x33", "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": "2410", "ExecMainStartTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ExecMainStartTimestampMonotonic": "285527546", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 08:29:36 EDT", "InactiveExitTimestampMonotonic": "285528125", "InvocationID": "6ec68ad02034405aae9bead40b066e84", "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": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "2410", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5677056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "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": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "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": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestamp": "Sat 2024-07-27 08:38:26 EDT", "StateChangeTimestampMonotonic": "815658678", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4426", "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/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 27 July 2024 08:42:27 -0400 (0:00:00.642) 0:00:29.401 ********* changed: [managed_node1] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [managed_node1] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 27 July 2024 08:42:29 -0400 (0:00:01.854) 0:00:31.256 ********* skipping: [managed_node1] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 27 July 2024 08:42:29 -0400 (0:00:00.048) 0:00:31.304 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 27 July 2024 08:42:29 -0400 (0:00:00.021) 0:00:31.326 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 27 July 2024 08:42:29 -0400 (0:00:00.022) 0:00:31.349 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Saturday 27 July 2024 08:42:29 -0400 (0:00:00.046) 0:00:31.395 ********* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.987) 0:00:32.383 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs_mode.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0620'}) included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/certid_mode.crt', 'key_path': '/etc/pki/tls/private/certid_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'mode': '0600'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.055) 0:00:32.438 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.016) 0:00:32.455 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.024) 0:00:32.479 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.019) 0:00:32.499 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:42:30 -0400 (0:00:00.015) 0:00:32.514 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:42:32 -0400 (0:00:01.980) 0:00:34.495 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084148.066198, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b510737fbd7747a1a3bb30c1ee5f9a002290c0f7", "ctime": 1722084148.1521971, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205832, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722084148.0611982, "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": "3881166089", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:42:32 -0400 (0:00:00.423) 0:00:34.918 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:42:32 -0400 (0:00:00.020) 0:00:34.939 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:42:32 -0400 (0:00:00.029) 0:00:34.969 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:42:32 -0400 (0:00:00.029) 0:00:34.998 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084148.0051987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ce8c2ff43c82f919fefcaa8e7934db6cc71c2cf9", "ctime": 1722084148.1521971, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205831, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722084148.0611982, "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": "3416052205", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.420) 0:00:35.418 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.021) 0:00:35.439 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.030) 0:00:35.470 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "42:F9:A5:86:AB:42:4B:A0:00:47:2D:97:3A:5E:E8:40:0B:BA:EB:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:09:C3:5D:41:BB:4E:F5:40:85:00:EF:D4:E4:0E:12:F8:D6:A2:31:99:45:63:82:06:32:03:D2:24:1C:D7:8B:70:CB:14:E8:55:D4:BD:EC:C2:A5:A8:CB:C2:71:87:68:17:AA:A2:11:67:81:4C:7F:8B:DC:2F:F8:D2:3D:01:E7:E9:F9:2E:C3:41:DE:DD:79:51:54:AB:AA:D3:3B:68:2B:E9:E8:31:D0:7B:47:84:8A:B9:9F:95:24:5D:62:6F:60:ED:31:54:A4:C6:3A:38:E6:3A:5E:53:B0:76:99:FD:21:28:6A:C2:2A:42:DC:96:EE:FE:8E:E0:A5:49:D0:45:9E:3A:9B:FF:87:6D:98:B9:18:C6:7D:32:26:9F:EC:A1:8D:5E:F2:20:0C:B7:C0:83:F7:D9:CC:2C:CC:B8:34:41:2E:2B:B3:F4:15:C8:B0:27:28:AA:69:19:E8:82:3E:13:C3:42:60:DE:46:6B:DB:54:AF:F5:97:D1:7B:6C:C8:0B:3F:E3:53:EA:95:D9:CA:85:DC:B1:E9:77:17:DF:7D:78:11:3D:82:59:98:3F:7F:FD:9A:9C:FB:A8:6A:1E:7A:1B:B5:91:E8:02:DA:05:39:6C:52:9A:9F:A1:DF:F2:E8:C2:C4:47:4A:C0:F1:1F:B2:0E:13:2C:93:E2:C5:B1:2B:30:11" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124228Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.485) 0:00:35.956 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "42:F9:A5:86:AB:42:4B:A0:00:47:2D:97:3A:5E:E8:40:0B:BA:EB:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:09:C3:5D:41:BB:4E:F5:40:85:00:EF:D4:E4:0E:12:F8:D6:A2:31:99:45:63:82:06:32:03:D2:24:1C:D7:8B:70:CB:14:E8:55:D4:BD:EC:C2:A5:A8:CB:C2:71:87:68:17:AA:A2:11:67:81:4C:7F:8B:DC:2F:F8:D2:3D:01:E7:E9:F9:2E:C3:41:DE:DD:79:51:54:AB:AA:D3:3B:68:2B:E9:E8:31:D0:7B:47:84:8A:B9:9F:95:24:5D:62:6F:60:ED:31:54:A4:C6:3A:38:E6:3A:5E:53:B0:76:99:FD:21:28:6A:C2:2A:42:DC:96:EE:FE:8E:E0:A5:49:D0:45:9E:3A:9B:FF:87:6D:98:B9:18:C6:7D:32:26:9F:EC:A1:8D:5E:F2:20:0C:B7:C0:83:F7:D9:CC:2C:CC:B8:34:41:2E:2B:B3:F4:15:C8:B0:27:28:AA:69:19:E8:82:3E:13:C3:42:60:DE:46:6B:DB:54:AF:F5:97:D1:7B:6C:C8:0B:3F:E3:53:EA:95:D9:CA:85:DC:B1:E9:77:17:DF:7D:78:11:3D:82:59:98:3F:7F:FD:9A:9C:FB:A8:6A:1E:7A:1B:B5:91:E8:02:DA:05:39:6C:52:9A:9F:A1:DF:F2:E8:C2:C4:47:4A:C0:F1:1F:B2:0E:13:2C:93:E2:C5:B1:2B:30:11" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124228Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.021) 0:00:35.977 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.028) 0:00:36.006 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.021) 0:00:36.028 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.025) 0:00:36.053 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.033) 0:00:36.087 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:42:33 -0400 (0:00:00.029) 0:00:36.116 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.105166", "end": "2024-07-27 08:42:34.448048", "rc": 0, "start": "2024-07-27 08:42:34.342882" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.512) 0:00:36.629 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.031) 0:00:36.661 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.016) 0:00:36.678 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.023) 0:00:36.701 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.020) 0:00:36.721 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:42:34 -0400 (0:00:00.015) 0:00:36.736 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:42:36 -0400 (0:00:01.992) 0:00:38.729 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084148.9501884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "557e8fe5b319657c7d64a3d98ab865e5e8cb12c9", "ctime": 1722084148.9451885, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205835, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722084148.9451885, "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": "2317747478", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.424) 0:00:39.154 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.021) 0:00:39.175 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.033) 0:00:39.208 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.030) 0:00:39.238 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084148.8891892, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4b31087a1a62dfa388bd058c88639dc7f1b48c5e", "ctime": 1722084148.9451885, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722084148.9451885, "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": "61350331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.418) 0:00:39.657 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.021) 0:00:39.679 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:42:37 -0400 (0:00:00.031) 0:00:39.710 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "6D:EA:74:E8:BE:CF:A4:C6:2D:2C:AF:57:39:49:0A:A3:8B:3F:80:43" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6B:0F:F1:58:B9:18:7F:62:6B:A6:A1:E3:06:CA:A3:E8:33:1C:B2:BA:1B:4A:53:FC:4B:B3:4A:36:C6:AD:3B:EA:13:C6:82:96:FC:A9:49:5A:A2:D2:32:50:6A:76:4B:91:F3:3D:1C:8F:6E:DF:65:A4:3F:A8:8C:9A:24:21:FF:02:E7:66:41:13:1D:C1:F5:AE:8F:BC:C3:17:FE:0A:4B:64:C9:BD:2E:B2:11:59:B5:BD:1B:68:02:9C:F1:3B:9C:B3:40:47:C8:47:9D:93:4C:ED:9B:C1:70:E0:9C:F8:9F:2D:04:64:5F:A4:14:AD:F6:E6:3D:0A:C4:16:95:65:49:F0:F8:56:17:05:6F:0F:7E:63:85:17:BD:EE:F1:C3:47:A6:54:9A:C8:21:C5:FB:9C:1C:5A:1D:EF:40:5A:B5:6C:D3:39:7E:4E:93:63:6C:EC:9C:70:31:DC:20:1B:0B:48:56:C2:3C:46:E9:E4:51:60:BD:EB:7F:31:73:B0:9F:88:CD:F7:4D:72:4F:8A:85:96:45:10:E3:39:86:87:11:21:1A:3B:3B:AF:48:CA:9C:B2:60:8E:61:F6:4B:28:CF:A1:40:68:D0:13:F4:E9:EA:74:20:8E:50:A3:E3:5D:DD:9D:D5:C8:28:B8:5A:AB:CA:24:11:93:3B:1A:8F:7F:88:06:1B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124228Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.488) 0:00:40.198 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0E:14:09:87:E1:82:0E:1D:EB:3B:94:F1:3A:BF:D4:E9:CD:24:18:71" }, "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": "6D:EA:74:E8:BE:CF:A4:C6:2D:2C:AF:57:39:49:0A:A3:8B:3F:80:43" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6B:0F:F1:58:B9:18:7F:62:6B:A6:A1:E3:06:CA:A3:E8:33:1C:B2:BA:1B:4A:53:FC:4B:B3:4A:36:C6:AD:3B:EA:13:C6:82:96:FC:A9:49:5A:A2:D2:32:50:6A:76:4B:91:F3:3D:1C:8F:6E:DF:65:A4:3F:A8:8C:9A:24:21:FF:02:E7:66:41:13:1D:C1:F5:AE:8F:BC:C3:17:FE:0A:4B:64:C9:BD:2E:B2:11:59:B5:BD:1B:68:02:9C:F1:3B:9C:B3:40:47:C8:47:9D:93:4C:ED:9B:C1:70:E0:9C:F8:9F:2D:04:64:5F:A4:14:AD:F6:E6:3D:0A:C4:16:95:65:49:F0:F8:56:17:05:6F:0F:7E:63:85:17:BD:EE:F1:C3:47:A6:54:9A:C8:21:C5:FB:9C:1C:5A:1D:EF:40:5A:B5:6C:D3:39:7E:4E:93:63:6C:EC:9C:70:31:DC:20:1B:0B:48:56:C2:3C:46:E9:E4:51:60:BD:EB:7F:31:73:B0:9F:88:CD:F7:4D:72:4F:8A:85:96:45:10:E3:39:86:87:11:21:1A:3B:3B:AF:48:CA:9C:B2:60:8E:61:F6:4B:28:CF:A1:40:68:D0:13:F4:E9:EA:74:20:8E:50:A3:E3:5D:DD:9D:D5:C8:28:B8:5A:AB:CA:24:11:93:3B:1A:8F:7F:88:06:1B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727122936Z", "not_valid_before": "20240727124228Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.021) 0:00:40.220 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.028) 0:00:40.248 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.022) 0:00:40.271 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.026) 0:00:40.298 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.032) 0:00:40.330 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.029) 0:00:40.360 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.105228", "end": "2024-07-27 08:42:38.692535", "rc": 0, "start": "2024-07-27 08:42:38.587307" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.515) 0:00:40.875 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=101 changed=4 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 27 July 2024 08:42:38 -0400 (0:00:00.044) 0:00:40.920 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.19s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.02s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.01s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.01s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.00s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.99s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.99s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.98s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.98s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.85s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.36s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Ensure user exists ------------------------------------------------------ 0.94s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.89s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure group "somegroup" exists ----------------------------------------- 0.79s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.64s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Retrieve auto-renew flag ------------------------------------------------ 0.62s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143