[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. 6655 1726779187.60368: 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 6655 1726779187.60675: Added group all to inventory 6655 1726779187.60679: Added group ungrouped to inventory 6655 1726779187.60682: Group all now contains ungrouped 6655 1726779187.60684: Examining possible inventory source: /tmp/kernel_settings-68i/inventory.yml 6655 1726779187.69768: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/cache 6655 1726779187.69813: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py 6655 1726779187.69829: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory 6655 1726779187.69869: Loading InventoryModule 'host_list' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py 6655 1726779187.69919: Loaded config def from plugin (inventory/script) 6655 1726779187.69921: Loading InventoryModule 'script' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py 6655 1726779187.69949: Loading InventoryModule 'auto' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py 6655 1726779187.70008: Loaded config def from plugin (inventory/yaml) 6655 1726779187.70010: Loading InventoryModule 'yaml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py 6655 1726779187.70069: Loading InventoryModule 'ini' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py 6655 1726779187.70342: Loading InventoryModule 'toml' from /usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/toml.py 6655 1726779187.70345: Attempting to use plugin host_list (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/host_list.py) 6655 1726779187.70347: Attempting to use plugin script (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/script.py) 6655 1726779187.70352: Attempting to use plugin auto (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py) 6655 1726779187.70355: Loading data from /tmp/kernel_settings-68i/inventory.yml 6655 1726779187.70399: /tmp/kernel_settings-68i/inventory.yml was not parsable by auto 6655 1726779187.70444: Attempting to use plugin yaml (/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py) 6655 1726779187.70473: Loading data from /tmp/kernel_settings-68i/inventory.yml 6655 1726779187.70528: group all already in inventory 6655 1726779187.70533: set inventory_file for managed_node1 6655 1726779187.70536: set inventory_dir for managed_node1 6655 1726779187.70536: Added host managed_node1 to inventory 6655 1726779187.70538: Added host managed_node1 to group all 6655 1726779187.70539: set ansible_host for managed_node1 6655 1726779187.70539: set ansible_ssh_extra_args for managed_node1 6655 1726779187.70542: set inventory_file for managed_node2 6655 1726779187.70544: set inventory_dir for managed_node2 6655 1726779187.70544: Added host managed_node2 to inventory 6655 1726779187.70545: Added host managed_node2 to group all 6655 1726779187.70546: set ansible_host for managed_node2 6655 1726779187.70546: set ansible_ssh_extra_args for managed_node2 6655 1726779187.70548: set inventory_file for managed_node3 6655 1726779187.70549: set inventory_dir for managed_node3 6655 1726779187.70550: Added host managed_node3 to inventory 6655 1726779187.70551: Added host managed_node3 to group all 6655 1726779187.70551: set ansible_host for managed_node3 6655 1726779187.70552: set ansible_ssh_extra_args for managed_node3 6655 1726779187.70553: Reconcile groups and hosts in inventory. 6655 1726779187.70556: Group ungrouped now contains managed_node1 6655 1726779187.70557: Group ungrouped now contains managed_node2 6655 1726779187.70558: Group ungrouped now contains managed_node3 6655 1726779187.70615: '/usr/local/lib/python3.12/site-packages/ansible/plugins/vars/__init__' skipped due to reserved name 6655 1726779187.70697: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments 6655 1726779187.70726: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py 6655 1726779187.70745: Loaded config def from plugin (vars/host_group_vars) 6655 1726779187.70747: 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) 6655 1726779187.70752: trying /usr/local/lib/python3.12/site-packages/ansible/plugins/vars 6655 1726779187.70757: 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) 6655 1726779187.70787: Loading CacheModule 'memory' from /usr/local/lib/python3.12/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False) 6655 1726779187.71019: '/usr/local/lib/python3.12/site-packages/ansible/plugins/connection/__init__' skipped due to reserved name 6655 1726779187.71088: Loading ModuleDocFragment 'connection_pipelining' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/connection_pipelining.py 6655 1726779187.71112: Loaded config def from plugin (connection/local) 6655 1726779187.71114: Loading Connection 'local' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/local.py (found_in_cache=False, class_only=True) 6655 1726779187.71449: Loaded config def from plugin (connection/paramiko_ssh) 6655 1726779187.71452: 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) 6655 1726779187.72064: 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) 6655 1726779187.72090: Loaded config def from plugin (connection/psrp) 6655 1726779187.72093: Loading Connection 'psrp' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/psrp.py (found_in_cache=False, class_only=True) 6655 1726779187.72504: 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) 6655 1726779187.72528: Loaded config def from plugin (connection/ssh) 6655 1726779187.72530: Loading Connection 'ssh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=False, class_only=True) 6655 1726779187.73785: 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) 6655 1726779187.73809: Loaded config def from plugin (connection/winrm) 6655 1726779187.73811: Loading Connection 'winrm' from /usr/local/lib/python3.12/site-packages/ansible/plugins/connection/winrm.py (found_in_cache=False, class_only=True) 6655 1726779187.73833: '/usr/local/lib/python3.12/site-packages/ansible/plugins/shell/__init__' skipped due to reserved name 6655 1726779187.73881: Loading ModuleDocFragment 'shell_windows' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_windows.py 6655 1726779187.73921: Loaded config def from plugin (shell/cmd) 6655 1726779187.73922: Loading ShellModule 'cmd' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/cmd.py (found_in_cache=False, class_only=True) 6655 1726779187.73939: 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) 6655 1726779187.73979: Loaded config def from plugin (shell/powershell) 6655 1726779187.73980: Loading ShellModule 'powershell' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=False, class_only=True) 6655 1726779187.74016: Loading ModuleDocFragment 'shell_common' from /usr/local/lib/python3.12/site-packages/ansible/plugins/doc_fragments/shell_common.py 6655 1726779187.74121: Loaded config def from plugin (shell/sh) 6655 1726779187.74123: Loading ShellModule 'sh' from /usr/local/lib/python3.12/site-packages/ansible/plugins/shell/sh.py (found_in_cache=False, class_only=True) 6655 1726779187.74148: '/usr/local/lib/python3.12/site-packages/ansible/plugins/become/__init__' skipped due to reserved name 6655 1726779187.74337: Loaded config def from plugin (become/runas) 6655 1726779187.74338: Loading BecomeModule 'runas' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/runas.py (found_in_cache=False, class_only=True) 6655 1726779187.74450: Loaded config def from plugin (become/su) 6655 1726779187.74452: Loading BecomeModule 'su' from /usr/local/lib/python3.12/site-packages/ansible/plugins/become/su.py (found_in_cache=False, class_only=True) 6655 1726779187.74547: Loaded config def from plugin (become/sudo) 6655 1726779187.74549: 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 6655 1726779187.74573: Loading data from /tmp/collections-skG/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml 6655 1726779187.74593: 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_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