1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/bin
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
..
ansible Don't wrap text for AnsibleParserError 2015-07-07 09:31:00 -07:00
ansible-doc Making the switch to v2 2015-05-03 21:47:26 -05:00
ansible-galaxy Making the switch to v2 2015-05-03 21:47:26 -05:00
ansible-playbook Making the switch to v2 2015-05-03 21:47:26 -05:00
ansible-pull Making the switch to v2 2015-05-03 21:47:26 -05:00
ansible-vault Making the switch to v2 2015-05-03 21:47:26 -05:00