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 '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_no_package_update.yml ****************************************** 1 plays in /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:3 Friday 20 September 2024 20:25:08 -0400 (0:00:00.026) 0:00:00.026 ****** ok: [managed_node2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:6 Friday 20 September 2024 20:25:09 -0400 (0:00:01.369) 0:00:01.395 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Save current package facts] ********************************************** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:10 Friday 20 September 2024 20:25:11 -0400 (0:00:01.492) 0:00:02.887 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Include role] ************************************************************ task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:15 Friday 20 September 2024 20:25:11 -0400 (0:00:00.279) 0:00:03.167 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 20 September 2024 20:25:11 -0400 (0:00:00.184) 0:00:03.352 ****** included: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 20 September 2024 20:25:11 -0400 (0:00:00.113) 0:00:03.465 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 20 September 2024 20:25:11 -0400 (0:00:00.093) 0:00:03.559 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 20 September 2024 20:25:12 -0400 (0:00:00.703) 0:00:04.262 ****** ok: [managed_node2] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 20 September 2024 20:25:12 -0400 (0:00:00.203) 0:00:04.465 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 20 September 2024 20:25:13 -0400 (0:00:00.478) 0:00:04.944 ****** ok: [managed_node2] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 20 September 2024 20:25:13 -0400 (0:00:00.128) 0:00:05.073 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (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.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 20 September 2024 20:25:13 -0400 (0:00:00.204) 0:00:05.277 ****** fatal: [managed_node2]: FAILED! => { "changed": false, "rc": 126, "results": [ "No package matching 'crypto-policies' found available, installed or updated" ] } MSG: No package matching 'crypto-policies' found available, installed or updated PLAY RECAP ********************************************************************* managed_node2 : ok=8 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Friday 20 September 2024 20:25:16 -0400 (0:00:03.217) 0:00:08.494 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 3.22s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.49s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:6 Gathering Facts --------------------------------------------------------- 1.37s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.70s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin --- 0.48s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Save current package facts ---------------------------------------------- 0.28s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:10 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.20s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.20s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Include role ------------------------------------------------------------ 0.18s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_no_package_update.yml:15 fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists --- 0.13s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.11s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.09s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2