In [1]:
#task
debug:


TASK [debug] *******************************************************************
ok: [localhost] => {
    "msg": "Hello world!"
}

In [2]:
ping: 


TASK [ping] ********************************************************************
ok: [localhost] => {
    "ping": "pong"
}

In [3]:
ping: 192.168.1.254


fatal: [localhost]: FAILED! => this task 'ping' has extra params, which is only allowed in the following modules: include_vars, group_by, include_tasks, command, add_host, import_role, meta, import_tasks, raw, include, script, win_shell, set_fact, shell, include_role, win_command

The error appears to have been in '/private/var/folders/_w/27n6rk3d1hjd9tzk224gx4yh0000gn/T/ansible_kernel_playbookvkq9mr8n/next_task2.yml': line 1, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- ignore_errors: true
  ^ here


Playbook ended
Context lost!

In [ ]: