[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. 3177 1726779176.04010: starting run ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Hlc executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults 3177 1726779176.04317: Added group all to inventory 3177 1726779176.04319: Added group ungrouped to inventory 3177 1726779176.04322: Group all now contains ungrouped 3177 1726779176.04324: Examining possible inventory source: /tmp/kernel_settings-Ihn/inventory.yml 3177 1726779176.14143: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 3177 1726779176.14190: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 3177 1726779176.14206: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 3177 1726779176.14249: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 3177 1726779176.14300: Loaded config def from plugin (inventory/script) 3177 1726779176.14301: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 3177 1726779176.14328: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 3177 1726779176.14391: Loaded config def from plugin (inventory/yaml) 3177 1726779176.14393: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 3177 1726779176.14459: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 3177 1726779176.14760: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 3177 1726779176.14762: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 3177 1726779176.14764: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 3177 1726779176.14769: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 3177 1726779176.14772: Loading data from /tmp/kernel_settings-Ihn/inventory.yml 3177 1726779176.14815: /tmp/kernel_settings-Ihn/inventory.yml was not parsable by auto 3177 1726779176.14864: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 3177 1726779176.14893: Loading data from /tmp/kernel_settings-Ihn/inventory.yml 3177 1726779176.14951: group all already in inventory 3177 1726779176.14957: set inventory_file for managed_node1 3177 1726779176.14960: set inventory_dir for managed_node1 3177 1726779176.14960: Added host managed_node1 to inventory 3177 1726779176.14962: Added host managed_node1 to group all 3177 1726779176.14963: set ansible_host for managed_node1 3177 1726779176.14963: set ansible_ssh_extra_args for managed_node1 3177 1726779176.14965: set inventory_file for managed_node2 3177 1726779176.14967: set inventory_dir for managed_node2 3177 1726779176.14968: Added host managed_node2 to inventory 3177 1726779176.14969: Added host managed_node2 to group all 3177 1726779176.14969: set ansible_host for managed_node2 3177 1726779176.14970: set ansible_ssh_extra_args for managed_node2 3177 1726779176.14972: set inventory_file for managed_node3 3177 1726779176.14973: set inventory_dir for managed_node3 3177 1726779176.14974: Added host managed_node3 to inventory 3177 1726779176.14974: Added host managed_node3 to group all 3177 1726779176.14975: set ansible_host for managed_node3 3177 1726779176.14975: set ansible_ssh_extra_args for managed_node3 3177 1726779176.14977: Reconcile groups and hosts in inventory. 3177 1726779176.14980: Group ungrouped now contains managed_node1 3177 1726779176.14981: Group ungrouped now contains managed_node2 3177 1726779176.14982: Group ungrouped now contains managed_node3 3177 1726779176.15035: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 3177 1726779176.15119: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 3177 1726779176.15155: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 3177 1726779176.15174: Loaded config def from plugin (vars/host_group_vars) 3177 1726779176.15176: Loading VarsModule 'host_group_vars' from /usr/local/lib/python3.12/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=False, class_only=True) 3177 1726779176.15180: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 3177 1726779176.15186: Loading VarsModule 'host_group_vars' from /usr/local/lib/python3.12/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False) 3177 1726779176.15216: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 3177 1726779176.15479: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 3177 1726779176.15549: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 3177 1726779176.15576: Loaded config def from plugin (connection/local) 3177 1726779176.15578: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 3177 1726779176.15995: Loaded config def from plugin (connection/paramiko_ssh) 3177 1726779176.15998: Loading Connection 'paramiko_ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/paramiko_ssh.py (found_in_cache=False, class_only=True) 3177 1726779176.16597: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py (found_in_cache=True, class_only=False) 3177 1726779176.16623: Loaded config def from plugin (connection/psrp) 3177 1726779176.16625: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 3177 1726779176.17078: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py (found_in_cache=True, class_only=False) 3177 1726779176.17103: Loaded config def from plugin (connection/ssh) 3177 1726779176.17105: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 3177 1726779176.18455: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py (found_in_cache=True, class_only=False) 3177 1726779176.18480: Loaded config def from plugin (connection/winrm) 3177 1726779176.18482: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 3177 1726779176.18505: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 3177 1726779176.18551: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 3177 1726779176.18595: Loaded config def from plugin (shell/cmd) 3177 1726779176.18597: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 3177 1726779176.18614: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py (found_in_cache=True, class_only=False) 3177 1726779176.18659: Loaded config def from plugin (shell/powershell) 3177 1726779176.18661: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 3177 1726779176.18698: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 3177 1726779176.18811: Loaded config def from plugin (shell/sh) 3177 1726779176.18812: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 3177 1726779176.18837: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 3177 1726779176.18916: Loaded config def from plugin (become/runas) 3177 1726779176.18918: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 3177 1726779176.19036: Loaded config def from plugin (become/su) 3177 1726779176.19037: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 3177 1726779176.19143: Loaded config def from plugin (become/sudo) 3177 1726779176.19144: Loading BecomeModule 'sudo' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/sudo.py (found_in_cache=False, class_only=True) running playbook inside collection fedora.linux_system_roles 3177 1726779176.19170: Loading data from /tmp/collections-Hlc/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml 3177 1726779176.19187: RUNNING CLEANUP ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/tmp/collections-Hlc/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml': line 4, column 22, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: hosts: all environment: ^ here