summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorAleksi Aalto <aga@iki.fi>2016-02-15 01:54:52 +0200
committerAleksi Aalto <aga@iki.fi>2016-02-15 01:54:52 +0200
commitaea8900abe7aad4cbda1da7624417137acd21f3d (patch)
tree1a8a31ead440c5aed15dd7c7aa52b5f1fea5c6d0 /docs/man
parent4b953c4b161c5e9fdaed60596ac9dc48bd7e6d91 (diff)
downloadansible-aea8900abe7aad4cbda1da7624417137acd21f3d.tar.gz
document exit status for ansible-playbook
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/man1/ansible-playbook.1.asciidoc.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/man/man1/ansible-playbook.1.asciidoc.in b/docs/man/man1/ansible-playbook.1.asciidoc.in
index 82181982fb..289e7917dd 100644
--- a/docs/man/man1/ansible-playbook.1.asciidoc.in
+++ b/docs/man/man1/ansible-playbook.1.asciidoc.in
@@ -204,6 +204,24 @@ up to three times for more output.
Show program's version number and exit.
+EXIT STATUS
+-----------
+
+*0* -- OK or no hosts matched
+
+*1* -- Error
+
+*2* -- One or more hosts failed
+
+*3* -- One or more hosts were unreachable
+
+*4* -- Parser error
+
+*5* -- Bad or incomplete options
+
+*99* -- User interrupted execution
+
+*250* -- Unexpected error
ENVIRONMENT
-----------