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_default.yml **************************************************** 1 plays in /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run role with no settings] *********************************************** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml:8 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/tests_default.yml': line 10, column 19, 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 [Cleanup] ***************************************************************** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml:14 included: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed-node1 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-node1]: 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-node1]: 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-node1 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=1