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 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-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:2 ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:8 changed: [managed-node2 -> localhost] => (item=CentOS-7.9) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202029.97-10256-203005252635786/source", "state": "file", "uid": 0} changed: [managed-node2 -> localhost] => (item=CentOS-7) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202030.61-10256-107660391192110/source", "state": "file", "uid": 0} changed: [managed-node2 -> localhost] => (item=CentOS_7.9) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202030.99-10256-126633004929305/source", "state": "file", "uid": 0} changed: [managed-node2 -> localhost] => (item=CentOS_7) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202031.27-10256-56294998095088/source", "state": "file", "uid": 0} changed: [managed-node2 -> localhost] => (item=CentOS) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202031.55-10256-38875435272566/source", "state": "file", "uid": 0} changed: [managed-node2 -> localhost] => (item=RedHat) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/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-1727202031.86-10256-55098109606047/source", "state": "file", "uid": 0} TASK [Include test role] ******************************************************* task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/tasks/main.yml:4 ERROR! the role 'fedora.linux_system_roles.kernel_settings' was not found in /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings TASK [Cleanup role] ************************************************************ task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:50 included: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed-node2 TASK [Show current tuned profile settings] ************************************* task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 fatal: [managed-node2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: '__kernel_settings_profile_filename' is undefined\n\nThe error appears to be in '/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Show current tuned profile settings\n ^ here\n"} ...ignoring TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 ERROR! the role 'fedora.linux_system_roles.kernel_settings' was not found in /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings The error appears to be in '/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml': line 11, column 15, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: fedora.linux_system_roles.kernel_settings ^ here TASK [Remove kernel_settings tuned profile] ************************************ task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 fatal: [managed-node2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: '__kernel_settings_profile_dir' is undefined\n\nThe error appears to be in '/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml': line 36, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n always:\n - name: Remove kernel_settings tuned profile\n ^ here\n"} PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=1