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_simple_settings.yml ******************************************** 1 plays in /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml PLAY [Test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:2 ok: [managed-node2] META: ran handlers TASK [Set platform independent vars used by this test] ************************* task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:10 ok: [managed-node2] => {"ansible_facts": {"__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [{"name": "fs.epoll.max_user_watches", "value": 785592}, {"name": "fs.file-max", "value": 379724}, {"name": "no.such.param", "state": "absent"}], "kernel_settings_sysfs": [{"name": "/sys/kernel/debug/x86/pti_enabled", "value": 0}, {"name": "/sys/kernel/debug/x86/retp_enabled", "value": 0}, {"name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0}, {"name": "/sys/not/found", "state": "absent"}], "kernel_settings_systemd_cpu_affinity": {"state": "absent"}, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": {"state": "absent"}}, "ansible_included_var_files": ["/tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/vars/vars_simple_settings.yml"], "changed": false} TASK [Disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:14 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Apply the settings - call the role] ************************************** task path: /tmp/collections-SZE/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:25 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_simple_settings.yml': line 27, 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_simple_settings.yml:72 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=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=1