ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_basic_ipa.yml ************************************************** 1 plays in /tmp/collections-Wj8/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-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Monday 11 November 2024 20:15:07 -0500 (0:00:00.019) 0:00:00.019 ******* ok: [managed-node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Monday 11 November 2024 20:15:08 -0500 (0:00:01.138) 0:00:01.158 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Monday 11 November 2024 20:15:09 -0500 (0:00:00.506) 0:00:01.665 ******* ok: [managed-node1] => { "ansible_facts": { "__is_beaker_env": true }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Monday 11 November 2024 20:15:09 -0500 (0:00:00.030) 0:00:01.695 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Monday 11 November 2024 20:15:09 -0500 (0:00:00.373) 0:00:02.069 ******* ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Monday 11 November 2024 20:15:09 -0500 (0:00:00.031) 0:00:02.101 ******* fatal: [managed-node1 -> 127.0.0.1]: FAILED! => { "changed": false, "cmd": "dnf install -y python3-dnf", "rc": 0, "results": [] } STDOUT: Last metadata expiration check: 0:00:42 ago on Mon 11 Nov 2024 08:14:29 PM EST. Package python3-dnf-4.7.0-20.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete! MSG: Could not import the dnf python module using /usr/bin/python3.9 (3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]). Please install `python3-dnf` package or ensure you have specified the correct ansible_python_interpreter. PLAY RECAP ********************************************************************* managed-node1 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Monday 11 November 2024 20:15:14 -0500 (0:00:04.998) 0:00:07.099 ******* =============================================================================== Install ansible-freeipa ------------------------------------------------- 5.00s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Check if system is ostree ----------------------------------------------- 0.51s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Check if system is ostree ----------------------------------------------- 0.37s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Set __is_beaker_env ----------------------------------------------------- 0.03s /tmp/collections-Wj8/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2