summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2013-03-30 02:36:53 +0100
committerMichael DeHaan <michael.dehaan@gmail.com>2013-03-30 02:36:53 +0100
commitbccab0f2b7789401d8683b6ad04e9b9a26b09812 (patch)
treeb9d02b4994846ad3297744065059bfa8c3aa6d2a
parentMerge pull request #2527 from mavimo/patch-1 (diff)
parentreplaced && by || (diff)
downloadansible-bccab0f2b7789401d8683b6ad04e9b9a26b09812.tar.xz
ansible-bccab0f2b7789401d8683b6ad04e9b9a26b09812.zip
Merge pull request #2514 from raphinou/patch-1
replaced && by ||
-rw-r--r--docsite/rst/playbooks.rst2
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::