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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:2 Friday 20 September 2024 20:25:07 -0400 (0:00:00.044) 0:00:00.044 ****** ok: [managed_node3] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:6 Friday 20 September 2024 20:25:08 -0400 (0:00:01.516) 0:00:01.561 ****** changed: [managed_node3 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-7.9.yml", "gid": 0, "group": "root", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878309.03-9859-41627861513045/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS-7.yml", "gid": 0, "group": "root", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878309.75-9859-229991854477619/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_7.9.yml", "gid": 0, "group": "root", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878310.06-9859-116776750211904/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS_7.yml", "gid": 0, "group": "root", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878310.34-9859-58333532702813/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878310.58-9859-263000538525658/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1726878310.83-9859-156481149034903/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:4 Friday 20 September 2024 20:25:11 -0400 (0:00:02.092) 0:00:03.653 ****** TASK [fedora.linux_system_roles.fapolicyd : Set platform/version specific variables] *** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:2 Friday 20 September 2024 20:25:11 -0400 (0:00:00.044) 0:00:03.698 ****** included: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml for managed_node3 TASK [fedora.linux_system_roles.fapolicyd : Ensure ansible_facts used by role] *** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:2 Friday 20 September 2024 20:25:11 -0400 (0:00:00.039) 0:00:03.738 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.fapolicyd : Check if system is ostree] ********* task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:10 Friday 20 September 2024 20:25:11 -0400 (0:00:00.021) 0:00:03.759 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.fapolicyd : Set flag to indicate system is ostree] *** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:15 Friday 20 September 2024 20:25:11 -0400 (0:00:00.253) 0:00:04.013 ****** ok: [managed_node3] => { "ansible_facts": { "__fapolicyd_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.fapolicyd : Set platform/version specific variables] *** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:19 Friday 20 September 2024 20:25:11 -0400 (0:00:00.024) 0:00:04.037 ****** 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.fapolicyd : Set fapolicyd feature facts for OS versions] *** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:40 Friday 20 September 2024 20:25:11 -0400 (0:00:00.044) 0:00:04.082 ****** ok: [managed_node3] => { "ansible_facts": { "__fapolicyd_configcheck_supported": false, "__fapolicyd_integrity_supported": false, "__fapolicyd_selinux_supported": false, "__fapolicyd_supported": false, "__fapolicyd_syslog_format_supported": false, "__fapolicyd_trust_supported": false, "__fapolicyd_trustfiles_supported": false, "__fapolicyd_watch_fs_supported": false }, "changed": false } TASK [fedora.linux_system_roles.fapolicyd : System check] ********************** task path: /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:5 Friday 20 September 2024 20:25:11 -0400 (0:00:00.078) 0:00:04.160 ****** fatal: [managed_node3]: FAILED! => { "changed": false } MSG: [u'Only Enterprise Linux >= 8.1 and Fedora are supported', u'System - RedHat', u'Version - 7.9'] PLAY RECAP ********************************************************************* managed_node3 : ok=6 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Friday 20 September 2024 20:25:11 -0400 (0:00:00.019) 0:00:04.180 ****** =============================================================================== Create var file in caller that can override the one in called role ------ 2.09s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 1.52s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.fapolicyd : Check if system is ostree --------- 0.25s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:10 fedora.linux_system_roles.fapolicyd : Set fapolicyd feature facts for OS versions --- 0.08s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:40 Include role ------------------------------------------------------------ 0.04s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/tests/fapolicyd/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.fapolicyd : Set platform/version specific variables --- 0.04s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:19 fedora.linux_system_roles.fapolicyd : Set platform/version specific variables --- 0.04s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:2 fedora.linux_system_roles.fapolicyd : Set flag to indicate system is ostree --- 0.02s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:15 fedora.linux_system_roles.fapolicyd : Ensure ansible_facts used by role --- 0.02s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/set_vars.yml:2 fedora.linux_system_roles.fapolicyd : System check ---------------------- 0.02s /tmp/collections-xMh/ansible_collections/fedora/linux_system_roles/roles/fapolicyd/tasks/main.yml:5