diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2013-03-30 02:36:53 +0100 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2013-03-30 02:36:53 +0100 |
commit | bccab0f2b7789401d8683b6ad04e9b9a26b09812 (patch) | |
tree | b9d02b4994846ad3297744065059bfa8c3aa6d2a | |
parent | Merge pull request #2527 from mavimo/patch-1 (diff) | |
parent | replaced && by || (diff) | |
download | ansible-bccab0f2b7789401d8683b6ad04e9b9a26b09812.tar.xz ansible-bccab0f2b7789401d8683b6ad04e9b9a26b09812.zip |
Merge pull request #2514 from raphinou/patch-1
replaced && by ||
-rw-r--r-- | docsite/rst/playbooks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docsite/rst/playbooks.rst b/docsite/rst/playbooks.rst index ae45c33458..0e3dc36edb 100644 --- a/docsite/rst/playbooks.rst +++ b/docsite/rst/playbooks.rst @@ -220,7 +220,7 @@ who's successful exit code is not zero, you may wish to do this:: tasks: - 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 a space and indent any continuation lines:: |