community.general/lib/ansible/utils
Marc Abramowitz 314bae2a9e Don't wrap text for AnsibleParserError
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.
2015-07-07 09:31:00 -07:00
..
module_docs_fragments added validate and backup doc fragments 2015-07-04 17:58:23 -04:00
__init__.py limit extensions for files in group/host_vars dir 2015-05-23 20:34:08 +02:00
boolean.py Making the switch to v2 2015-05-03 21:47:26 -05:00
cmd_functions.py fixed ansible pull, reorged validate function for cli to be function specific like parser 2015-06-09 17:24:43 -04:00
color.py Making the switch to v2 2015-05-03 21:47:26 -05:00
debug.py Making the switch to v2 2015-05-03 21:47:26 -05:00
display.py Don't wrap text for AnsibleParserError 2015-07-07 09:31:00 -07:00
encrypt.py Making the switch to v2 2015-05-03 21:47:26 -05:00
hashing.py Making the switch to v2 2015-05-03 21:47:26 -05:00
listify.py allow for any non string iterable in listify 2015-06-15 11:02:51 -04:00
module_docs.py added missing imports to doc module 2015-06-03 15:00:41 -04:00
path.py avoid failing when mode is none 2015-06-02 23:39:57 -04:00
unicode.py Making the switch to v2 2015-05-03 21:47:26 -05:00
vars.py Making the switch to v2 2015-05-03 21:47:26 -05:00
vault.py Making the switch to v2 2015-05-03 21:47:26 -05:00