[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.4]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /tmp/collections-0kQ
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
Using /etc/ansible/ansible.cfg as config file
running playbook inside collection fedora.linux_system_roles
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: tests_fs_attrs.yml ***************************************************
5 plays in /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml

PLAY [Ensure UID and GID exists] ***********************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2
Saturday 21 September 2024  08:25:25 -0400 (0:00:00.007)       0:00:00.007 **** 
[WARNING]: Platform linux on host managed_node2 is using the discovered Python
interpreter at /usr/bin/python3.9, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [managed_node2]

TASK [Ensure user exists] ******************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5
Saturday 21 September 2024  08:25:26 -0400 (0:00:01.021)       0:00:01.029 **** 
changed: [managed_node2] => {
    "changed": true,
    "comment": "",
    "create_home": true,
    "group": 1040,
    "home": "/home/user1",
    "name": "user1",
    "shell": "/bin/bash",
    "state": "present",
    "system": false,
    "uid": 1040
}

TASK [Ensure group "somegroup" exists] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9
Saturday 21 September 2024  08:25:27 -0400 (0:00:01.092)       0:00:02.122 **** 
changed: [managed_node2] => {
    "changed": true,
    "gid": 1041,
    "name": "somegroup",
    "state": "present",
    "system": false
}

PLAY [Issue certificate setting user/group] ************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14
Saturday 21 September 2024  08:25:27 -0400 (0:00:00.658)       0:00:02.780 **** 
ok: [managed_node2]

TASK [fedora.linux_system_roles.certificate : Set version specific variables] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2
Saturday 21 September 2024  08:25:28 -0400 (0:00:00.790)       0:00:03.571 **** 
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node2

TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2
Saturday 21 September 2024  08:25:28 -0400 (0:00:00.019)       0:00:03.591 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Check if system is ostree] *******
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10
Saturday 21 September 2024  08:25:28 -0400 (0:00:00.034)       0:00:03.626 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15
Saturday 21 September 2024  08:25:29 -0400 (0:00:00.415)       0:00:04.041 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "__certificate_is_ostree": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19
Saturday 21 September 2024  08:25:29 -0400 (0:00:00.023)       0:00:04.064 **** 
skipping: [managed_node2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS.yml",
    "skip_reason": "Conditional result was False"
}
ok: [managed_node2] => (item=CentOS_9.yml) => {
    "ansible_facts": {
        "__certificate_certmonger_packages": [
            "certmonger",
            "python3-packaging"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_9.yml"
}
ok: [managed_node2] => (item=CentOS_9.yml) => {
    "ansible_facts": {
        "__certificate_certmonger_packages": [
            "certmonger",
            "python3-packaging"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_9.yml"
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5
Saturday 21 September 2024  08:25:29 -0400 (0:00:00.042)       0:00:04.106 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-dbus python3-pyasn1

TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23
Saturday 21 September 2024  08:25:30 -0400 (0:00:01.684)       0:00:05.791 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: certmonger python3-packaging

TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35
Saturday 21 September 2024  08:25:32 -0400 (0:00:01.511)       0:00:07.302 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/etc/certmonger//pre-scripts",
    "secontext": "unconfined_u:object_r:etc_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61
Saturday 21 September 2024  08:25:32 -0400 (0:00:00.468)       0:00:07.771 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/etc/certmonger//post-scripts",
    "secontext": "unconfined_u:object_r:etc_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90
Saturday 21 September 2024  08:25:33 -0400 (0:00:00.373)       0:00:08.144 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "enabled": true,
    "name": "certmonger",
    "state": "started",
    "status": {
        "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0",
        "ActiveEnterTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "ActiveEnterTimestampMonotonic": "229520982",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "system.slice syslog.target sysinit.target dbus.socket basic.target systemd-journald.socket dbus-broker.service network.target",
        "AllowIsolate": "no",
        "AssertResult": "yes",
        "AssertTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "AssertTimestampMonotonic": "229507144",
        "Before": "shutdown.target multi-user.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "BusName": "org.fedorahosted.certmonger",
        "CPUAccounting": "yes",
        "CPUAffinityFromNUMA": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUQuotaPeriodUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "[not set]",
        "CPUUsageNSec": "695475000",
        "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-09-21 08:25:17 EDT",
        "ConditionTimestampMonotonic": "229507140",
        "ConfigurationDirectoryMode": "0755",
        "Conflicts": "shutdown.target",
        "ControlGroup": "/system.slice/certmonger.service",
        "ControlGroupId": "3809",
        "ControlPID": "0",
        "CoredumpFilter": "0x33",
        "DefaultDependencies": "yes",
        "DefaultMemoryLow": "0",
        "DefaultMemoryMin": "0",
        "Delegate": "no",
        "Description": "Certificate monitoring and PKI enrollment",
        "DevicePolicy": "auto",
        "DynamicUser": "no",
        "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "7185",
        "ExecMainStartTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "ExecMainStartTimestampMonotonic": "229512123",
        "ExecMainStatus": "0",
        "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-09-21 08:25:17 EDT] ; stop_time=[n/a] ; pid=7185 ; code=(null) ; status=0/0 }",
        "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-09-21 08:25:17 EDT] ; stop_time=[n/a] ; pid=7185 ; code=(null) ; status=0/0 }",
        "ExitType": "main",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "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-09-21 08:25:17 EDT",
        "InactiveExitTimestampMonotonic": "229512595",
        "InvocationID": "2824652ccc2a4a61888ee2febc8d6805",
        "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": "13964",
        "LimitNPROCSoft": "13964",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "13964",
        "LimitSIGPENDINGSoft": "13964",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "7185",
        "ManagedOOMMemoryPressure": "auto",
        "ManagedOOMMemoryPressureLimit": "0",
        "ManagedOOMPreference": "none",
        "ManagedOOMSwap": "auto",
        "MemoryAccounting": "yes",
        "MemoryAvailable": "infinity",
        "MemoryCurrent": "3919872",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemorySwapMax": "infinity",
        "MountAPIVFS": "no",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAPolicy": "n/a",
        "Names": "certmonger.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMPolicy": "stop",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "OnSuccessJobMode": "fail",
        "PIDFile": "/run/certmonger.pid",
        "PartOf": "dbus-broker.service",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateIPC": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProcSubset": "all",
        "ProtectClock": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectHostname": "no",
        "ProtectKernelLogs": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectProc": "default",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "ReloadResult": "success",
        "ReloadSignal": "1",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "sysinit.target system.slice dbus.socket",
        "Restart": "no",
        "RestartKillSignal": "15",
        "RestartUSec": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "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]",
        "StateChangeTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "StateChangeTimestampMonotonic": "229520982",
        "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": "22342",
        "TimeoutAbortUSec": "1min 30s",
        "TimeoutCleanUSec": "infinity",
        "TimeoutStartFailureMode": "terminate",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopFailureMode": "terminate",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "dbus",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "WantedBy": "multi-user.target",
        "WatchdogSignal": "6",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] *****
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101
Saturday 21 September 2024  08:25:34 -0400 (0:00:00.895)       0:00:09.040 **** 
changed: [managed_node2] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.com",
        "group": "ftp",
        "name": "mycert_fs_attrs",
        "owner": "ftp"
    }
}

MSG:

Certificate requested (new). File attributes updated.
changed: [managed_node2] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.com",
        "group": 1041,
        "name": "certid",
        "owner": 1040
    }
}

MSG:

Certificate requested (new). File attributes updated.

TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152
Saturday 21 September 2024  08:25:36 -0400 (0:00:02.693)       0:00:11.733 **** 
skipping: [managed_node2] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "name": "mycert_fs_attrs",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": 1041,
            "name": "certid",
            "owner": 1040
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "name": "mycert_fs_attrs",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": 1041,
            "name": "certid",
            "owner": 1040
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "name": "mycert_fs_attrs",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": 1041,
            "name": "certid",
            "owner": 1040
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.certificate : Create return data] **************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160
Saturday 21 September 2024  08:25:36 -0400 (0:00:00.071)       0:00:11.804 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ******
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176
Saturday 21 September 2024  08:25:36 -0400 (0:00:00.052)       0:00:11.857 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Remove files] ********************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181
Saturday 21 September 2024  08:25:36 -0400 (0:00:00.053)       0:00:11.910 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

PLAY [Verify certificate] ******************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32
Saturday 21 September 2024  08:25:36 -0400 (0:00:00.070)       0:00:11.981 **** 
ok: [managed_node2]

TASK [Verify each certificate] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.773)       0:00:12.754 **** 
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0640'})
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/certid.crt', 'key_path': '/etc/pki/tls/private/certid.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 1040, 'group': 1041, 'mode': '0640'})

TASK [Set virtualenv_path] *****************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.047)       0:00:12.802 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "__virtualenv_path": "/tmp/certificate-tests-venv"
    },
    "changed": false
}

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.015)       0:00:12.817 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.016)       0:00:12.834 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.018)       0:00:12.852 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "ansible_distribution_major_version == \"7\"",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:25:37 -0400 (0:00:00.012)       0:00:12.865 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-pyasn1

TASK [Retrieve certificate file stats] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:25:39 -0400 (0:00:01.492)       0:00:14.358 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921534.8294501,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "e9df4b8592ce18664b84179db6a952cb11f55b51",
        "ctime": 1726921534.9354506,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 50,
        "gr_name": "ftp",
        "inode": 4751393,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0640",
        "mtime": 1726921534.82645,
        "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": "2183239557",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if certificate file exists] ***************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43
Saturday 21 September 2024  08:25:39 -0400 (0:00:00.344)       0:00:14.702 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate file owner and group] *********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49
Saturday 21 September 2024  08:25:39 -0400 (0:00:00.019)       0:00:14.722 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate permissions] ******************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59
Saturday 21 September 2024  08:25:39 -0400 (0:00:00.039)       0:00:14.761 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:25:39 -0400 (0:00:00.036)       0:00:14.798 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921534.78145,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "c653a9db3ce1019953970e68f544c6a58fb93066",
        "ctime": 1726921534.9364505,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 50,
        "gr_name": "ftp",
        "inode": 2600475,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0640",
        "mtime": 1726921534.82645,
        "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": "2836292545",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if key file exists] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.344)       0:00:15.142 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key file owner and group] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.029)       0:00:15.172 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.066)       0:00:15.239 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
            },
            "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": "99:9B:5A:A1:0E:A2:46:79:83:60:63:E4:02:0F:CB:59:F2:F4:D3:EE"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "CA:63:2B:8D:73:15:A1:89:91:50:21:E5:3F:7F:82:C5:81:C9:9C:95:64:D9:93:69:4C:7C:C0:29:F4:AE:71:79:F7:5B:20:8B:77:19:23:4C:A0:9C:5A:D5:D3:FA:86:0B:17:F4:46:94:5A:0B:F6:55:03:24:15:F5:08:8F:8D:34:29:89:2D:44:7C:52:23:10:B0:4F:37:E7:61:87:48:36:78:4E:DB:32:A2:1E:87:79:5A:24:C1:36:08:51:17:48:E2:EB:FB:98:D0:3B:ED:76:69:EB:0B:82:15:26:73:6A:59:52:56:44:01:07:A0:7E:09:F8:95:2F:15:1C:F5:04:15:51:33:86:35:BD:9E:6E:67:F6:78:68:77:4C:B2:76:C0:E7:3B:94:D8:8A:4C:09:A0:3C:82:14:BA:AB:AC:EA:53:95:B3:89:B6:53:B9:95:3C:B9:B2:31:E4:55:15:FE:3C:65:ED:A4:0C:21:4F:51:B6:80:92:E0:C4:24:05:A5:79:48:C1:93:ED:BD:07:07:9A:A6:66:1F:10:86:70:6C:3B:2D:98:D2:E7:E7:EA:0C:E7:E4:23:CA:FE:59:1E:1A:DB:37:67:5E:51:16:08:24:9C:0A:38:01:98:13:3C:13:7F:04:2B:7F:BE:F8:BC:FD:E3:F0:B0:61:26:19:5A:D5"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.com"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122518Z",
            "not_valid_before": "20240921122534Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.492)       0:00:15.732 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
                },
                "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": "99:9B:5A:A1:0E:A2:46:79:83:60:63:E4:02:0F:CB:59:F2:F4:D3:EE"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "CA:63:2B:8D:73:15:A1:89:91:50:21:E5:3F:7F:82:C5:81:C9:9C:95:64:D9:93:69:4C:7C:C0:29:F4:AE:71:79:F7:5B:20:8B:77:19:23:4C:A0:9C:5A:D5:D3:FA:86:0B:17:F4:46:94:5A:0B:F6:55:03:24:15:F5:08:8F:8D:34:29:89:2D:44:7C:52:23:10:B0:4F:37:E7:61:87:48:36:78:4E:DB:32:A2:1E:87:79:5A:24:C1:36:08:51:17:48:E2:EB:FB:98:D0:3B:ED:76:69:EB:0B:82:15:26:73:6A:59:52:56:44:01:07:A0:7E:09:F8:95:2F:15:1C:F5:04:15:51:33:86:35:BD:9E:6E:67:F6:78:68:77:4C:B2:76:C0:E7:3B:94:D8:8A:4C:09:A0:3C:82:14:BA:AB:AC:EA:53:95:B3:89:B6:53:B9:95:3C:B9:B2:31:E4:55:15:FE:3C:65:ED:A4:0C:21:4F:51:B6:80:92:E0:C4:24:05:A5:79:48:C1:93:ED:BD:07:07:9A:A6:66:1F:10:86:70:6C:3B:2D:98:D2:E7:E7:EA:0C:E7:E4:23:CA:FE:59:1E:1A:DB:37:67:5E:51:16:08:24:9C:0A:38:01:98:13:3C:13:7F:04:2B:7F:BE:F8:BC:FD:E3:F0:B0:61:26:19:5A:D5"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.com"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122518Z",
                "not_valid_before": "20240921122534Z"
            }
        }
    },
    "changed": false
}

TASK [Verify certificate subject] **********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.018)       0:00:15.751 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate SAN] **************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.038)       0:00:15.789 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key size] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.019)       0:00:15.808 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Key Usage] ********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.037)       0:00:15.846 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Extended Key Usage] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.045)       0:00:15.891 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve auto-renew flag] ************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143
Saturday 21 September 2024  08:25:40 -0400 (0:00:00.060)       0:00:15.952 **** 
ok: [managed_node2] => {
    "changed": false,
    "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'",
    "delta": "0:00:00.038008",
    "end": "2024-09-21 08:25:41.455661",
    "rc": 0,
    "start": "2024-09-21 08:25:41.417653"
}

STDOUT:

yes

TASK [Verify certificate auto-renew flag] **************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.545)       0:00:16.498 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Set virtualenv_path] *****************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.037)       0:00:16.535 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "__virtualenv_path": "/tmp/certificate-tests-venv"
    },
    "changed": false
}

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.014)       0:00:16.550 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.017)       0:00:16.567 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.018)       0:00:16.586 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "ansible_distribution_major_version == \"7\"",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:25:41 -0400 (0:00:00.013)       0:00:16.599 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-pyasn1

TASK [Retrieve certificate file stats] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:25:43 -0400 (0:00:01.458)       0:00:18.058 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921535.5984528,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "5c78ecd3a7d783ca992e81836485ae499efc3d51",
        "ctime": 1726921536.6754563,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 1041,
        "gr_name": "somegroup",
        "inode": 4751396,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0640",
        "mtime": 1726921535.5954528,
        "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": "970849854",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if certificate file exists] ***************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.337)       0:00:18.396 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate file owner and group] *********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.022)       0:00:18.418 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate permissions] ******************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.039)       0:00:18.457 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.055)       0:00:18.512 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921535.5504525,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "41f4c9f807afa2929973bb507e7cb437a47cb562",
        "ctime": 1726921536.6754563,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 1041,
        "gr_name": "somegroup",
        "inode": 2601234,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0640",
        "mtime": 1726921535.5954528,
        "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": "3721234258",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if key file exists] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.348)       0:00:18.861 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key file owner and group] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.019)       0:00:18.880 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:25:43 -0400 (0:00:00.039)       0:00:18.919 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
            },
            "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": "4B:FE:2D:57:1D:45:8F:36:20:44:C9:46:2F:C5:51:FC:87:A8:A6:31"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "71:F0:55:EF:D4:31:47:87:E7:7A:9C:2D:A6:36:3F:7B:A5:0B:C4:E3:2A:75:AE:35:3D:AF:FE:E4:C0:6A:03:FC:F0:EA:FE:6F:3E:DE:D6:1D:E7:8B:83:C7:52:55:21:D2:68:7E:19:EB:AF:28:B6:73:F8:70:80:CA:09:FA:06:41:5F:AD:4D:20:E0:79:9A:7F:C7:D6:ED:39:20:C2:EA:A4:A5:9B:BC:E3:E6:DA:46:C1:3C:9B:E5:3A:48:14:8C:15:E3:B6:E2:F4:12:2B:21:C6:48:1A:4E:74:2F:10:B6:48:3C:33:6C:94:CD:65:3A:CB:93:C9:55:8F:AF:B6:8D:65:CA:20:D4:18:B0:17:A7:F6:50:F1:F3:56:5A:B3:64:32:CA:54:9B:6D:B9:0C:CF:50:C2:02:18:A7:49:B5:7F:C6:71:D3:92:C5:D4:6E:12:01:C8:F2:D1:93:E8:D9:0E:DE:0A:11:E9:65:91:46:68:E8:AD:18:0E:39:FD:15:AC:FD:83:F9:2D:4F:A6:C9:D8:56:E5:39:30:D3:51:DF:FD:2A:7C:23:4F:17:C2:49:8A:92:E7:54:D7:3A:CD:58:A9:59:14:B1:05:E0:CA:DB:C3:B4:18:0B:25:8A:8C:7C:1C:2C:DB:CE:28:49:2A:A3:47:C2:CC:74:EB:6C:F3:94:93:90"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.com"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122518Z",
            "not_valid_before": "20240921122535Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.380)       0:00:19.300 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
                },
                "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": "4B:FE:2D:57:1D:45:8F:36:20:44:C9:46:2F:C5:51:FC:87:A8:A6:31"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "71:F0:55:EF:D4:31:47:87:E7:7A:9C:2D:A6:36:3F:7B:A5:0B:C4:E3:2A:75:AE:35:3D:AF:FE:E4:C0:6A:03:FC:F0:EA:FE:6F:3E:DE:D6:1D:E7:8B:83:C7:52:55:21:D2:68:7E:19:EB:AF:28:B6:73:F8:70:80:CA:09:FA:06:41:5F:AD:4D:20:E0:79:9A:7F:C7:D6:ED:39:20:C2:EA:A4:A5:9B:BC:E3:E6:DA:46:C1:3C:9B:E5:3A:48:14:8C:15:E3:B6:E2:F4:12:2B:21:C6:48:1A:4E:74:2F:10:B6:48:3C:33:6C:94:CD:65:3A:CB:93:C9:55:8F:AF:B6:8D:65:CA:20:D4:18:B0:17:A7:F6:50:F1:F3:56:5A:B3:64:32:CA:54:9B:6D:B9:0C:CF:50:C2:02:18:A7:49:B5:7F:C6:71:D3:92:C5:D4:6E:12:01:C8:F2:D1:93:E8:D9:0E:DE:0A:11:E9:65:91:46:68:E8:AD:18:0E:39:FD:15:AC:FD:83:F9:2D:4F:A6:C9:D8:56:E5:39:30:D3:51:DF:FD:2A:7C:23:4F:17:C2:49:8A:92:E7:54:D7:3A:CD:58:A9:59:14:B1:05:E0:CA:DB:C3:B4:18:0B:25:8A:8C:7C:1C:2C:DB:CE:28:49:2A:A3:47:C2:CC:74:EB:6C:F3:94:93:90"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.com"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122518Z",
                "not_valid_before": "20240921122535Z"
            }
        }
    },
    "changed": false
}

TASK [Verify certificate subject] **********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.018)       0:00:19.319 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate SAN] **************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.042)       0:00:19.362 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key size] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.028)       0:00:19.390 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Key Usage] ********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.057)       0:00:19.448 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Extended Key Usage] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.060)       0:00:19.509 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve auto-renew flag] ************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.068)       0:00:19.578 **** 
ok: [managed_node2] => {
    "changed": false,
    "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'",
    "delta": "0:00:00.037530",
    "end": "2024-09-21 08:25:44.913712",
    "rc": 0,
    "start": "2024-09-21 08:25:44.876182"
}

STDOUT:

yes

TASK [Verify certificate auto-renew flag] **************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152
Saturday 21 September 2024  08:25:44 -0400 (0:00:00.382)       0:00:19.960 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

PLAY [Issue certificate setting user/group/mode] *******************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.065)       0:00:20.025 **** 
ok: [managed_node2]

TASK [fedora.linux_system_roles.certificate : Set version specific variables] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.781)       0:00:20.807 **** 
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node2

TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.024)       0:00:20.832 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Check if system is ostree] *******
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.043)       0:00:20.875 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.019)       0:00:20.894 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.018)       0:00:20.913 **** 
skipping: [managed_node2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS.yml",
    "skip_reason": "Conditional result was False"
}
ok: [managed_node2] => (item=CentOS_9.yml) => {
    "ansible_facts": {
        "__certificate_certmonger_packages": [
            "certmonger",
            "python3-packaging"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_9.yml"
}
ok: [managed_node2] => (item=CentOS_9.yml) => {
    "ansible_facts": {
        "__certificate_certmonger_packages": [
            "certmonger",
            "python3-packaging"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_9.yml"
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5
Saturday 21 September 2024  08:25:45 -0400 (0:00:00.040)       0:00:20.953 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-dbus python3-pyasn1

TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23
Saturday 21 September 2024  08:25:47 -0400 (0:00:01.467)       0:00:22.421 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: certmonger python3-packaging

TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35
Saturday 21 September 2024  08:25:48 -0400 (0:00:01.520)       0:00:23.942 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/etc/certmonger//pre-scripts",
    "secontext": "unconfined_u:object_r:etc_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61
Saturday 21 September 2024  08:25:49 -0400 (0:00:00.419)       0:00:24.361 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/etc/certmonger//post-scripts",
    "secontext": "unconfined_u:object_r:etc_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90
Saturday 21 September 2024  08:25:49 -0400 (0:00:00.369)       0:00:24.731 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "enabled": true,
    "name": "certmonger",
    "state": "started",
    "status": {
        "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0",
        "ActiveEnterTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "ActiveEnterTimestampMonotonic": "229520982",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "system.slice syslog.target sysinit.target dbus.socket basic.target systemd-journald.socket dbus-broker.service network.target",
        "AllowIsolate": "no",
        "AssertResult": "yes",
        "AssertTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "AssertTimestampMonotonic": "229507144",
        "Before": "shutdown.target multi-user.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "BusName": "org.fedorahosted.certmonger",
        "CPUAccounting": "yes",
        "CPUAffinityFromNUMA": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUQuotaPeriodUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "[not set]",
        "CPUUsageNSec": "1098624000",
        "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-09-21 08:25:17 EDT",
        "ConditionTimestampMonotonic": "229507140",
        "ConfigurationDirectoryMode": "0755",
        "Conflicts": "shutdown.target",
        "ControlGroup": "/system.slice/certmonger.service",
        "ControlGroupId": "3809",
        "ControlPID": "0",
        "CoredumpFilter": "0x33",
        "DefaultDependencies": "yes",
        "DefaultMemoryLow": "0",
        "DefaultMemoryMin": "0",
        "Delegate": "no",
        "Description": "Certificate monitoring and PKI enrollment",
        "DevicePolicy": "auto",
        "DynamicUser": "no",
        "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "7185",
        "ExecMainStartTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "ExecMainStartTimestampMonotonic": "229512123",
        "ExecMainStatus": "0",
        "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-09-21 08:25:17 EDT] ; stop_time=[n/a] ; pid=7185 ; code=(null) ; status=0/0 }",
        "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-09-21 08:25:17 EDT] ; stop_time=[n/a] ; pid=7185 ; code=(null) ; status=0/0 }",
        "ExitType": "main",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "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-09-21 08:25:17 EDT",
        "InactiveExitTimestampMonotonic": "229512595",
        "InvocationID": "2824652ccc2a4a61888ee2febc8d6805",
        "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": "13964",
        "LimitNPROCSoft": "13964",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "13964",
        "LimitSIGPENDINGSoft": "13964",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "7185",
        "ManagedOOMMemoryPressure": "auto",
        "ManagedOOMMemoryPressureLimit": "0",
        "ManagedOOMPreference": "none",
        "ManagedOOMSwap": "auto",
        "MemoryAccounting": "yes",
        "MemoryAvailable": "infinity",
        "MemoryCurrent": "4583424",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemorySwapMax": "infinity",
        "MountAPIVFS": "no",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAPolicy": "n/a",
        "Names": "certmonger.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMPolicy": "stop",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "OnSuccessJobMode": "fail",
        "PIDFile": "/run/certmonger.pid",
        "PartOf": "dbus-broker.service",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateIPC": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProcSubset": "all",
        "ProtectClock": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectHostname": "no",
        "ProtectKernelLogs": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectProc": "default",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "ReloadResult": "success",
        "ReloadSignal": "1",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "sysinit.target system.slice dbus.socket",
        "Restart": "no",
        "RestartKillSignal": "15",
        "RestartUSec": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "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]",
        "StateChangeTimestamp": "Sat 2024-09-21 08:25:17 EDT",
        "StateChangeTimestampMonotonic": "229520982",
        "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": "22342",
        "TimeoutAbortUSec": "1min 30s",
        "TimeoutCleanUSec": "infinity",
        "TimeoutStartFailureMode": "terminate",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopFailureMode": "terminate",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "dbus",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "WantedBy": "multi-user.target",
        "WatchdogSignal": "6",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] *****
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101
Saturday 21 September 2024  08:25:50 -0400 (0:00:00.510)       0:00:25.242 **** 
changed: [managed_node2] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.com",
        "group": "ftp",
        "mode": "0620",
        "name": "mycert_fs_attrs_mode",
        "owner": "ftp"
    }
}

MSG:

Certificate requested (new). File attributes updated.
changed: [managed_node2] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.com",
        "mode": "0600",
        "name": "certid_mode"
    }
}

MSG:

Certificate requested (new).

TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] ***
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152
Saturday 21 September 2024  08:25:51 -0400 (0:00:01.469)       0:00:26.711 **** 
skipping: [managed_node2] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "mode": "0620",
            "name": "mycert_fs_attrs_mode",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "mode": "0600",
            "name": "certid_mode"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "mode": "0620",
            "name": "mycert_fs_attrs_mode",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "mode": "0600",
            "name": "certid_mode"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "group": "ftp",
            "mode": "0620",
            "name": "mycert_fs_attrs_mode",
            "owner": "ftp"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "mode": "0600",
            "name": "certid_mode"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.certificate : Create return data] **************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160
Saturday 21 September 2024  08:25:51 -0400 (0:00:00.053)       0:00:26.765 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ******
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176
Saturday 21 September 2024  08:25:51 -0400 (0:00:00.033)       0:00:26.798 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Remove files] ********************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181
Saturday 21 September 2024  08:25:51 -0400 (0:00:00.033)       0:00:26.832 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "certificate_test_mode | d(false)",
    "skip_reason": "Conditional result was False"
}

PLAY [Verify certificate] ******************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85
Saturday 21 September 2024  08:25:51 -0400 (0:00:00.054)       0:00:26.886 **** 
ok: [managed_node2]

TASK [Verify each certificate] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.761)       0:00:27.648 **** 
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs_mode.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0620'})
included: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (item={'path': '/etc/pki/tls/certs/certid_mode.crt', 'key_path': '/etc/pki/tls/private/certid_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'mode': '0600'})

TASK [Set virtualenv_path] *****************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.060)       0:00:27.708 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "__virtualenv_path": "/tmp/certificate-tests-venv"
    },
    "changed": false
}

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.016)       0:00:27.724 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.018)       0:00:27.743 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.018)       0:00:27.762 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "ansible_distribution_major_version == \"7\"",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:25:52 -0400 (0:00:00.014)       0:00:27.777 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-pyasn1

TASK [Retrieve certificate file stats] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:25:54 -0400 (0:00:01.503)       0:00:29.280 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921550.8385031,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "531f2328c639451144aeb71373aba58a3fce240d",
        "ctime": 1726921550.9505036,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 50,
        "gr_name": "ftp",
        "inode": 4751398,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0620",
        "mtime": 1726921550.836503,
        "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": "3013900598",
        "wgrp": true,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if certificate file exists] ***************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43
Saturday 21 September 2024  08:25:54 -0400 (0:00:00.339)       0:00:29.620 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate file owner and group] *********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49
Saturday 21 September 2024  08:25:54 -0400 (0:00:00.019)       0:00:29.639 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate permissions] ******************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59
Saturday 21 September 2024  08:25:54 -0400 (0:00:00.041)       0:00:29.681 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:25:54 -0400 (0:00:00.040)       0:00:29.722 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921550.791503,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "37ef95ecd0be337d2b0ac5fb528691527afd877d",
        "ctime": 1726921550.9515035,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 50,
        "gr_name": "ftp",
        "inode": 2601374,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0620",
        "mtime": 1726921550.836503,
        "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": "3820340026",
        "wgrp": true,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if key file exists] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.343)       0:00:30.066 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key file owner and group] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.023)       0:00:30.090 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.058)       0:00:30.149 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
            },
            "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": "FD:C9:12:5A:16:84:55:4B:6B:9E:0D:AB:F5:2E:BD:85:10:56:9B:46"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "A4:DA:98:3C:AE:70:40:3A:92:29:21:C0:DB:79:51:5D:82:8C:23:22:0B:7E:81:F6:96:AB:64:28:28:1F:C3:BC:B1:D0:E1:CF:AE:82:09:DA:96:E5:DE:D7:08:D7:14:7C:E5:E8:6A:EA:7C:78:38:77:00:90:A6:59:55:5F:38:A4:E4:99:09:D2:4C:CB:08:F6:E0:15:2E:C4:F7:B1:20:42:5E:A8:6C:99:CF:53:05:68:9B:B0:C8:B3:CB:19:E8:5D:D6:0D:3D:2D:27:7E:8B:07:36:29:A2:05:97:37:08:33:12:0E:7C:A6:8F:E4:A0:16:83:A2:42:07:B9:20:2E:49:BD:01:C8:63:8D:7A:6C:0C:3C:EE:0D:B3:02:1D:AA:6B:CB:D4:C4:DD:5D:2F:B7:19:A2:3C:39:B0:FC:4D:D2:03:77:1C:73:BB:5F:B6:D3:F2:C6:AF:30:8C:69:72:06:D9:71:01:56:32:65:48:19:B0:40:57:FD:4E:99:CF:77:B8:60:58:61:8B:8C:87:A6:3B:0B:E3:BC:A2:D8:49:E7:3A:67:C8:94:52:F8:EC:99:BA:5E:87:8D:2C:EA:40:09:D8:69:F5:87:69:0B:D3:E4:60:78:40:C8:35:BA:36:9E:CE:E7:4D:BE:FB:C4:C5:9A:95:1A:70:3A:E0:97:C6:04:2D"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.com"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122518Z",
            "not_valid_before": "20240921122550Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.392)       0:00:30.541 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
                },
                "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": "FD:C9:12:5A:16:84:55:4B:6B:9E:0D:AB:F5:2E:BD:85:10:56:9B:46"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "A4:DA:98:3C:AE:70:40:3A:92:29:21:C0:DB:79:51:5D:82:8C:23:22:0B:7E:81:F6:96:AB:64:28:28:1F:C3:BC:B1:D0:E1:CF:AE:82:09:DA:96:E5:DE:D7:08:D7:14:7C:E5:E8:6A:EA:7C:78:38:77:00:90:A6:59:55:5F:38:A4:E4:99:09:D2:4C:CB:08:F6:E0:15:2E:C4:F7:B1:20:42:5E:A8:6C:99:CF:53:05:68:9B:B0:C8:B3:CB:19:E8:5D:D6:0D:3D:2D:27:7E:8B:07:36:29:A2:05:97:37:08:33:12:0E:7C:A6:8F:E4:A0:16:83:A2:42:07:B9:20:2E:49:BD:01:C8:63:8D:7A:6C:0C:3C:EE:0D:B3:02:1D:AA:6B:CB:D4:C4:DD:5D:2F:B7:19:A2:3C:39:B0:FC:4D:D2:03:77:1C:73:BB:5F:B6:D3:F2:C6:AF:30:8C:69:72:06:D9:71:01:56:32:65:48:19:B0:40:57:FD:4E:99:CF:77:B8:60:58:61:8B:8C:87:A6:3B:0B:E3:BC:A2:D8:49:E7:3A:67:C8:94:52:F8:EC:99:BA:5E:87:8D:2C:EA:40:09:D8:69:F5:87:69:0B:D3:E4:60:78:40:C8:35:BA:36:9E:CE:E7:4D:BE:FB:C4:C5:9A:95:1A:70:3A:E0:97:C6:04:2D"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.com"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122518Z",
                "not_valid_before": "20240921122550Z"
            }
        }
    },
    "changed": false
}

TASK [Verify certificate subject] **********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.019)       0:00:30.560 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate SAN] **************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.039)       0:00:30.600 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key size] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.020)       0:00:30.620 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Key Usage] ********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.038)       0:00:30.659 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Extended Key Usage] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.042)       0:00:30.701 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve auto-renew flag] ************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143
Saturday 21 September 2024  08:25:55 -0400 (0:00:00.041)       0:00:30.743 **** 
ok: [managed_node2] => {
    "changed": false,
    "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'",
    "delta": "0:00:00.040052",
    "end": "2024-09-21 08:25:56.092086",
    "rc": 0,
    "start": "2024-09-21 08:25:56.052034"
}

STDOUT:

yes

TASK [Verify certificate auto-renew flag] **************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.391)       0:00:31.134 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Set virtualenv_path] *****************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.047)       0:00:31.182 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "__virtualenv_path": "/tmp/certificate-tests-venv"
    },
    "changed": false
}

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.046)       0:00:31.228 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.030)       0:00:31.259 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "not __certificate_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.027)       0:00:31.286 **** 
skipping: [managed_node2] => {
    "changed": false,
    "false_condition": "ansible_distribution_major_version == \"7\"",
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:25:56 -0400 (0:00:00.014)       0:00:31.301 **** 
ok: [managed_node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: python3-cryptography python3-pyasn1

TASK [Retrieve certificate file stats] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:25:57 -0400 (0:00:01.429)       0:00:32.731 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921551.5455055,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "3b6e9a02224c5bfc7c77492deb7df6ee42ff80bc",
        "ctime": 1726921551.5425055,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 4751399,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921551.5425055,
        "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": "911135061",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if certificate file exists] ***************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.350)       0:00:33.081 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate file owner and group] *********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.020)       0:00:33.101 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate permissions] ******************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.053)       0:00:33.155 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.063)       0:00:33.219 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921551.4975054,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "29b43539b448b540799be7974710acbe0e71cdac",
        "ctime": 1726921551.5425055,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 2601377,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921551.5425055,
        "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": "3008768622",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

TASK [Verify if key file exists] ***********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.378)       0:00:33.597 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key file owner and group] *****************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.021)       0:00:33.619 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:25:58 -0400 (0:00:00.063)       0:00:33.682 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
            },
            "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": "79:3D:BE:42:C4:5D:B0:24:11:51:7D:15:EF:C0:8D:93:A3:83:BA:7A"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "75:7E:05:EC:B4:D2:A2:7C:46:F5:D4:1F:8D:C7:E0:F1:53:20:63:17:79:18:A5:B3:07:4B:E6:10:83:3A:C3:33:29:D5:C5:C2:46:40:EB:8F:6C:02:B3:29:6B:F6:F4:E0:92:71:9B:0B:EB:74:24:45:E4:5D:DE:BF:00:B4:CA:39:F3:BE:32:87:94:F5:19:9F:45:1A:6D:31:83:DD:34:CE:FB:6B:81:7D:5D:52:95:81:DC:A9:18:B6:4A:9F:7A:B4:00:2F:9C:7C:0C:95:73:9F:C1:F8:A9:48:6C:14:CD:49:0F:F8:E7:3B:58:22:D1:08:F6:69:75:CE:0E:B7:1F:C5:E5:EE:5F:DE:47:17:41:6C:72:34:A7:07:06:C9:AF:01:CD:A4:41:75:43:37:61:D3:BD:9C:8B:89:3F:01:97:C2:2C:ED:F6:0B:49:C7:B8:EB:31:6D:F3:46:5C:48:D5:DD:2A:2C:FD:0F:5D:A6:38:BD:F0:05:0A:9E:AE:7E:10:24:94:0A:7E:65:5D:3E:D7:B3:F3:49:25:A2:97:DE:81:AB:4D:4D:34:B5:F5:93:DD:07:2F:1C:14:58:1B:BD:92:0C:1D:86:4B:62:6A:74:15:88:F3:01:37:FD:76:08:D9:E3:10:6D:F6:2E:DC:EB:7E:98:D6:51:ED:D7:A2:F7:77:9F"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.com"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122518Z",
            "not_valid_before": "20240921122551Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.402)       0:00:34.084 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "7C:72:AC:D9:3D:EC:BA:65:3E:3E:4A:EC:6E:4A:2F:FB:58:DB:6C:A6"
                },
                "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": "79:3D:BE:42:C4:5D:B0:24:11:51:7D:15:EF:C0:8D:93:A3:83:BA:7A"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "75:7E:05:EC:B4:D2:A2:7C:46:F5:D4:1F:8D:C7:E0:F1:53:20:63:17:79:18:A5:B3:07:4B:E6:10:83:3A:C3:33:29:D5:C5:C2:46:40:EB:8F:6C:02:B3:29:6B:F6:F4:E0:92:71:9B:0B:EB:74:24:45:E4:5D:DE:BF:00:B4:CA:39:F3:BE:32:87:94:F5:19:9F:45:1A:6D:31:83:DD:34:CE:FB:6B:81:7D:5D:52:95:81:DC:A9:18:B6:4A:9F:7A:B4:00:2F:9C:7C:0C:95:73:9F:C1:F8:A9:48:6C:14:CD:49:0F:F8:E7:3B:58:22:D1:08:F6:69:75:CE:0E:B7:1F:C5:E5:EE:5F:DE:47:17:41:6C:72:34:A7:07:06:C9:AF:01:CD:A4:41:75:43:37:61:D3:BD:9C:8B:89:3F:01:97:C2:2C:ED:F6:0B:49:C7:B8:EB:31:6D:F3:46:5C:48:D5:DD:2A:2C:FD:0F:5D:A6:38:BD:F0:05:0A:9E:AE:7E:10:24:94:0A:7E:65:5D:3E:D7:B3:F3:49:25:A2:97:DE:81:AB:4D:4D:34:B5:F5:93:DD:07:2F:1C:14:58:1B:BD:92:0C:1D:86:4B:62:6A:74:15:88:F3:01:37:FD:76:08:D9:E3:10:6D:F6:2E:DC:EB:7E:98:D6:51:ED:D7:A2:F7:77:9F"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.com"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122518Z",
                "not_valid_before": "20240921122551Z"
            }
        }
    },
    "changed": false
}

TASK [Verify certificate subject] **********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.019)       0:00:34.103 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate SAN] **************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.040)       0:00:34.144 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify key size] *********************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.022)       0:00:34.166 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Key Usage] ********************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.054)       0:00:34.221 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Verify certificate Extended Key Usage] ***********************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.060)       0:00:34.282 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Retrieve auto-renew flag] ************************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.063)       0:00:34.345 **** 
ok: [managed_node2] => {
    "changed": false,
    "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'",
    "delta": "0:00:00.039621",
    "end": "2024-09-21 08:25:59.721976",
    "rc": 0,
    "start": "2024-09-21 08:25:59.682355"
}

STDOUT:

yes

TASK [Verify certificate auto-renew flag] **************************************
task path: /tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152
Saturday 21 September 2024  08:25:59 -0400 (0:00:00.418)       0:00:34.763 **** 
ok: [managed_node2] => {
    "changed": false
}

MSG:

All assertions passed

PLAY RECAP *********************************************************************
managed_node2              : ok=101  changed=4    unreachable=0    failed=0    skipped=24   rescued=0    ignored=0   

Saturday 21 September 2024  08:25:59 -0400 (0:00:00.046)       0:00:34.809 **** 
=============================================================================== 
fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.69s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 
fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.68s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 
fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.52s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 
fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.51s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 
Ensure python3 is installed --------------------------------------------- 1.50s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
Ensure python3 is installed --------------------------------------------- 1.49s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.47s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 
fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.47s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 
Ensure python3 is installed --------------------------------------------- 1.46s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
Ensure python3 is installed --------------------------------------------- 1.43s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
Ensure user exists ------------------------------------------------------ 1.09s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 
Gathering Facts --------------------------------------------------------- 1.02s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 
fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.90s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 
Gathering Facts --------------------------------------------------------- 0.79s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 
Gathering Facts --------------------------------------------------------- 0.78s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 
Gathering Facts --------------------------------------------------------- 0.77s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 
Gathering Facts --------------------------------------------------------- 0.76s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 
Ensure group "somegroup" exists ----------------------------------------- 0.66s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 
Retrieve auto-renew flag ------------------------------------------------ 0.55s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 
fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.51s
/tmp/collections-0kQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90