[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. 6698 1726779184.49405: 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-XoY executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 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 6698 1726779184.49667: Added group all to inventory 6698 1726779184.49669: Added group ungrouped to inventory 6698 1726779184.49671: Group all now contains ungrouped 6698 1726779184.49673: Examining possible inventory source: /tmp/kernel_settings-aZ1/inventory.yml 6698 1726779184.57930: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 6698 1726779184.57966: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 6698 1726779184.57985: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 6698 1726779184.58022: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 6698 1726779184.58065: Loaded config def from plugin (inventory/script) 6698 1726779184.58066: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 6698 1726779184.58096: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 6698 1726779184.58148: Loaded config def from plugin (inventory/yaml) 6698 1726779184.58150: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 6698 1726779184.58208: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 6698 1726779184.58465: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 6698 1726779184.58468: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 6698 1726779184.58470: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 6698 1726779184.58474: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 6698 1726779184.58482: Loading data from /tmp/kernel_settings-aZ1/inventory.yml 6698 1726779184.58523: /tmp/kernel_settings-aZ1/inventory.yml was not parsable by auto 6698 1726779184.58563: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 6698 1726779184.58592: Loading data from /tmp/kernel_settings-aZ1/inventory.yml 6698 1726779184.58641: group all already in inventory 6698 1726779184.58645: set inventory_file for managed_node1 6698 1726779184.58648: set inventory_dir for managed_node1 6698 1726779184.58649: Added host managed_node1 to inventory 6698 1726779184.58650: Added host managed_node1 to group all 6698 1726779184.58651: set ansible_host for managed_node1 6698 1726779184.58651: set ansible_ssh_extra_args for managed_node1 6698 1726779184.58653: set inventory_file for managed_node2 6698 1726779184.58655: set inventory_dir for managed_node2 6698 1726779184.58655: Added host managed_node2 to inventory 6698 1726779184.58656: Added host managed_node2 to group all 6698 1726779184.58657: set ansible_host for managed_node2 6698 1726779184.58657: set ansible_ssh_extra_args for managed_node2 6698 1726779184.58659: set inventory_file for managed_node3 6698 1726779184.58660: set inventory_dir for managed_node3 6698 1726779184.58660: Added host managed_node3 to inventory 6698 1726779184.58661: Added host managed_node3 to group all 6698 1726779184.58662: set ansible_host for managed_node3 6698 1726779184.58662: set ansible_ssh_extra_args for managed_node3 6698 1726779184.58664: Reconcile groups and hosts in inventory. 6698 1726779184.58666: Group ungrouped now contains managed_node1 6698 1726779184.58667: Group ungrouped now contains managed_node2 6698 1726779184.58668: Group ungrouped now contains managed_node3 6698 1726779184.58721: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 6698 1726779184.58798: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 6698 1726779184.58826: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 6698 1726779184.58843: Loaded config def from plugin (vars/host_group_vars) 6698 1726779184.58844: 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) 6698 1726779184.58849: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 6698 1726779184.58854: 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) 6698 1726779184.58884: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 6698 1726779184.59103: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 6698 1726779184.59165: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 6698 1726779184.59190: Loaded config def from plugin (connection/local) 6698 1726779184.59192: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 6698 1726779184.59535: Loaded config def from plugin (connection/paramiko_ssh) 6698 1726779184.59537: 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) 6698 1726779184.60057: 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) 6698 1726779184.60082: Loaded config def from plugin (connection/psrp) 6698 1726779184.60085: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 6698 1726779184.60459: 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) 6698 1726779184.60484: Loaded config def from plugin (connection/ssh) 6698 1726779184.60486: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 6698 1726779184.61648: 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) 6698 1726779184.61670: Loaded config def from plugin (connection/winrm) 6698 1726779184.61672: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 6698 1726779184.61694: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 6698 1726779184.61735: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 6698 1726779184.61773: Loaded config def from plugin (shell/cmd) 6698 1726779184.61774: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 6698 1726779184.61792: 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) 6698 1726779184.61827: Loaded config def from plugin (shell/powershell) 6698 1726779184.61828: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 6698 1726779184.61861: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 6698 1726779184.61958: Loaded config def from plugin (shell/sh) 6698 1726779184.61960: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 6698 1726779184.61983: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 6698 1726779184.62051: Loaded config def from plugin (become/runas) 6698 1726779184.62052: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 6698 1726779184.62156: Loaded config def from plugin (become/su) 6698 1726779184.62158: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 6698 1726779184.62249: Loaded config def from plugin (become/sudo) 6698 1726779184.62250: 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 6698 1726779184.62270: Loading data from /tmp/collections-XoY/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml 6698 1726779184.62287: 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-XoY/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