[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-J0K executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_basic_ipa.yml ************************************************** 1 plays in /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml PLAY [Test using IPA to issue certs] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Monday 23 September 2024 08:28:19 -0400 (0:00:00.019) 0:00:00.019 ****** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Monday 23 September 2024 08:28:22 -0400 (0:00:03.426) 0:00:03.446 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Skip if not supported] *************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18 Monday 23 September 2024 08:28:23 -0400 (0:00:00.493) 0:00:03.939 ****** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Monday 23 September 2024 08:28:23 -0400 (0:00:00.009) 0:00:03.948 ****** ok: [managed_node1] => { "ansible_facts": { "__is_beaker_env": true }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Monday 23 September 2024 08:28:23 -0400 (0:00:00.038) 0:00:03.986 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Monday 23 September 2024 08:28:23 -0400 (0:00:00.325) 0:00:04.312 ****** ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Monday 23 September 2024 08:28:23 -0400 (0:00:00.020) 0:00:04.332 ****** changed: [managed_node1 -> 127.0.0.1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-cryptography-43.0.0-3.el10.x86_64", "Installed: python3-argcomplete-3.2.2-3.el10.noarch", "Installed: python3-resolvelib-1.0.1-5.el10.noarch", "Installed: python3-ply-3.11-24.el10.noarch", "Installed: python3-pycparser-2.20-15.el10.noarch", "Installed: ansible-core-1:2.16.3-3.el10.noarch", "Installed: ansible-freeipa-1.13.2-1.el10.noarch", "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-packaging-23.2-5.el10.noarch" ] } TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Monday 23 September 2024 08:28:32 -0400 (0:00:08.634) 0:00:12.967 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Monday 23 September 2024 08:28:32 -0400 (0:00:00.012) 0:00:12.979 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Create role symlinks] **************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Monday 23 September 2024 08:28:32 -0400 (0:00:00.012) 0:00:12.992 ****** skipping: [managed_node1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaserver", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaclient", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Ensure hostname package is installed] ************************************ task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Monday 23 September 2024 08:28:32 -0400 (0:00:00.017) 0:00:13.010 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Set hostname] ************************************************************ task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Monday 23 September 2024 08:28:39 -0400 (0:00:07.092) 0:00:20.102 ****** changed: [managed_node1] => { "ansible_facts": { "ansible_domain": "test.local", "ansible_fqdn": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local" }, "changed": true, "name": "ipaserver.test.local" } TASK [Ensure nss package is up-to-date] **************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Monday 23 September 2024 08:28:40 -0400 (0:00:00.743) 0:00:20.845 ****** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: nss-3.101.0-7.el10.x86_64", "Installed: nss-softokn-3.101.0-7.el10.x86_64", "Installed: nss-softokn-freebl-3.101.0-7.el10.x86_64", "Installed: nss-sysinit-3.101.0-7.el10.x86_64", "Installed: nss-util-3.101.0-7.el10.x86_64", "Installed: nspr-4.35.0-28.el10.x86_64" ] } TASK [Include ipaserver role] ************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Monday 23 September 2024 08:28:44 -0400 (0:00:04.077) 0:00:24.923 ****** ERROR! the role 'ipaserver' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate The error appears to be in '/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 84, column 15, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: ipaserver ^ here fatal: [managed_node1]: FAILED! => { "changed": false, "reason": "the role 'ipaserver' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate\n\nThe error appears to be in '/tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 84, column 15, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n include_role:\n name: ipaserver\n ^ here\n" } TASK [FAILURE - check entropy] ************************************************* task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:86 Monday 23 September 2024 08:28:44 -0400 (0:00:00.016) 0:00:24.939 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/proc/sys/kernel/random/entropy_avail" ], "delta": "0:00:00.003020", "end": "2024-09-23 08:28:44.800039", "rc": 0, "start": "2024-09-23 08:28:44.797019" } STDOUT: 256 TASK [FAILURE - get logs for debugging] **************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:89 Monday 23 September 2024 08:28:44 -0400 (0:00:00.441) 0:00:25.380 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\ncd /var/log\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\nchmod '0644' /tmp/ipalogs.tgz", "delta": "0:00:00.046268", "end": "2024-09-23 08:28:45.283530", "rc": 0, "start": "2024-09-23 08:28:45.237262" } TASK [FAILURE - grab archive] ************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:100 Monday 23 September 2024 08:28:45 -0400 (0:00:00.455) 0:00:25.836 ****** changed: [managed_node1] => { "changed": true, "checksum": "a44722dbe299188db0d2f0dee5306031772eeda1", "dest": "/tmp/ipalogs.tgz", "md5sum": "4a0816d0de93c2b76b4adb184df4965a", "remote_checksum": "a44722dbe299188db0d2f0dee5306031772eeda1", "remote_md5sum": null } TASK [FAILURE - unpack archive] ************************************************ task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:105 Monday 23 September 2024 08:28:45 -0400 (0:00:00.494) 0:00:26.330 ****** ok: [managed_node1 -> 127.0.0.1] => { "changed": false, "cmd": "set -euo pipefail\ncd \"/tmp\"\ntar -xvzf ipalogs.tgz\nchmod 0644 *", "delta": "0:00:00.095683", "end": "2024-09-23 08:28:46.125177", "rc": 0, "start": "2024-09-23 08:28:46.029494" } STDOUT: messages TASK [Failed] ****************************************************************** task path: /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:113 Monday 23 September 2024 08:28:46 -0400 (0:00:00.338) 0:00:26.669 ****** fatal: [managed_node1]: FAILED! => { "changed": false } MSG: failed PLAY RECAP ********************************************************************* managed_node1 : ok=13 changed=4 unreachable=0 failed=2 skipped=3 rescued=0 ignored=0 Monday 23 September 2024 08:28:46 -0400 (0:00:00.018) 0:00:26.688 ****** =============================================================================== Install ansible-freeipa ------------------------------------------------- 8.63s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Ensure hostname package is installed ------------------------------------ 7.09s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Ensure nss package is up-to-date ---------------------------------------- 4.08s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Gathering Facts --------------------------------------------------------- 3.43s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Set hostname ------------------------------------------------------------ 0.74s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 FAILURE - grab archive -------------------------------------------------- 0.49s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:100 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 FAILURE - get logs for debugging ---------------------------------------- 0.46s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:89 FAILURE - check entropy ------------------------------------------------- 0.44s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:86 FAILURE - unpack archive ------------------------------------------------ 0.34s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:105 Check if system is ostree ----------------------------------------------- 0.33s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Set __is_beaker_env ----------------------------------------------------- 0.04s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Failed ------------------------------------------------------------------ 0.02s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:113 Create role symlinks ---------------------------------------------------- 0.02s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Include ipaserver role -------------------------------------------------- 0.02s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Ensure freeipa-repo is absent ------------------------------------------- 0.01s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Clone ansible-freeipa repo ---------------------------------------------- 0.01s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Skip if not supported --------------------------------------------------- 0.01s /tmp/collections-J0K/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18