ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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 'jsonl', 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_principal.yml ************************************************** 3 plays in /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml PLAY [Test issuing certificate with principal.] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:2 Wednesday 22 April 2026 14:06:21 -0400 (0:00:00.032) 0:00:00.032 ******* ok: [managed-node3] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:11 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.859) 0:00:00.892 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node3 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.022) 0:00:00.914 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.033) 0:00:00.947 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.176) 0:00:01.123 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.028) 0:00:01.152 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 14:06:22 -0400 (0:00:00.396) 0:00:01.549 ******* ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 14:06:23 -0400 (0:00:00.529) 0:00:02.078 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 14:06:23 -0400 (0:00:00.487) 0:00:02.565 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 14:06:23 -0400 (0:00:00.031) 0:00:02.597 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007641", "end": "2026-04-22 14:06:24.067718", "failed_when_result": false, "rc": 0, "start": "2026-04-22 14:06:24.060077" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 14:06:24 -0400 (0:00:00.386) 0:00:02.984 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 14:06:24 -0400 (0:00:00.020) 0:00:03.004 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 14:06:24 -0400 (0:00:00.023) 0:00:03.028 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 22 April 2026 14:06:24 -0400 (0:00:00.052) 0:00:03.080 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 22 April 2026 14:06:25 -0400 (0:00:01.479) 0:00:04.559 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 22 April 2026 14:06:26 -0400 (0:00:00.810) 0:00:05.370 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 22 April 2026 14:06:26 -0400 (0:00:00.471) 0:00:05.841 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 22 April 2026 14:06:27 -0400 (0:00:00.323) 0:00:06.165 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ActiveEnterTimestampMonotonic": "212731407", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-22 14:05:03 EDT", "AssertTimestampMonotonic": "212703689", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ConditionTimestampMonotonic": "212703688", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10009", "ExecMainStartTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ExecMainStartTimestampMonotonic": "212704181", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Wed 2026-04-22 14:05:03 EDT] ; stop_time=[n/a] ; pid=10009 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2026-04-22 14:05:03 EDT", "InactiveExitTimestampMonotonic": "212704235", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10009", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2026-04-22 14:05:03 EDT", "WatchdogTimestampMonotonic": "212731297", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 22 April 2026 14:06:28 -0400 (0:00:00.845) 0:00:07.011 ******* changed: [managed-node3] => (item={u'ca': u'self-sign', u'name': u'mycert_principal', u'dns': u'www.example.com', u'principal': u'HTTP/www.example.com@EXAMPLE.COM'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_principal", "principal": "HTTP/www.example.com@EXAMPLE.COM" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.908) 0:00:07.920 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.028) 0:00:07.948 ******* skipping: [managed-node3] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_principal', u'dns': u'www.example.com', u'principal': u'HTTP/www.example.com@EXAMPLE.COM'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_principal", "principal": "HTTP/www.example.com@EXAMPLE.COM" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_principal', u'dns': u'www.example.com', u'principal': u'HTTP/www.example.com@EXAMPLE.COM'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_principal", "principal": "HTTP/www.example.com@EXAMPLE.COM" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_principal', u'dns': u'www.example.com', u'principal': u'HTTP/www.example.com@EXAMPLE.COM'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_principal", "principal": "HTTP/www.example.com@EXAMPLE.COM" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.044) 0:00:07.992 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.023) 0:00:08.016 ******* skipping: [managed-node3] => (item=mycert_principal) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_principal", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.029) 0:00:08.046 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.017) 0:00:08.064 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role success fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.020) 0:00:08.084 ******* ok: [managed-node3] => { "changed": false } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:14 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.266) 0:00:08.351 ******* ok: [managed-node3] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:17 Wednesday 22 April 2026 14:06:29 -0400 (0:00:00.497) 0:00:08.848 ******* TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.029) 0:00:08.877 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.019) 0:00:08.897 ******* ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.272) 0:00:09.170 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.016) 0:00:09.186 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.019) 0:00:09.206 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.020) 0:00:09.227 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.018) 0:00:09.246 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.020) 0:00:09.266 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:40 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.073) 0:00:09.339 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.061) 0:00:09.401 ******* ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.023) 0:00:09.425 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.028) 0:00:09.453 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 22 April 2026 14:06:30 -0400 (0:00:00.023) 0:00:09.477 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.518) 0:00:09.996 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.028) 0:00:10.024 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1776881188.8738813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d8ef2dc2de6169e0a8f2910caa4a7b4151a3711b", "ctime": 1776881188.8688812, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776881188.8688812, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_principal.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1456, "uid": 0, "version": "18446744073560371355", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.285) 0:00:10.310 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.036) 0:00:10.346 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.044) 0:00:10.391 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.041) 0:00:10.433 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1776881188.8278809, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "26412fa880567545a6d1dcf32cf8b8db4cc7184c", "ctime": 1776881188.8688812, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776881188.8688812, "nlink": 1, "path": "/etc/pki/tls/private/mycert_principal.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744073560371342", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.308) 0:00:10.741 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.025) 0:00:10.766 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 22 April 2026 14:06:31 -0400 (0:00:00.029) 0:00:10.795 ******* ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C4:24:28:74:08:B9:F7:7B:AC:17:C8:F6:FC:BC:21:2F:F1:37:20:40" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/www.example.com@EXAMPLE.COM" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/www.example.com@EXAMPLE.COM" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "67:E4:85:16:44:38:CB:17:10:A8:7A:21:41:4B:7A:CF:60:D5:52:B6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "02:0A:54:13:52:59:0D:68:0F:79:64:85:D8:50:54:C4:52:04:6E:73:F5:D2:59:43:A7:50:2D:23:38:60:D9:59:3B:7C:FE:0A:F8:21:2B:12:B3:06:DB:AB:AC:B5:BA:41:34:F6:07:82:88:94:68:BB:76:A4:C5:AF:2A:F2:F6:14:CF:AB:F1:6E:7E:19:99:D3:00:BD:E6:0E:AE:9A:23:ED:32:4A:1E:4C:34:61:76:69:2E:9C:DE:40:41:9E:84:39:DF:6B:C2:DE:77:F0:68:58:7C:ED:42:C6:3E:F2:DF:D0:D3:AE:48:E4:93:99:F2:E7:3D:8B:C5:1D:3B:9B:45:CC:12:03:64:59:36:42:5E:29:C1:3A:34:58:A7:C9:21:A2:1B:C1:D6:CC:AB:C5:E8:4A:B7:AA:8A:A1:4C:44:27:88:92:CE:2E:10:CA:DE:6C:8D:11:29:63:39:86:83:C1:BB:A9:1B:27:DB:2E:42:E5:4F:DF:08:CF:10:B0:85:04:DF:02:9F:F8:E3:84:13:C3:52:3F:7C:1C:24:E9:94:09:A5:DD:8A:68:80:2B:49:B5:E4:AB:26:DF:F6:38:7D:AB:C9:E2:83:12:F2:A8:E5:DB:0D:65:74:C0:29:6E:F1:71:EB:28:63:70:07:02:F8:2D:2C:42:71:61:5A:D6:67:48:FE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270422180503Z", "not_valid_before": "20260422180628Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.493) 0:00:11.289 ******* ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C4:24:28:74:08:B9:F7:7B:AC:17:C8:F6:FC:BC:21:2F:F1:37:20:40" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/www.example.com@EXAMPLE.COM" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/www.example.com@EXAMPLE.COM" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "67:E4:85:16:44:38:CB:17:10:A8:7A:21:41:4B:7A:CF:60:D5:52:B6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "02:0A:54:13:52:59:0D:68:0F:79:64:85:D8:50:54:C4:52:04:6E:73:F5:D2:59:43:A7:50:2D:23:38:60:D9:59:3B:7C:FE:0A:F8:21:2B:12:B3:06:DB:AB:AC:B5:BA:41:34:F6:07:82:88:94:68:BB:76:A4:C5:AF:2A:F2:F6:14:CF:AB:F1:6E:7E:19:99:D3:00:BD:E6:0E:AE:9A:23:ED:32:4A:1E:4C:34:61:76:69:2E:9C:DE:40:41:9E:84:39:DF:6B:C2:DE:77:F0:68:58:7C:ED:42:C6:3E:F2:DF:D0:D3:AE:48:E4:93:99:F2:E7:3D:8B:C5:1D:3B:9B:45:CC:12:03:64:59:36:42:5E:29:C1:3A:34:58:A7:C9:21:A2:1B:C1:D6:CC:AB:C5:E8:4A:B7:AA:8A:A1:4C:44:27:88:92:CE:2E:10:CA:DE:6C:8D:11:29:63:39:86:83:C1:BB:A9:1B:27:DB:2E:42:E5:4F:DF:08:CF:10:B0:85:04:DF:02:9F:F8:E3:84:13:C3:52:3F:7C:1C:24:E9:94:09:A5:DD:8A:68:80:2B:49:B5:E4:AB:26:DF:F6:38:7D:AB:C9:E2:83:12:F2:A8:E5:DB:0D:65:74:C0:29:6E:F1:71:EB:28:63:70:07:02:F8:2D:2C:42:71:61:5A:D6:67:48:FE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270422180503Z", "not_valid_before": "20260422180628Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.037) 0:00:11.326 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.036) 0:00:11.363 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.024) 0:00:11.387 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.025) 0:00:11.413 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.031) 0:00:11.445 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.032) 0:00:11.477 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_principal.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044192", "end": "2026-04-22 14:06:32.882805", "rc": 0, "start": "2026-04-22 14:06:32.838613" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.335) 0:00:11.813 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 22 April 2026 14:06:32 -0400 (0:00:00.043) 0:00:11.856 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.268) 0:00:12.125 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.021) 0:00:12.147 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.016) 0:00:12.163 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.016) 0:00:12.179 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.016) 0:00:12.195 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.017) 0:00:12.213 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Test issuing certificate with invalid principal.] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:46 Wednesday 22 April 2026 14:06:33 -0400 (0:00:00.019) 0:00:12.233 ******* ok: [managed-node3] META: ran handlers TASK [Import certificate role] ************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:60 Wednesday 22 April 2026 14:06:34 -0400 (0:00:01.545) 0:00:13.779 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node3 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 14:06:34 -0400 (0:00:00.082) 0:00:13.861 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.032) 0:00:13.894 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.083) 0:00:13.977 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.050) 0:00:14.028 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.510) 0:00:14.538 ******* ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.268) 0:00:14.806 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.025) 0:00:14.831 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.019) 0:00:14.851 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 14:06:35 -0400 (0:00:00.018) 0:00:14.870 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 14:06:36 -0400 (0:00:00.015) 0:00:14.885 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 14:06:36 -0400 (0:00:00.022) 0:00:14.908 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 22 April 2026 14:06:36 -0400 (0:00:00.052) 0:00:14.961 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 22 April 2026 14:06:37 -0400 (0:00:01.262) 0:00:16.223 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 22 April 2026 14:06:38 -0400 (0:00:00.785) 0:00:17.009 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 22 April 2026 14:06:38 -0400 (0:00:00.338) 0:00:17.347 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 22 April 2026 14:06:38 -0400 (0:00:00.363) 0:00:17.711 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ActiveEnterTimestampMonotonic": "212731407", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-22 14:05:03 EDT", "AssertTimestampMonotonic": "212703689", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ConditionTimestampMonotonic": "212703688", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10009", "ExecMainStartTimestamp": "Wed 2026-04-22 14:05:03 EDT", "ExecMainStartTimestampMonotonic": "212704181", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Wed 2026-04-22 14:05:03 EDT] ; stop_time=[n/a] ; pid=10009 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2026-04-22 14:05:03 EDT", "InactiveExitTimestampMonotonic": "212704235", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10009", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2026-04-22 14:05:03 EDT", "WatchdogTimestampMonotonic": "212731297", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.651) 0:00:18.363 ******* failed: [managed-node3] (item={u'ca': u'self-sign', u'name': u'mycertinvalid', u'dns': u'www.example.com', u'principal': u'HTTP/abc'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycertinvalid", "principal": "HTTP/abc" } } MSG: Invalid principal 'HTTP/abc'. It should be formatted as 'primary/instance@REALM' TASK [Assert...] *************************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:66 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.418) 0:00:18.781 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=53 changed=1 unreachable=0 failed=0 skipped=28 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2026-04-22T18:06:39.903586Z", "host": "managed-node3", "loop_item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycertinvalid", "principal": "HTTP/abc" }, "loop_label": "", "loop_var": "item", "message": "Invalid principal 'HTTP/abc'. It should be formatted as 'primary/instance@REALM'", "start_time": "2026-04-22T18:06:39.488406Z", "task_name": "Ensure certificate requests", "task_path": "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.028) 0:00:18.810 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.55s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:46 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.48s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.26s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.91s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 0.86s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.85s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.81s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.79s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.65s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.53s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Ensure python2 is installed --------------------------------------------- 0.52s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.51s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Gathering Facts --------------------------------------------------------- 0.50s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:14 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.49s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.47s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.42s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.40s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.39s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.36s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49