$ ansible --version
ansible 2.2.0.0
Error message is:
$ ansible-playbook /tmp/t.playbook
PLAY [localhost] ***************************************************************
TASK [blockinfile] *************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'item' is undefined\n\nThe error appears to have been in '/tmp/t.playbook': line 7, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n tasks:\n - blockinfile:\n ^ here\n"}
to retry, use: --limit @/tmp/t.retry
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1