[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. 8372 1726779221.02589: 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 8372 1726779221.02862: Added group all to inventory 8372 1726779221.02863: Added group ungrouped to inventory 8372 1726779221.02866: Group all now contains ungrouped 8372 1726779221.02868: Examining possible inventory source: /tmp/kernel_settings-Sqo/inventory.yml 8372 1726779221.11172: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 8372 1726779221.11211: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 8372 1726779221.11227: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 8372 1726779221.11268: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 8372 1726779221.11312: Loaded config def from plugin (inventory/script) 8372 1726779221.11313: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 8372 1726779221.11340: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 8372 1726779221.11398: Loaded config def from plugin (inventory/yaml) 8372 1726779221.11399: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 8372 1726779221.11458: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 8372 1726779221.11722: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 8372 1726779221.11725: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 8372 1726779221.11727: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 8372 1726779221.11731: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 8372 1726779221.11734: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8372 1726779221.11778: /tmp/kernel_settings-Sqo/inventory.yml was not parsable by auto 8372 1726779221.11820: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 8372 1726779221.11852: Loading data from /tmp/kernel_settings-Sqo/inventory.yml 8372 1726779221.11903: group all already in inventory 8372 1726779221.11907: set inventory_file for managed_node1 8372 1726779221.11910: set inventory_dir for managed_node1 8372 1726779221.11911: Added host managed_node1 to inventory 8372 1726779221.11912: Added host managed_node1 to group all 8372 1726779221.11913: set ansible_host for managed_node1 8372 1726779221.11913: set ansible_ssh_extra_args for managed_node1 8372 1726779221.11915: set inventory_file for managed_node2 8372 1726779221.11917: set inventory_dir for managed_node2 8372 1726779221.11917: Added host managed_node2 to inventory 8372 1726779221.11918: Added host managed_node2 to group all 8372 1726779221.11918: set ansible_host for managed_node2 8372 1726779221.11919: set ansible_ssh_extra_args for managed_node2 8372 1726779221.11920: set inventory_file for managed_node3 8372 1726779221.11921: set inventory_dir for managed_node3 8372 1726779221.11922: Added host managed_node3 to inventory 8372 1726779221.11922: Added host managed_node3 to group all 8372 1726779221.11923: set ansible_host for managed_node3 8372 1726779221.11924: set ansible_ssh_extra_args for managed_node3 8372 1726779221.11925: Reconcile groups and hosts in inventory. 8372 1726779221.11928: Group ungrouped now contains managed_node1 8372 1726779221.11929: Group ungrouped now contains managed_node2 8372 1726779221.11929: Group ungrouped now contains managed_node3 8372 1726779221.11985: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 8372 1726779221.12068: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 8372 1726779221.12098: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 8372 1726779221.12115: Loaded config def from plugin (vars/host_group_vars) 8372 1726779221.12116: 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) 8372 1726779221.12121: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 8372 1726779221.12126: 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) 8372 1726779221.12156: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 8372 1726779221.12383: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 8372 1726779221.12448: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 8372 1726779221.12471: Loaded config def from plugin (connection/local) 8372 1726779221.12472: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 8372 1726779221.12786: Loaded config def from plugin (connection/paramiko_ssh) 8372 1726779221.12788: 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) 8372 1726779221.13350: 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) 8372 1726779221.13372: Loaded config def from plugin (connection/psrp) 8372 1726779221.13374: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 8372 1726779221.13782: 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) 8372 1726779221.13804: Loaded config def from plugin (connection/ssh) 8372 1726779221.13806: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 8372 1726779221.14909: 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) 8372 1726779221.14931: Loaded config def from plugin (connection/winrm) 8372 1726779221.14933: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 8372 1726779221.14957: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 8372 1726779221.15001: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 8372 1726779221.15037: Loaded config def from plugin (shell/cmd) 8372 1726779221.15040: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 8372 1726779221.15059: 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) 8372 1726779221.15094: Loaded config def from plugin (shell/powershell) 8372 1726779221.15095: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 8372 1726779221.15129: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 8372 1726779221.15229: Loaded config def from plugin (shell/sh) 8372 1726779221.15231: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 8372 1726779221.15256: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 8372 1726779221.15324: Loaded config def from plugin (become/runas) 8372 1726779221.15326: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 8372 1726779221.15432: Loaded config def from plugin (become/su) 8372 1726779221.15434: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 8372 1726779221.15527: Loaded config def from plugin (become/sudo) 8372 1726779221.15528: 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 8372 1726779221.15553: Loading data from /tmp/collections-Yfm/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml 8372 1726779221.15568: 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_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