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_update.yml ***************************************************** 1 plays in /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Friday 20 September 2024 20:25:15 -0400 (0:00:00.024) 0:00:00.024 ****** ok: [managed_node1] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Friday 20 September 2024 20:25:16 -0400 (0:00:00.863) 0:00:00.888 ****** 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:16 -0400 (0:00:00.105) 0:00:00.994 ****** included: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 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:16 -0400 (0:00:00.035) 0:00:01.029 ****** skipping: [managed_node1] => { "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:16 -0400 (0:00:00.043) 0:00:01.073 ****** ok: [managed_node1] => { "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:16 -0400 (0:00:00.431) 0:00:01.505 ****** ok: [managed_node1] => { "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:16 -0400 (0:00:00.045) 0:00:01.550 ****** ok: [managed_node1] => { "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:17 -0400 (0:00:00.428) 0:00:01.979 ****** ok: [managed_node1] => { "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:17 -0400 (0:00:00.064) 0:00:02.044 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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:17 -0400 (0:00:00.104) 0:00:02.148 ****** fatal: [managed_node1]: 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 TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Friday 20 September 2024 20:25:18 -0400 (0:00:01.497) 0:00:03.645 ****** 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:18 -0400 (0:00:00.191) 0:00:03.837 ****** included: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 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:19 -0400 (0:00:00.088) 0:00:03.926 ****** skipping: [managed_node1] => { "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:19 -0400 (0:00:00.074) 0:00:04.000 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was 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:19 -0400 (0:00:00.057) 0:00:04.058 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was 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:19 -0400 (0:00:00.066) 0:00:04.124 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was 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:19 -0400 (0:00:00.058) 0:00:04.183 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was 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:19 -0400 (0:00:00.056) 0:00:04.240 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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:19 -0400 (0:00:00.099) 0:00:04.340 ****** fatal: [managed_node1]: 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_node1 : ok=7 changed=0 unreachable=0 failed=2 skipped=8 rescued=0 ignored=0 Friday 20 September 2024 20:25:20 -0400 (0:00:01.438) 0:00:05.778 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.50s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.44s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.86s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.43s /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.43s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Restore policy to DEFAULT ----------------------------------------------- 0.19s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Set correct base policy ------------------------------------------------- 0.11s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.10s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.10s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.09s /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.07s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.07s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists --- 0.06s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin --- 0.06s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.06s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists --- 0.06s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.05s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.04s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.04s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3