1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2514 from raphinou/patch-1

replaced && by ||
This commit is contained in:
Michael DeHaan 2013-03-29 18:36:53 -07:00
commit bccab0f2b7

View file

@ -220,7 +220,7 @@ who's successful exit code is not zero, you may wish to do this::
tasks: tasks:
- name: run this command and ignore the result - name: run this command and ignore the result
action: shell /usr/bin/somecommand && /bin/true action: shell /usr/bin/somecommand || /bin/true
If the action line is getting too long for comfort you can break it on If the action line is getting too long for comfort you can break it on
a space and indent any continuation lines:: a space and indent any continuation lines::