[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. 8538 1726779225.04889: 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 8538 1726779225.05168: Added group all to inventory 8538 1726779225.05170: Added group ungrouped to inventory 8538 1726779225.05172: Group all now contains ungrouped 8538 1726779225.05174: Examining possible inventory source: /tmp/kernel_settings-Sqo/inventory.yml 8538 1726779225.13523: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 8538 1726779225.13564: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 8538 1726779225.13581: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 8538 1726779225.13618: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 8538 1726779225.13665: Loaded config def from plugin (inventory/script) 8538 1726779225.13667: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 8538 1726779225.13693: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 8538 1726779225.13749: Loaded config def from plugin (inventory/yaml) 8538 1726779225.13750: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 8538 1726779225.13807: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 8538 1726779225.14069: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 8538 1726779225.14071: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 8538 1726779225.14074: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 8538 1726779225.14078: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 8538 1726779225.14081: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8538 1726779225.14120: /tmp/kernel_settings-Sqo/inventory.yml was not parsable by auto 8538 1726779225.14163: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 8538 1726779225.14191: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8538 1726779225.14244: group all already in inventory 8538 1726779225.14249: set inventory_file for managed_node1 8538 1726779225.14252: set inventory_dir for managed_node1 8538 1726779225.14252: Added host managed_node1 to inventory 8538 1726779225.14254: Added host managed_node1 to group all 8538 1726779225.14254: set ansible_host for managed_node1 8538 1726779225.14255: set ansible_ssh_extra_args for managed_node1 8538 1726779225.14257: set inventory_file for managed_node2 8538 1726779225.14258: set inventory_dir for managed_node2 8538 1726779225.14259: Added host managed_node2 to inventory 8538 1726779225.14259: Added host managed_node2 to group all 8538 1726779225.14260: set ansible_host for managed_node2 8538 1726779225.14260: set ansible_ssh_extra_args for managed_node2 8538 1726779225.14262: set inventory_file for managed_node3 8538 1726779225.14263: set inventory_dir for managed_node3 8538 1726779225.14263: Added host managed_node3 to inventory 8538 1726779225.14264: Added host managed_node3 to group all 8538 1726779225.14265: set ansible_host for managed_node3 8538 1726779225.14265: set ansible_ssh_extra_args for managed_node3 8538 1726779225.14266: Reconcile groups and hosts in inventory. 8538 1726779225.14269: Group ungrouped now contains managed_node1 8538 1726779225.14270: Group ungrouped now contains managed_node2 8538 1726779225.14271: Group ungrouped now contains managed_node3 8538 1726779225.14320: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 8538 1726779225.14400: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 8538 1726779225.14429: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 8538 1726779225.14449: Loaded config def from plugin (vars/host_group_vars) 8538 1726779225.14450: 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) 8538 1726779225.14455: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 8538 1726779225.14460: 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) 8538 1726779225.14485: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 8538 1726779225.14705: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 8538 1726779225.14768: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 8538 1726779225.14790: Loaded config def from plugin (connection/local) 8538 1726779225.14792: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 8538 1726779225.15106: Loaded config def from plugin (connection/paramiko_ssh) 8538 1726779225.15109: 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) 8538 1726779225.15663: 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) 8538 1726779225.15685: Loaded config def from plugin (connection/psrp) 8538 1726779225.15687: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 8538 1726779225.16090: 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) 8538 1726779225.16112: Loaded config def from plugin (connection/ssh) 8538 1726779225.16114: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 8538 1726779225.17203: 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) 8538 1726779225.17225: Loaded config def from plugin (connection/winrm) 8538 1726779225.17227: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 8538 1726779225.17250: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 8538 1726779225.17291: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 8538 1726779225.17328: Loaded config def from plugin (shell/cmd) 8538 1726779225.17329: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 8538 1726779225.17347: 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) 8538 1726779225.17384: Loaded config def from plugin (shell/powershell) 8538 1726779225.17385: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 8538 1726779225.17420: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 8538 1726779225.17519: Loaded config def from plugin (shell/sh) 8538 1726779225.17520: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 8538 1726779225.17545: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 8538 1726779225.17614: Loaded config def from plugin (become/runas) 8538 1726779225.17616: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 8538 1726779225.17721: Loaded config def from plugin (become/su) 8538 1726779225.17722: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 8538 1726779225.17816: Loaded config def from plugin (become/sudo) 8538 1726779225.17818: 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 8538 1726779225.17841: Loading data from /tmp/collections-Yfm/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml 8538 1726779225.17857: 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_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