[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. 8275 1726779219.02797: starting run ansible-playbook [core 2.16.11] 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-Yfm executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults 8275 1726779219.03078: Added group all to inventory 8275 1726779219.03080: Added group ungrouped to inventory 8275 1726779219.03082: Group all now contains ungrouped 8275 1726779219.03084: Examining possible inventory source: /tmp/kernel_settings-Sqo/inventory.yml 8275 1726779219.11915: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 8275 1726779219.11959: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 8275 1726779219.11976: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 8275 1726779219.12014: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 8275 1726779219.12063: Loaded config def from plugin (inventory/script) 8275 1726779219.12065: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 8275 1726779219.12092: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 8275 1726779219.12150: Loaded config def from plugin (inventory/yaml) 8275 1726779219.12152: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 8275 1726779219.12211: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 8275 1726779219.12475: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 8275 1726779219.12478: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 8275 1726779219.12480: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 8275 1726779219.12484: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 8275 1726779219.12487: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8275 1726779219.12527: /tmp/kernel_settings-Sqo/inventory.yml was not parsable by auto 8275 1726779219.12571: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 8275 1726779219.12600: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8275 1726779219.12656: group all already in inventory 8275 1726779219.12661: set inventory_file for managed_node1 8275 1726779219.12664: set inventory_dir for managed_node1 8275 1726779219.12664: Added host managed_node1 to inventory 8275 1726779219.12666: Added host managed_node1 to group all 8275 1726779219.12666: set ansible_host for managed_node1 8275 1726779219.12667: set ansible_ssh_extra_args for managed_node1 8275 1726779219.12669: set inventory_file for managed_node2 8275 1726779219.12670: set inventory_dir for managed_node2 8275 1726779219.12671: Added host managed_node2 to inventory 8275 1726779219.12671: Added host managed_node2 to group all 8275 1726779219.12672: set ansible_host for managed_node2 8275 1726779219.12672: set ansible_ssh_extra_args for managed_node2 8275 1726779219.12674: set inventory_file for managed_node3 8275 1726779219.12675: set inventory_dir for managed_node3 8275 1726779219.12675: Added host managed_node3 to inventory 8275 1726779219.12676: Added host managed_node3 to group all 8275 1726779219.12677: set ansible_host for managed_node3 8275 1726779219.12677: set ansible_ssh_extra_args for managed_node3 8275 1726779219.12679: Reconcile groups and hosts in inventory. 8275 1726779219.12681: Group ungrouped now contains managed_node1 8275 1726779219.12682: Group ungrouped now contains managed_node2 8275 1726779219.12683: Group ungrouped now contains managed_node3 8275 1726779219.12733: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 8275 1726779219.12813: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 8275 1726779219.12844: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 8275 1726779219.12862: Loaded config def from plugin (vars/host_group_vars) 8275 1726779219.12864: 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) 8275 1726779219.12868: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 8275 1726779219.12874: 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) 8275 1726779219.12900: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 8275 1726779219.13123: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 8275 1726779219.13188: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 8275 1726779219.13211: Loaded config def from plugin (connection/local) 8275 1726779219.13212: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 8275 1726779219.13537: Loaded config def from plugin (connection/paramiko_ssh) 8275 1726779219.13541: 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) 8275 1726779219.14099: 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) 8275 1726779219.14121: Loaded config def from plugin (connection/psrp) 8275 1726779219.14123: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 8275 1726779219.14534: 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) 8275 1726779219.14559: Loaded config def from plugin (connection/ssh) 8275 1726779219.14561: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 8275 1726779219.15670: 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) 8275 1726779219.15693: Loaded config def from plugin (connection/winrm) 8275 1726779219.15695: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 8275 1726779219.15715: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 8275 1726779219.15759: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 8275 1726779219.15798: Loaded config def from plugin (shell/cmd) 8275 1726779219.15800: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 8275 1726779219.15816: 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) 8275 1726779219.15854: Loaded config def from plugin (shell/powershell) 8275 1726779219.15856: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 8275 1726779219.15891: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 8275 1726779219.15990: Loaded config def from plugin (shell/sh) 8275 1726779219.15991: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 8275 1726779219.16013: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 8275 1726779219.16086: Loaded config def from plugin (become/runas) 8275 1726779219.16088: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 8275 1726779219.16196: Loaded config def from plugin (become/su) 8275 1726779219.16197: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 8275 1726779219.16291: Loaded config def from plugin (become/sudo) 8275 1726779219.16293: 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 8275 1726779219.16314: Loading data from /tmp/collections-Yfm/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml 8275 1726779219.16331: 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-Yfm/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_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