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_reload.yml ***************************************************** 1 plays in /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:3 Friday 20 September 2024 20:25:17 -0400 (0:00:00.029) 0:00:00.029 ****** ok: [managed_node3] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:8 Friday 20 September 2024 20:25:18 -0400 (0:00:00.945) 0:00:00.974 ****** 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.046) 0:00:01.020 ****** included: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node3 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:18 -0400 (0:00:00.030) 0:00:01.051 ****** skipping: [managed_node3] => { "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:18 -0400 (0:00:00.041) 0:00:01.092 ****** ok: [managed_node3] => { "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:19 -0400 (0:00:00.876) 0:00:01.969 ****** ok: [managed_node3] => { "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:19 -0400 (0:00:00.130) 0:00:02.099 ****** ok: [managed_node3] => { "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:20 -0400 (0:00:00.393) 0:00:02.492 ****** ok: [managed_node3] => { "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:20 -0400 (0:00:00.083) 0:00:02.576 ****** skipping: [managed_node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (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:20 -0400 (0:00:00.123) 0:00:02.700 ****** fatal: [managed_node3]: 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_reload.yml:60 Friday 20 September 2024 20:25:21 -0400 (0:00:01.152) 0:00:03.852 ****** 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:21 -0400 (0:00:00.090) 0:00:03.942 ****** included: /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node3 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:21 -0400 (0:00:00.054) 0:00:03.997 ****** skipping: [managed_node3] => { "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:21 -0400 (0:00:00.066) 0:00:04.063 ****** skipping: [managed_node3] => { "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:21 -0400 (0:00:00.065) 0:00:04.129 ****** skipping: [managed_node3] => { "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:21 -0400 (0:00:00.066) 0:00:04.195 ****** skipping: [managed_node3] => { "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:21 -0400 (0:00:00.065) 0:00:04.261 ****** skipping: [managed_node3] => { "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:21 -0400 (0:00:00.065) 0:00:04.326 ****** skipping: [managed_node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (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:21 -0400 (0:00:00.100) 0:00:04.427 ****** fatal: [managed_node3]: 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_node3 : ok=7 changed=0 unreachable=0 failed=2 skipped=8 rescued=0 ignored=0 Friday 20 September 2024 20:25:23 -0400 (0:00:01.096) 0:00:05.523 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.15s /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.10s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.88s /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.39s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.13s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 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/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 Restore policy to DEFAULT ----------------------------------------------- 0.09s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:60 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 : 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 : Check if system is ostree --- 0.07s /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.07s /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.05s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Run role to make sure all dependencies are installed -------------------- 0.05s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:8 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.03s /tmp/collections-6cw/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3