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_reboot.yml ***************************************************** 1 plays in /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml:3 Friday 20 September 2024 20:25:06 -0400 (0:00:00.096) 0:00:00.096 ****** ok: [managed_node1] META: ran handlers TASK [Ensure we can set crypto policy including reboot of the system] ********** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml:11 Friday 20 September 2024 20:25:07 -0400 (0:00:01.442) 0:00:01.539 ****** 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:07 -0400 (0:00:00.152) 0:00:01.691 ****** 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:07 -0400 (0:00:00.055) 0:00:01.747 ****** 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:07 -0400 (0:00:00.101) 0:00:01.849 ****** 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:08 -0400 (0:00:00.511) 0:00:02.360 ****** 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:08 -0400 (0:00:00.043) 0:00:02.404 ****** 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:08 -0400 (0:00:00.323) 0:00:02.728 ****** 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:08 -0400 (0:00:00.059) 0:00:02.788 ****** 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:08 -0400 (0:00:00.073) 0:00:02.861 ****** 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_reboot.yml:29 Friday 20 September 2024 20:25:12 -0400 (0:00:03.086) 0:00:05.948 ****** 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:12 -0400 (0:00:00.094) 0:00:06.043 ****** 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:12 -0400 (0:00:00.122) 0:00:06.165 ****** 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:12 -0400 (0:00:00.056) 0:00:06.221 ****** 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:12 -0400 (0:00:00.100) 0:00:06.322 ****** 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:12 -0400 (0:00:00.114) 0:00:06.436 ****** 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:12 -0400 (0:00:00.074) 0:00:06.511 ****** 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:12 -0400 (0:00:00.077) 0:00:06.589 ****** 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:12 -0400 (0:00:00.136) 0:00:06.725 ****** 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:14 -0400 (0:00:01.241) 0:00:07.966 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 3.09s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.44s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml:3 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.24s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.51s /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.32s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Ensure we can set crypto policy including reboot of the system ---------- 0.15s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml:11 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.14s /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.12s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.11s /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.10s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.10s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Restore policy to DEFAULT ----------------------------------------------- 0.09s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reboot.yml:29 fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists --- 0.08s /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.07s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.07s /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 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 : Ensure ansible_facts used by role --- 0.06s /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.06s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.04s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15