[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. 3299 1726779252.73556: 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-LJp executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults 3299 1726779252.73926: Added group all to inventory 3299 1726779252.73928: Added group ungrouped to inventory 3299 1726779252.73931: Group all now contains ungrouped 3299 1726779252.73934: Examining possible inventory source: /tmp/kernel_settings-LRm/inventory.yml 3299 1726779252.86811: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 3299 1726779252.86862: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 3299 1726779252.86881: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 3299 1726779252.86932: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 3299 1726779252.86991: Loaded config def from plugin (inventory/script) 3299 1726779252.86993: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 3299 1726779252.87027: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 3299 1726779252.87095: Loaded config def from plugin (inventory/yaml) 3299 1726779252.87097: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 3299 1726779252.87167: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 3299 1726779252.87513: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 3299 1726779252.87516: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 3299 1726779252.87519: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 3299 1726779252.87523: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 3299 1726779252.87527: Loading data from /tmp/kernel_settings-LRm/inventory.yml 3299 1726779252.87581: /tmp/kernel_settings-LRm/inventory.yml was not parsable by auto 3299 1726779252.87635: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 3299 1726779252.87668: Loading data from /tmp/kernel_settings-LRm/inventory.yml 3299 1726779252.87736: group all already in inventory 3299 1726779252.87742: set inventory_file for managed_node1 3299 1726779252.87745: set inventory_dir for managed_node1 3299 1726779252.87746: Added host managed_node1 to inventory 3299 1726779252.87748: Added host managed_node1 to group all 3299 1726779252.87749: set ansible_host for managed_node1 3299 1726779252.87749: set ansible_ssh_extra_args for managed_node1 3299 1726779252.87752: set inventory_file for managed_node2 3299 1726779252.87754: set inventory_dir for managed_node2 3299 1726779252.87755: Added host managed_node2 to inventory 3299 1726779252.87756: Added host managed_node2 to group all 3299 1726779252.87756: set ansible_host for managed_node2 3299 1726779252.87757: set ansible_ssh_extra_args for managed_node2 3299 1726779252.87759: set inventory_file for managed_node3 3299 1726779252.87761: set inventory_dir for managed_node3 3299 1726779252.87761: Added host managed_node3 to inventory 3299 1726779252.87762: Added host managed_node3 to group all 3299 1726779252.87763: set ansible_host for managed_node3 3299 1726779252.87763: set ansible_ssh_extra_args for managed_node3 3299 1726779252.87765: Reconcile groups and hosts in inventory. 3299 1726779252.87769: Group ungrouped now contains managed_node1 3299 1726779252.87770: Group ungrouped now contains managed_node2 3299 1726779252.87771: Group ungrouped now contains managed_node3 3299 1726779252.87837: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 3299 1726779252.87937: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 3299 1726779252.87975: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 3299 1726779252.87998: Loaded config def from plugin (vars/host_group_vars) 3299 1726779252.88000: 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) 3299 1726779252.88008: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 3299 1726779252.88015: 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) 3299 1726779252.88049: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 3299 1726779252.88304: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 3299 1726779252.88378: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 3299 1726779252.88412: Loaded config def from plugin (connection/local) 3299 1726779252.88415: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 3299 1726779252.88915: Loaded config def from plugin (connection/paramiko_ssh) 3299 1726779252.88918: 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) 3299 1726779252.89619: 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) 3299 1726779252.89651: Loaded config def from plugin (connection/psrp) 3299 1726779252.89653: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 3299 1726779252.90233: 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) 3299 1726779252.90264: Loaded config def from plugin (connection/ssh) 3299 1726779252.90266: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 3299 1726779252.92101: 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) 3299 1726779252.92152: Loaded config def from plugin (connection/winrm) 3299 1726779252.92155: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 3299 1726779252.92190: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 3299 1726779252.92260: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 3299 1726779252.92349: Loaded config def from plugin (shell/cmd) 3299 1726779252.92351: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 3299 1726779252.92380: 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) 3299 1726779252.92468: Loaded config def from plugin (shell/powershell) 3299 1726779252.92470: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 3299 1726779252.92530: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 3299 1726779252.92760: Loaded config def from plugin (shell/sh) 3299 1726779252.92763: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 3299 1726779252.92801: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 3299 1726779252.92961: Loaded config def from plugin (become/runas) 3299 1726779252.92964: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 3299 1726779252.93200: Loaded config def from plugin (become/su) 3299 1726779252.93203: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 3299 1726779252.93391: Loaded config def from plugin (become/sudo) 3299 1726779252.93393: 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 3299 1726779252.93422: Loading data from /tmp/collections-LJp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml 3299 1726779252.93441: 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-LJp/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