From aea8900abe7aad4cbda1da7624417137acd21f3d Mon Sep 17 00:00:00 2001 From: Aleksi Aalto Date: Mon, 15 Feb 2016 01:54:52 +0200 Subject: [PATCH] document exit status for ansible-playbook --- docs/man/man1/ansible-playbook.1.asciidoc.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -----------