ansible-playbook 2.9.27
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]
No config file found; using defaults
[WARNING]: running playbook inside collection fedora.linux_system_roles
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_many_self_signed.yml *******************************************
2 plays in /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml

PLAY [Issue many self-signed certificates] *************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2
Saturday 21 September 2024  08:26:46 -0400 (0:00:00.032)       0:00:00.032 **** 
ok: [managed_node2]
META: ran handlers

TASK [fedora.linux_system_roles.certificate : Set version specific variables] ***
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2
Saturday 21 September 2024  08:26:47 -0400 (0:00:00.926)       0:00:00.958 **** 
included: /tmp/collections-X5b/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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2
Saturday 21 September 2024  08:26:47 -0400 (0:00:00.022)       0:00:00.981 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Check if system is ostree] *******
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10
Saturday 21 September 2024  08:26:47 -0400 (0:00:00.043)       0:00:01.024 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15
Saturday 21 September 2024  08:26:48 -0400 (0:00:00.525)       0:00:01.549 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19
Saturday 21 September 2024  08:26:48 -0400 (0:00:00.054)       0:00:01.604 **** 
skipping: [managed_node2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=CentOS_8.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_8.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=CentOS_8.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "CentOS_8.yml",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] ***
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5
Saturday 21 September 2024  08:26:48 -0400 (0:00:00.080)       0:00:01.684 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23
Saturday 21 September 2024  08:26:51 -0400 (0:00:03.029)       0:00:04.714 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: certmonger

TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] ***
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35
Saturday 21 September 2024  08:26:54 -0400 (0:00:02.765)       0:00:07.479 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61
Saturday 21 September 2024  08:26:54 -0400 (0:00:00.477)       0:00:07.957 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90
Saturday 21 September 2024  08:26:55 -0400 (0:00:00.385)       0:00:08.343 **** 
ok: [managed_node2] => (item=certmonger) => {
    "__certificate_provider": "certmonger",
    "ansible_loop_var": "__certificate_provider",
    "changed": false,
    "enabled": true,
    "name": "certmonger",
    "state": "started",
    "status": {
        "ActiveEnterTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "ActiveEnterTimestampMonotonic": "278807625",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "syslog.target basic.target system.slice dbus.service systemd-journald.socket network.target dbus.socket sysinit.target",
        "AllowIsolate": "no",
        "AllowedCPUs": "",
        "AllowedMemoryNodes": "",
        "AmbientCapabilities": "",
        "AssertResult": "yes",
        "AssertTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "AssertTimestampMonotonic": "278795118",
        "Before": "multi-user.target shutdown.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "BusName": "org.fedorahosted.certmonger",
        "CPUAccounting": "no",
        "CPUAffinity": "",
        "CPUAffinityFromNUMA": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUQuotaPeriodUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "[not set]",
        "CPUUsageNSec": "[not set]",
        "CPUWeight": "[not set]",
        "CacheDirectoryMode": "0755",
        "CanFreeze": "yes",
        "CanIsolate": "no",
        "CanReload": "no",
        "CanStart": "yes",
        "CanStop": "yes",
        "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf",
        "CollectMode": "inactive",
        "ConditionResult": "yes",
        "ConditionTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "ConditionTimestampMonotonic": "278795116",
        "ConfigurationDirectoryMode": "0755",
        "Conflicts": "shutdown.target",
        "ControlGroup": "/system.slice/certmonger.service",
        "ControlPID": "0",
        "DefaultDependencies": "yes",
        "DefaultMemoryLow": "0",
        "DefaultMemoryMin": "0",
        "Delegate": "no",
        "Description": "Certificate monitoring and PKI enrollment",
        "DevicePolicy": "auto",
        "DynamicUser": "no",
        "EffectiveCPUs": "",
        "EffectiveMemoryNodes": "",
        "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "8521",
        "ExecMainStartTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "ExecMainStartTimestampMonotonic": "278796181",
        "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:56 EDT] ; stop_time=[n/a] ; pid=8521 ; code=(null) ; status=0/0 }",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FragmentPath": "/usr/lib/systemd/system/certmonger.service",
        "FreezerState": "running",
        "GID": "[not set]",
        "GuessMainPID": "yes",
        "IOAccounting": "no",
        "IOSchedulingClass": "0",
        "IOSchedulingPriority": "0",
        "IOWeight": "[not set]",
        "IPAccounting": "no",
        "IPEgressBytes": "18446744073709551615",
        "IPEgressPackets": "18446744073709551615",
        "IPIngressBytes": "18446744073709551615",
        "IPIngressPackets": "18446744073709551615",
        "Id": "certmonger.service",
        "IgnoreOnIsolate": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "InactiveExitTimestampMonotonic": "278796224",
        "InvocationID": "f93ae57c308545298d36384e8ec41b44",
        "JobRunningTimeoutUSec": "infinity",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "infinity",
        "KeyringMode": "private",
        "KillMode": "control-group",
        "KillSignal": "15",
        "LimitAS": "infinity",
        "LimitASSoft": "infinity",
        "LimitCORE": "infinity",
        "LimitCORESoft": "0",
        "LimitCPU": "infinity",
        "LimitCPUSoft": "infinity",
        "LimitDATA": "infinity",
        "LimitDATASoft": "infinity",
        "LimitFSIZE": "infinity",
        "LimitFSIZESoft": "infinity",
        "LimitLOCKS": "infinity",
        "LimitLOCKSSoft": "infinity",
        "LimitMEMLOCK": "65536",
        "LimitMEMLOCKSoft": "65536",
        "LimitMSGQUEUE": "819200",
        "LimitMSGQUEUESoft": "819200",
        "LimitNICE": "0",
        "LimitNICESoft": "0",
        "LimitNOFILE": "262144",
        "LimitNOFILESoft": "1024",
        "LimitNPROC": "14003",
        "LimitNPROCSoft": "14003",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14003",
        "LimitSIGPENDINGSoft": "14003",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "8521",
        "MemoryAccounting": "yes",
        "MemoryCurrent": "3801088",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemorySwapMax": "infinity",
        "MountAPIVFS": "no",
        "MountFlags": "",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAMask": "",
        "NUMAPolicy": "n/a",
        "Names": "certmonger.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "PIDFile": "/run/certmonger.pid",
        "PartOf": "dbus.service",
        "PermissionsStartOnly": "no",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "dbus.socket system.slice sysinit.target",
        "Restart": "no",
        "RestartUSec": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RuntimeDirectoryMode": "0755",
        "RuntimeDirectoryPreserve": "no",
        "RuntimeMaxUSec": "infinity",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "Slice": "system.slice",
        "StandardError": "inherit",
        "StandardInput": "null",
        "StandardInputData": "",
        "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:56 EDT",
        "StateChangeTimestampMonotonic": "278807625",
        "StateDirectoryMode": "0755",
        "StatusErrno": "0",
        "StopWhenUnneeded": "no",
        "SubState": "running",
        "SuccessAction": "none",
        "SyslogFacility": "3",
        "SyslogLevel": "6",
        "SyslogLevelPrefix": "yes",
        "SyslogPriority": "30",
        "SystemCallErrorNumber": "0",
        "TTYReset": "no",
        "TTYVHangup": "no",
        "TTYVTDisallocate": "no",
        "TasksAccounting": "yes",
        "TasksCurrent": "1",
        "TasksMax": "22405",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "dbus",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "WantedBy": "multi-user.target",
        "WatchdogTimestamp": "Sat 2024-09-21 08:25:56 EDT",
        "WatchdogTimestampMonotonic": "278807622",
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] *****
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101
Saturday 21 September 2024  08:26:55 -0400 (0:00:00.738)       0:00:09.081 **** 
changed: [managed_node2] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.com",
        "name": "mycert_many_self_signed"
    }
}

MSG:

Certificate requested (new).
changed: [managed_node2] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.org",
        "name": "other-cert"
    }
}

MSG:

Certificate requested (new).
changed: [managed_node2] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => {
    "ansible_loop_var": "item",
    "changed": true,
    "item": {
        "ca": "self-sign",
        "dns": "www.example.net",
        "name": "another-cert"
    }
}

MSG:

Certificate requested (new).

TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] ***
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152
Saturday 21 September 2024  08:26:58 -0400 (0:00:02.592)       0:00:11.674 **** 
skipping: [managed_node2] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "name": "mycert_many_self_signed"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.org",
            "name": "other-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "cert",
        {
            "ca": "self-sign",
            "dns": "www.example.net",
            "name": "another-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "name": "mycert_many_self_signed"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.org",
            "name": "other-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "key",
        {
            "ca": "self-sign",
            "dns": "www.example.net",
            "name": "another-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.com",
            "name": "mycert_many_self_signed"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.org",
            "name": "other-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node2] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}])  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": [
        "ca",
        {
            "ca": "self-sign",
            "dns": "www.example.net",
            "name": "another-cert"
        }
    ],
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Create return data] **************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160
Saturday 21 September 2024  08:26:58 -0400 (0:00:00.082)       0:00:11.757 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ******
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176
Saturday 21 September 2024  08:26:58 -0400 (0:00:00.048)       0:00:11.806 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Remove files] ********************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181
Saturday 21 September 2024  08:26:58 -0400 (0:00:00.040)       0:00:11.846 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}
META: ran handlers
META: ran handlers

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

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18
Saturday 21 September 2024  08:26:58 -0400 (0:00:00.041)       0:00:11.887 **** 
ok: [managed_node2]
META: ran handlers

TASK [Verify each certificate] *************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50
Saturday 21 September 2024  08:26:59 -0400 (0:00:00.634)       0:00:12.522 **** 
included: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2
included: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2
included: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2

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

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

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:26:59 -0400 (0:00:00.050)       0:00:12.680 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:26:59 -0400 (0:00:00.034)       0:00:12.714 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:26:59 -0400 (0:00:00.032)       0:00:12.747 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:27:02 -0400 (0:00:02.807)       0:00:15.555 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921616.552335,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "c5ec8e6b43b41d6bbeb1c99d51464e371b53e567",
        "ctime": 1726921616.549335,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718640,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921616.549335,
        "nlink": 1,
        "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1294,
        "uid": 0,
        "version": "678619769",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:27:02 -0400 (0:00:00.038)       0:00:16.041 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921616.507334,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "3a5104514b93a9e580230d53c4664aa10fcda647",
        "ctime": 1726921616.549335,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718639,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921616.549335,
        "nlink": 1,
        "path": "/etc/pki/tls/private/mycert_many_self_signed.key",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1704,
        "uid": 0,
        "version": "3358481302",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:27:03 -0400 (0:00:00.057)       0:00:16.544 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
            },
            "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": "5C:A5:E5:D9:0A:82:05:C6:EA:58:C9:5D:2C:66:E7:DF:D1:F6:23:CB"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "A3:2B:9F:C5:7A:36:13:62:91:0B:92:30:32:1A:6E:9D:4C:E3:FF:2A:A0:D6:50:C2:9B:85:CB:B9:AC:A5:0D:DA:AD:98:94:2A:33:89:1E:77:5A:25:88:28:C3:2A:F4:6D:D2:8E:5F:38:6A:B5:ED:98:A5:EF:24:8F:C3:3B:64:0F:AC:5F:29:C6:6B:EE:39:47:B4:8C:17:55:BB:5F:A9:5F:6A:19:7C:23:73:A2:AE:DA:A7:5E:C8:3C:08:14:FA:31:58:9E:2E:09:EE:D1:47:BC:6C:25:2D:DD:F1:BF:DD:02:40:8B:07:93:7F:1E:4B:DE:C0:C3:E5:A7:2D:09:EC:13:88:AD:B0:46:D8:58:76:FA:A1:90:7E:1D:F4:54:05:C7:97:51:03:BE:55:04:92:12:5B:BD:C0:98:EC:E0:D9:21:1E:12:4B:0A:6A:AF:5B:45:AB:EE:44:1C:44:63:DA:B0:A0:D4:15:72:20:A0:36:2A:A5:7A:CB:E3:68:39:54:48:CE:A6:58:6B:91:06:58:72:3E:7F:1D:73:12:00:63:AC:15:E0:02:93:31:DF:AB:A5:61:04:DA:78:CF:87:0D:45:F4:20:4F:C6:34:F7:64:E3:C2:FB:EC:12:C8:00:37:9B:EB:4B:19:21:A7:8D:17:12:B3:50:15:40:C7:DB:25:F2"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.com"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122557Z",
            "not_valid_before": "20240921122656Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:27:03 -0400 (0:00:00.560)       0:00:17.105 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
                },
                "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": "5C:A5:E5:D9:0A:82:05:C6:EA:58:C9:5D:2C:66:E7:DF:D1:F6:23:CB"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "A3:2B:9F:C5:7A:36:13:62:91:0B:92:30:32:1A:6E:9D:4C:E3:FF:2A:A0:D6:50:C2:9B:85:CB:B9:AC:A5:0D:DA:AD:98:94:2A:33:89:1E:77:5A:25:88:28:C3:2A:F4:6D:D2:8E:5F:38:6A:B5:ED:98:A5:EF:24:8F:C3:3B:64:0F:AC:5F:29:C6:6B:EE:39:47:B4:8C:17:55:BB:5F:A9:5F:6A:19:7C:23:73:A2:AE:DA:A7:5E:C8:3C:08:14:FA:31:58:9E:2E:09:EE:D1:47:BC:6C:25:2D:DD:F1:BF:DD:02:40:8B:07:93:7F:1E:4B:DE:C0:C3:E5:A7:2D:09:EC:13:88:AD:B0:46:D8:58:76:FA:A1:90:7E:1D:F4:54:05:C7:97:51:03:BE:55:04:92:12:5B:BD:C0:98:EC:E0:D9:21:1E:12:4B:0A:6A:AF:5B:45:AB:EE:44:1C:44:63:DA:B0:A0:D4:15:72:20:A0:36:2A:A5:7A:CB:E3:68:39:54:48:CE:A6:58:6B:91:06:58:72:3E:7F:1D:73:12:00:63:AC:15:E0:02:93:31:DF:AB:A5:61:04:DA:78:CF:87:0D:45:F4:20:4F:C6:34:F7:64:E3:C2:FB:EC:12:C8:00:37:9B:EB:4B:19:21:A7:8D:17:12:B3:50:15:40:C7:DB:25:F2"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.com"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122557Z",
                "not_valid_before": "20240921122656Z"
            }
        }
    },
    "changed": false
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

STDOUT:

yes

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

MSG:

All assertions passed

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

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:27:04 -0400 (0:00:00.021)       0:00:18.001 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:27:04 -0400 (0:00:00.050)       0:00:18.052 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:27:04 -0400 (0:00:00.050)       0:00:18.102 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:27:04 -0400 (0:00:00.046)       0:00:18.149 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:27:07 -0400 (0:00:02.849)       0:00:20.998 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921617.2933524,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "3cb68d67eda89323f52b85838d2c2f6d57b8a2d1",
        "ctime": 1726921617.2903523,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718642,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921617.2903523,
        "nlink": 1,
        "path": "/etc/pki/tls/certs/other-cert.crt",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1294,
        "uid": 0,
        "version": "2372049418",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:27:08 -0400 (0:00:00.052)       0:00:21.588 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921617.2503514,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "ba42cbf138cc7635f6cc1fc4900e3473838426dc",
        "ctime": 1726921617.2903523,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718641,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921617.2903523,
        "nlink": 1,
        "path": "/etc/pki/tls/private/other-cert.key",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1704,
        "uid": 0,
        "version": "2966150801",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:27:08 -0400 (0:00:00.057)       0:00:22.125 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
            },
            "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.org"
                    }
                ]
            },
            "subjectKeyIdentifier": {
                "critical": false,
                "value": "DD:BD:F4:2D:9A:1B:1F:B4:B3:BD:B8:9D:BA:74:72:91:6D:70:6C:02"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "5B:35:43:A4:E8:69:97:1E:C9:37:BB:AD:40:88:C1:A7:81:0D:BA:B1:B2:96:6F:9F:F0:48:B9:35:9A:65:09:33:9F:6F:64:7F:16:76:AF:3E:17:0C:37:AC:AF:6F:6C:74:2E:E8:9B:A3:50:A2:59:41:56:29:86:57:80:5B:B8:A2:CC:19:16:1B:57:A5:19:C0:B6:3E:01:70:92:EF:5C:33:B8:12:C6:95:C4:27:7B:5D:7A:BC:AC:4E:33:5E:38:5A:23:1C:16:ED:67:67:11:C4:9D:81:FC:90:DE:27:B7:F0:BF:CF:D5:11:E5:10:45:92:E9:4A:1E:3D:83:30:3B:06:86:21:BF:68:3F:CC:B4:27:20:9F:63:92:65:5A:8B:AC:16:63:66:46:8A:B4:AF:5F:D6:BE:67:57:6A:D3:EC:5A:23:8F:18:A2:9F:71:AD:00:B4:4F:04:FB:DB:41:50:68:A9:82:67:7B:5F:7A:1A:1F:C4:A5:BC:A7:E2:33:52:18:90:5C:4E:14:8B:13:FE:CD:2F:A7:33:35:9D:8B:BE:6F:BF:6B:8F:61:24:10:1E:BA:A9:BE:C6:4C:83:F9:0F:F2:88:52:40:F6:23:A0:10:7B:3F:58:E9:C2:C7:6D:20:53:73:00:45:EF:A4:98:DD:A8:5B:40:4D:6A:21:B6:AF:BA"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.org"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122557Z",
            "not_valid_before": "20240921122657Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:27:09 -0400 (0:00:00.435)       0:00:22.560 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
                },
                "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.org"
                        }
                    ]
                },
                "subjectKeyIdentifier": {
                    "critical": false,
                    "value": "DD:BD:F4:2D:9A:1B:1F:B4:B3:BD:B8:9D:BA:74:72:91:6D:70:6C:02"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "5B:35:43:A4:E8:69:97:1E:C9:37:BB:AD:40:88:C1:A7:81:0D:BA:B1:B2:96:6F:9F:F0:48:B9:35:9A:65:09:33:9F:6F:64:7F:16:76:AF:3E:17:0C:37:AC:AF:6F:6C:74:2E:E8:9B:A3:50:A2:59:41:56:29:86:57:80:5B:B8:A2:CC:19:16:1B:57:A5:19:C0:B6:3E:01:70:92:EF:5C:33:B8:12:C6:95:C4:27:7B:5D:7A:BC:AC:4E:33:5E:38:5A:23:1C:16:ED:67:67:11:C4:9D:81:FC:90:DE:27:B7:F0:BF:CF:D5:11:E5:10:45:92:E9:4A:1E:3D:83:30:3B:06:86:21:BF:68:3F:CC:B4:27:20:9F:63:92:65:5A:8B:AC:16:63:66:46:8A:B4:AF:5F:D6:BE:67:57:6A:D3:EC:5A:23:8F:18:A2:9F:71:AD:00:B4:4F:04:FB:DB:41:50:68:A9:82:67:7B:5F:7A:1A:1F:C4:A5:BC:A7:E2:33:52:18:90:5C:4E:14:8B:13:FE:CD:2F:A7:33:35:9D:8B:BE:6F:BF:6B:8F:61:24:10:1E:BA:A9:BE:C6:4C:83:F9:0F:F2:88:52:40:F6:23:A0:10:7B:3F:58:E9:C2:C7:6D:20:53:73:00:45:EF:A4:98:DD:A8:5B:40:4D:6A:21:B6:AF:BA"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.org"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122557Z",
                "not_valid_before": "20240921122657Z"
            }
        }
    },
    "changed": false
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

STDOUT:

yes

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

MSG:

All assertions passed

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

TASK [Check if system is ostree] ***********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9
Saturday 21 September 2024  08:27:10 -0400 (0:00:00.051)       0:00:23.494 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14
Saturday 21 September 2024  08:27:10 -0400 (0:00:00.090)       0:00:23.584 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18
Saturday 21 September 2024  08:27:10 -0400 (0:00:00.059)       0:00:23.643 **** 
skipping: [managed_node2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Ensure python3 is installed] *********************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28
Saturday 21 September 2024  08:27:10 -0400 (0:00:00.046)       0:00:23.689 **** 
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-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38
Saturday 21 September 2024  08:27:13 -0400 (0:00:02.765)       0:00:26.455 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921618.2023735,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "99c725f1b4b7e549dcc7d51a39cc2736d35ab892",
        "ctime": 1726921618.1993735,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718644,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921618.1993735,
        "nlink": 1,
        "path": "/etc/pki/tls/certs/another-cert.crt",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1294,
        "uid": 0,
        "version": "2937444387",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Retrieve key file stats] *************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65
Saturday 21 September 2024  08:27:13 -0400 (0:00:00.047)       0:00:27.069 **** 
ok: [managed_node2] => {
    "changed": false,
    "stat": {
        "atime": 1726921618.1583724,
        "attr_flags": "",
        "attributes": [],
        "block_size": 4096,
        "blocks": 8,
        "charset": "us-ascii",
        "checksum": "bcb733662a951eadf75ce7c6624efb7e1c34be2d",
        "ctime": 1726921618.1993735,
        "dev": 51713,
        "device_type": 0,
        "executable": false,
        "exists": true,
        "gid": 0,
        "gr_name": "root",
        "inode": 7718643,
        "isblk": false,
        "ischr": false,
        "isdir": false,
        "isfifo": false,
        "isgid": false,
        "islnk": false,
        "isreg": true,
        "issock": false,
        "isuid": false,
        "mimetype": "text/plain",
        "mode": "0600",
        "mtime": 1726921618.1993735,
        "nlink": 1,
        "path": "/etc/pki/tls/private/another-cert.key",
        "pw_name": "root",
        "readable": true,
        "rgrp": false,
        "roth": false,
        "rusr": true,
        "size": 1704,
        "uid": 0,
        "version": "3287524538",
        "wgrp": false,
        "woth": false,
        "writeable": true,
        "wusr": true,
        "xgrp": false,
        "xoth": false,
        "xusr": false
    }
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Parse certificate] *******************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86
Saturday 21 September 2024  08:27:14 -0400 (0:00:00.039)       0:00:27.536 **** 
ok: [managed_node2] => {
    "certificate": {
        "extensions": {
            "authorityKeyIdentifier": {
                "critical": false,
                "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
            },
            "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.net"
                    }
                ]
            },
            "subjectKeyIdentifier": {
                "critical": false,
                "value": "39:B5:E1:82:B3:62:B2:F9:8E:1C:6B:F4:A0:8F:4F:61:53:42:58:E0"
            }
        },
        "key_size": 2048,
        "signature_algorithm": {
            "algorithm": "sha256WithRSAEncryption",
            "signature": "0F:38:73:15:0B:C9:AC:AF:AB:D5:C1:AB:53:10:F8:3C:22:BA:CD:08:79:8B:BB:06:72:B8:1D:1A:C2:D6:94:8B:64:46:79:AB:F3:EE:D5:18:32:50:F1:C6:8F:66:FD:16:E2:A1:F6:E1:A3:25:1A:B6:0F:67:2B:4A:29:F3:71:1C:29:93:2F:9B:67:0A:AB:77:B4:7B:FD:0E:25:57:9E:90:6C:98:24:31:3F:4E:41:16:B8:98:70:5C:BA:2B:9D:16:12:04:07:8E:D5:F1:B5:3E:55:D3:F2:57:DF:DB:DE:9F:59:14:67:C7:E2:2F:5B:1B:1E:46:1B:C4:DA:2C:21:EB:B3:32:83:37:02:27:14:BF:BC:B5:F8:68:22:07:A4:46:08:02:AF:11:9C:F4:84:53:91:E9:AC:15:36:C8:48:89:7A:78:3D:CD:CF:11:6F:3C:35:B5:88:5F:11:87:4E:F9:DC:59:99:00:4D:54:A6:DD:66:38:36:43:1B:04:2F:81:BF:B9:1E:F1:03:5F:C8:38:5B:FE:0F:07:2B:C7:4D:FD:A8:73:1B:73:E9:F5:DC:1D:59:2B:6E:FB:3F:87:6C:8B:AF:8C:3D:4A:BC:C0:46:E1:32:C3:51:54:11:45:08:94:7C:76:D8:F1:A7:16:25:79:5A:9A:BC:04:55:3F:7C:54"
        },
        "subject": [
            {
                "name": "commonName",
                "oid": "2.5.4.3",
                "value": "www.example.net"
            }
        ],
        "validity": {
            "not_valid_after": "20250921122557Z",
            "not_valid_before": "20240921122658Z"
        }
    },
    "changed": false
}

TASK [Load certificate YAML to cert_issued variable] ***************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92
Saturday 21 September 2024  08:27:14 -0400 (0:00:00.410)       0:00:27.947 **** 
ok: [managed_node2] => {
    "ansible_facts": {
        "cert_issued": {
            "extensions": {
                "authorityKeyIdentifier": {
                    "critical": false,
                    "value": "32:EB:9D:1F:79:FE:1B:4B:72:3B:AD:60:F8:35:28:4D:09:D5:DE:D5"
                },
                "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.net"
                        }
                    ]
                },
                "subjectKeyIdentifier": {
                    "critical": false,
                    "value": "39:B5:E1:82:B3:62:B2:F9:8E:1C:6B:F4:A0:8F:4F:61:53:42:58:E0"
                }
            },
            "key_size": 2048,
            "signature_algorithm": {
                "algorithm": "sha256WithRSAEncryption",
                "signature": "0F:38:73:15:0B:C9:AC:AF:AB:D5:C1:AB:53:10:F8:3C:22:BA:CD:08:79:8B:BB:06:72:B8:1D:1A:C2:D6:94:8B:64:46:79:AB:F3:EE:D5:18:32:50:F1:C6:8F:66:FD:16:E2:A1:F6:E1:A3:25:1A:B6:0F:67:2B:4A:29:F3:71:1C:29:93:2F:9B:67:0A:AB:77:B4:7B:FD:0E:25:57:9E:90:6C:98:24:31:3F:4E:41:16:B8:98:70:5C:BA:2B:9D:16:12:04:07:8E:D5:F1:B5:3E:55:D3:F2:57:DF:DB:DE:9F:59:14:67:C7:E2:2F:5B:1B:1E:46:1B:C4:DA:2C:21:EB:B3:32:83:37:02:27:14:BF:BC:B5:F8:68:22:07:A4:46:08:02:AF:11:9C:F4:84:53:91:E9:AC:15:36:C8:48:89:7A:78:3D:CD:CF:11:6F:3C:35:B5:88:5F:11:87:4E:F9:DC:59:99:00:4D:54:A6:DD:66:38:36:43:1B:04:2F:81:BF:B9:1E:F1:03:5F:C8:38:5B:FE:0F:07:2B:C7:4D:FD:A8:73:1B:73:E9:F5:DC:1D:59:2B:6E:FB:3F:87:6C:8B:AF:8C:3D:4A:BC:C0:46:E1:32:C3:51:54:11:45:08:94:7C:76:D8:F1:A7:16:25:79:5A:9A:BC:04:55:3F:7C:54"
            },
            "subject": [
                {
                    "name": "commonName",
                    "oid": "2.5.4.3",
                    "value": "www.example.net"
                }
            ],
            "validity": {
                "not_valid_after": "20250921122557Z",
                "not_valid_before": "20240921122658Z"
            }
        }
    },
    "changed": false
}

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

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

MSG:

All assertions passed

TASK [Retrieve auto-renew flag] ************************************************
task path: /tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143
Saturday 21 September 2024  08:27:14 -0400 (0:00:00.039)       0:00:28.183 **** 
ok: [managed_node2] => {
    "changed": false,
    "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'",
    "delta": "0:00:00.051418",
    "end": "2024-09-21 08:27:15.253380",
    "rc": 0,
    "start": "2024-09-21 08:27:15.201962"
}

STDOUT:

yes

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

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
managed_node2              : ok=68   changed=1    unreachable=0    failed=0    skipped=15   rescued=0    ignored=0   

Saturday 21 September 2024  08:27:15 -0400 (0:00:00.035)       0:00:28.618 **** 
=============================================================================== 
fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.03s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 
Ensure python3 is installed --------------------------------------------- 2.85s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
Ensure python3 is installed --------------------------------------------- 2.81s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
Ensure python3 is installed --------------------------------------------- 2.77s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 
fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.77s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 
fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.59s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 
Gathering Facts --------------------------------------------------------- 0.93s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 
fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.74s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 
Gathering Facts --------------------------------------------------------- 0.63s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 
Parse certificate ------------------------------------------------------- 0.56s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 
Retrieve auto-renew flag ------------------------------------------------ 0.54s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 
fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.53s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 
fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.48s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 
Retrieve certificate file stats ----------------------------------------- 0.44s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 
Retrieve certificate file stats ----------------------------------------- 0.44s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 
Parse certificate ------------------------------------------------------- 0.44s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 
Retrieve auto-renew flag ------------------------------------------------ 0.43s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 
Retrieve key file stats ------------------------------------------------- 0.42s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 
Parse certificate ------------------------------------------------------- 0.41s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 
Retrieve auto-renew flag ------------------------------------------------ 0.40s
/tmp/collections-X5b/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143