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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml PLAY [Test issuing certificate with principal.] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:2 Saturday 25 April 2026 08:54:33 -0400 (0:00:00.032) 0:00:00.032 ******** ok: [managed-node3] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:11 Saturday 25 April 2026 08:54:34 -0400 (0:00:01.013) 0:00:01.045 ******** included: /tmp/collections-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Saturday 25 April 2026 08:54:34 -0400 (0:00:00.035) 0:00:01.081 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Saturday 25 April 2026 08:54:34 -0400 (0:00:00.054) 0:00:01.136 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 25 April 2026 08:54:34 -0400 (0:00:00.271) 0:00:01.407 ******** included: /tmp/collections-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 25 April 2026 08:54:34 -0400 (0:00:00.028) 0:00:01.436 ******** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 25 April 2026 08:54:35 -0400 (0:00:00.421) 0:00:01.858 ******** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Saturday 25 April 2026 08:54:35 -0400 (0:00:00.411) 0:00:02.269 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Saturday 25 April 2026 08:54:35 -0400 (0:00:00.379) 0:00:02.648 ******** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Saturday 25 April 2026 08:54:35 -0400 (0:00:00.033) 0:00:02.682 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007599", "end": "2026-04-25 08:54:36.235584", "failed_when_result": false, "rc": 0, "start": "2026-04-25 08:54:36.227985" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Saturday 25 April 2026 08:54:36 -0400 (0:00:00.418) 0:00:03.101 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Saturday 25 April 2026 08:54:36 -0400 (0:00:00.032) 0:00:03.133 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Saturday 25 April 2026 08:54:36 -0400 (0:00:00.034) 0:00:03.168 ******** 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-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 25 April 2026 08:54:36 -0400 (0:00:00.069) 0:00:03.238 ******** 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" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Saturday 25 April 2026 08:54:37 -0400 (0:00:01.525) 0:00:04.763 ******** 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" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Saturday 25 April 2026 08:54:38 -0400 (0:00:00.841) 0:00:05.605 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Saturday 25 April 2026 08:54:39 -0400 (0:00:00.528) 0:00:06.134 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Saturday 25 April 2026 08:54:39 -0400 (0:00:00.311) 0:00:06.446 ******** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-04-25 08:53:19 EDT", "ActiveEnterTimestampMonotonic": "201513551", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target basic.target system.slice dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-04-25 08:53:19 EDT", "AssertTimestampMonotonic": "201486097", "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": "Sat 2026-04-25 08:53:19 EDT", "ConditionTimestampMonotonic": "201486096", "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": "10061", "ExecMainStartTimestamp": "Sat 2026-04-25 08:53:19 EDT", "ExecMainStartTimestampMonotonic": "201486590", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2026-04-25 08:53:19 EDT] ; stop_time=[n/a] ; pid=10061 ; 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": "Sat 2026-04-25 08:53:19 EDT", "InactiveExitTimestampMonotonic": "201486961", "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": "10061", "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": "basic.target system.slice", "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": "Sat 2026-04-25 08:53:19 EDT", "WatchdogTimestampMonotonic": "201513419", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Saturday 25 April 2026 08:54:40 -0400 (0:00:00.916) 0:00:07.362 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.781) 0:00:08.144 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.025) 0:00:08.169 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.054) 0:00:08.223 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.028) 0:00:08.252 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.027) 0:00:08.280 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.022) 0:00:08.303 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.027) 0:00:08.330 ******** ok: [managed-node3] => { "changed": false } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:14 Saturday 25 April 2026 08:54:41 -0400 (0:00:00.333) 0:00:08.663 ******** ok: [managed-node3] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:17 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.556) 0:00:09.220 ******** TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.052) 0:00:09.272 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.030) 0:00:09.303 ******** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.308) 0:00:09.612 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.042) 0:00:09.655 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.023) 0:00:09.678 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.021) 0:00:09.699 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.022) 0:00:09.722 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Saturday 25 April 2026 08:54:42 -0400 (0:00:00.017) 0:00:09.740 ******** 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-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:40 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.071) 0:00:09.812 ******** included: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.063) 0:00:09.876 ******** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.023) 0:00:09.899 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.021) 0:00:09.921 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.022) 0:00:09.943 ******** 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" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.566) 0:00:10.510 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Saturday 25 April 2026 08:54:43 -0400 (0:00:00.025) 0:00:10.536 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1777121681.2324295, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4e139b976de3df39b89aee0e3fd4a1d75985c462", "ctime": 1777121681.2284296, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1777121681.2284296, "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": "18446744072233305976", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.331) 0:00:10.867 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.037) 0:00:10.905 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.048) 0:00:10.953 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.038) 0:00:10.992 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1777121681.1864295, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4e72e73b33475811c475d895ae418ee16bc20f33", "ctime": 1777121681.2284296, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1777121681.2284296, "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": "18446744072233305963", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.318) 0:00:11.311 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.039) 0:00:11.350 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Saturday 25 April 2026 08:54:44 -0400 (0:00:00.056) 0:00:11.406 ******** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "8A:47:43:6E:53:C5:F1:5D:BA:8E:A9:77:CC:E5:DF:74:FA:CD:CF:38" }, "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": "AB:3E:A1:45:07:8C:A2:1E:25:DF:1B:59:AB:92:6B:D2:F2:3B:4D:16" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "77:C1:08:08:16:52:21:F9:9C:35:F7:82:85:30:3F:2E:C7:E3:15:71:08:21:EB:C3:E5:92:D3:3E:5C:2C:1D:82:EB:57:6C:C5:E9:9A:23:2C:72:AA:C6:E3:76:BB:AD:19:D0:F5:0B:1E:92:AA:13:0E:4A:7E:8D:12:C6:7B:53:AA:51:69:2C:A1:47:86:04:3F:E2:6A:46:08:F4:E2:40:C2:8B:76:DF:98:4D:D2:9B:AC:DE:E1:98:1C:44:1B:85:EE:3E:F9:2D:1A:48:0A:8E:A8:AB:79:A8:8F:88:83:2D:8E:B3:A5:B9:62:0B:67:7F:DA:8E:C2:3A:BF:7E:CE:8E:D4:86:80:3D:D1:8B:EB:1B:46:CF:03:FB:DE:AF:14:65:5A:5F:C2:1D:F1:36:6F:99:84:AF:B3:AD:A5:DE:0F:DE:BD:7E:7F:03:AF:0F:40:2C:32:5D:22:A8:A0:35:15:CB:F5:DB:BC:F0:07:93:84:E6:46:6A:86:A1:8A:92:5A:51:F3:AD:FA:97:BC:CD:21:BD:9E:22:92:57:0B:1E:B1:5E:A9:67:AE:95:93:8B:43:AB:8E:B4:A7:19:80:AC:14:E1:8A:38:58:03:26:75:ED:97:E1:28:C1:53:8A:50:96:E4:C6:47:29:5E:70:3A:3B:1E:C5:97:B1:7C:F2:05:31:DC:63" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270425125319Z", "not_valid_before": "20260425125441Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.554) 0:00:11.961 ******** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "8A:47:43:6E:53:C5:F1:5D:BA:8E:A9:77:CC:E5:DF:74:FA:CD:CF:38" }, "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": "AB:3E:A1:45:07:8C:A2:1E:25:DF:1B:59:AB:92:6B:D2:F2:3B:4D:16" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "77:C1:08:08:16:52:21:F9:9C:35:F7:82:85:30:3F:2E:C7:E3:15:71:08:21:EB:C3:E5:92:D3:3E:5C:2C:1D:82:EB:57:6C:C5:E9:9A:23:2C:72:AA:C6:E3:76:BB:AD:19:D0:F5:0B:1E:92:AA:13:0E:4A:7E:8D:12:C6:7B:53:AA:51:69:2C:A1:47:86:04:3F:E2:6A:46:08:F4:E2:40:C2:8B:76:DF:98:4D:D2:9B:AC:DE:E1:98:1C:44:1B:85:EE:3E:F9:2D:1A:48:0A:8E:A8:AB:79:A8:8F:88:83:2D:8E:B3:A5:B9:62:0B:67:7F:DA:8E:C2:3A:BF:7E:CE:8E:D4:86:80:3D:D1:8B:EB:1B:46:CF:03:FB:DE:AF:14:65:5A:5F:C2:1D:F1:36:6F:99:84:AF:B3:AD:A5:DE:0F:DE:BD:7E:7F:03:AF:0F:40:2C:32:5D:22:A8:A0:35:15:CB:F5:DB:BC:F0:07:93:84:E6:46:6A:86:A1:8A:92:5A:51:F3:AD:FA:97:BC:CD:21:BD:9E:22:92:57:0B:1E:B1:5E:A9:67:AE:95:93:8B:43:AB:8E:B4:A7:19:80:AC:14:E1:8A:38:58:03:26:75:ED:97:E1:28:C1:53:8A:50:96:E4:C6:47:29:5E:70:3A:3B:1E:C5:97:B1:7C:F2:05:31:DC:63" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270425125319Z", "not_valid_before": "20260425125441Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.048) 0:00:12.010 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.041) 0:00:12.051 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.032) 0:00:12.083 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.030) 0:00:12.114 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.037) 0:00:12.151 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.033) 0:00:12.185 ******** 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.043646", "end": "2026-04-25 08:54:45.648671", "rc": 0, "start": "2026-04-25 08:54:45.605025" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.316) 0:00:12.502 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Saturday 25 April 2026 08:54:45 -0400 (0:00:00.031) 0:00:12.533 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.277) 0:00:12.811 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.026) 0:00:12.838 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.018) 0:00:12.856 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.020) 0:00:12.877 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.020) 0:00:12.897 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.023) 0:00:12.920 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:46 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.033) 0:00:12.954 ******** ok: [managed-node3] META: ran handlers TASK [Import certificate role] ************************************************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:60 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.610) 0:00:13.565 ******** included: /tmp/collections-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.024) 0:00:13.590 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.016) 0:00:13.607 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.049) 0:00:13.657 ******** included: /tmp/collections-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 25 April 2026 08:54:46 -0400 (0:00:00.027) 0:00:13.684 ******** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.416) 0:00:14.100 ******** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.287) 0:00:14.388 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.017) 0:00:14.406 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.020) 0:00:14.426 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.017) 0:00:14.443 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.019) 0:00:14.462 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.017) 0:00:14.480 ******** 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-MVw/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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 25 April 2026 08:54:47 -0400 (0:00:00.060) 0:00:14.541 ******** 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" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Saturday 25 April 2026 08:54:49 -0400 (0:00:01.311) 0:00:15.853 ******** 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" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Saturday 25 April 2026 08:54:49 -0400 (0:00:00.864) 0:00:16.718 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Saturday 25 April 2026 08:54:50 -0400 (0:00:00.318) 0:00:17.037 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Saturday 25 April 2026 08:54:50 -0400 (0:00:00.305) 0:00:17.342 ******** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-04-25 08:53:19 EDT", "ActiveEnterTimestampMonotonic": "201513551", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target basic.target system.slice dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-04-25 08:53:19 EDT", "AssertTimestampMonotonic": "201486097", "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": "Sat 2026-04-25 08:53:19 EDT", "ConditionTimestampMonotonic": "201486096", "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": "10061", "ExecMainStartTimestamp": "Sat 2026-04-25 08:53:19 EDT", "ExecMainStartTimestampMonotonic": "201486590", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2026-04-25 08:53:19 EDT] ; stop_time=[n/a] ; pid=10061 ; 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": "Sat 2026-04-25 08:53:19 EDT", "InactiveExitTimestampMonotonic": "201486961", "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": "10061", "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": "basic.target system.slice", "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": "Sat 2026-04-25 08:53:19 EDT", "WatchdogTimestampMonotonic": "201513419", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Saturday 25 April 2026 08:54:51 -0400 (0:00:00.659) 0:00:18.001 ******** 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-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:66 Saturday 25 April 2026 08:54:51 -0400 (0:00:00.438) 0:00:18.440 ******** 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-25T12:54:51.622640Z", "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-25T12:54:51.192289Z", "task_name": "Ensure certificate requests", "task_path": "/tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 25 April 2026 08:54:51 -0400 (0:00:00.026) 0:00:18.466 ******** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.53s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.31s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.01s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.92s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.86s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.84s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.78s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.66s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:46 Ensure python2 is installed --------------------------------------------- 0.57s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Gathering Facts --------------------------------------------------------- 0.56s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_principal.yml:14 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.53s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.44s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.42s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.42s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.42s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.41s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.38s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.33s /tmp/collections-MVw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185