[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. 6916 1726779193.63223: 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-skG executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults 6916 1726779193.63519: Added group all to inventory 6916 1726779193.63520: Added group ungrouped to inventory 6916 1726779193.63523: Group all now contains ungrouped 6916 1726779193.63525: Examining possible inventory source: /tmp/kernel_settings-68i/inventory.yml 6916 1726779193.72558: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 6916 1726779193.72603: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 6916 1726779193.72619: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 6916 1726779193.72660: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 6916 1726779193.72709: Loaded config def from plugin (inventory/script) 6916 1726779193.72711: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 6916 1726779193.72738: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 6916 1726779193.72798: Loaded config def from plugin (inventory/yaml) 6916 1726779193.72800: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 6916 1726779193.72861: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 6916 1726779193.73137: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 6916 1726779193.73142: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 6916 1726779193.73145: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 6916 1726779193.73149: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 6916 1726779193.73153: Loading data from /tmp/kernel_settings-68i/inventory.yml 6916 1726779193.73196: /tmp/kernel_settings-68i/inventory.yml was not parsable by auto 6916 1726779193.73241: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 6916 1726779193.73271: Loading data from /tmp/kernel_settings-68i/inventory.yml 6916 1726779193.73327: group all already in inventory 6916 1726779193.73332: set inventory_file for managed_node1 6916 1726779193.73335: set inventory_dir for managed_node1 6916 1726779193.73336: Added host managed_node1 to inventory 6916 1726779193.73338: Added host managed_node1 to group all 6916 1726779193.73338: set ansible_host for managed_node1 6916 1726779193.73341: set ansible_ssh_extra_args for managed_node1 6916 1726779193.73344: set inventory_file for managed_node2 6916 1726779193.73345: set inventory_dir for managed_node2 6916 1726779193.73346: Added host managed_node2 to inventory 6916 1726779193.73347: Added host managed_node2 to group all 6916 1726779193.73347: set ansible_host for managed_node2 6916 1726779193.73348: set ansible_ssh_extra_args for managed_node2 6916 1726779193.73350: set inventory_file for managed_node3 6916 1726779193.73351: set inventory_dir for managed_node3 6916 1726779193.73352: Added host managed_node3 to inventory 6916 1726779193.73352: Added host managed_node3 to group all 6916 1726779193.73353: set ansible_host for managed_node3 6916 1726779193.73353: set ansible_ssh_extra_args for managed_node3 6916 1726779193.73355: Reconcile groups and hosts in inventory. 6916 1726779193.73358: Group ungrouped now contains managed_node1 6916 1726779193.73359: Group ungrouped now contains managed_node2 6916 1726779193.73361: Group ungrouped now contains managed_node3 6916 1726779193.73420: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 6916 1726779193.73504: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 6916 1726779193.73533: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 6916 1726779193.73554: Loaded config def from plugin (vars/host_group_vars) 6916 1726779193.73555: 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) 6916 1726779193.73560: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 6916 1726779193.73565: 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) 6916 1726779193.73597: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 6916 1726779193.73835: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 6916 1726779193.73906: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 6916 1726779193.73929: Loaded config def from plugin (connection/local) 6916 1726779193.73931: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 6916 1726779193.74273: Loaded config def from plugin (connection/paramiko_ssh) 6916 1726779193.74276: 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) 6916 1726779193.74880: 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) 6916 1726779193.74904: Loaded config def from plugin (connection/psrp) 6916 1726779193.74906: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 6916 1726779193.75311: 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) 6916 1726779193.75334: Loaded config def from plugin (connection/ssh) 6916 1726779193.75336: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 6916 1726779193.76553: 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) 6916 1726779193.76578: Loaded config def from plugin (connection/winrm) 6916 1726779193.76581: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 6916 1726779193.76603: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 6916 1726779193.76647: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 6916 1726779193.76688: Loaded config def from plugin (shell/cmd) 6916 1726779193.76689: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 6916 1726779193.76706: 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) 6916 1726779193.76743: Loaded config def from plugin (shell/powershell) 6916 1726779193.76744: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 6916 1726779193.76781: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 6916 1726779193.76885: Loaded config def from plugin (shell/sh) 6916 1726779193.76886: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 6916 1726779193.76909: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 6916 1726779193.77093: Loaded config def from plugin (become/runas) 6916 1726779193.77095: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 6916 1726779193.77202: Loaded config def from plugin (become/su) 6916 1726779193.77204: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 6916 1726779193.77298: Loaded config def from plugin (become/sudo) 6916 1726779193.77300: 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 6916 1726779193.77323: Loading data from /tmp/collections-skG/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml 6916 1726779193.77340: 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-skG/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.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