mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
This allows not messing up the wonderful error reporting that is carefully created. Instead of: $ ansible-playbook foo.yml [ERROR]: ERROR! 'foo' is not a valid attribute for a Task The error appears to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: do something ^ here we get: $ ansible-playbook foo.yml ERROR! 'foo' is not a valid attribute for a Task The error appears to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: do something ^ here which is much nicer. |
||
---|---|---|
.. | ||
module_docs_fragments | ||
__init__.py | ||
boolean.py | ||
cmd_functions.py | ||
color.py | ||
debug.py | ||
display.py | ||
encrypt.py | ||
hashing.py | ||
listify.py | ||
module_docs.py | ||
path.py | ||
unicode.py | ||
vars.py | ||
vault.py |