From 2b58e035716390153ee605f6c3c215d25412ed64 Mon Sep 17 00:00:00 2001 From: Stoned Elipot Date: Wed, 15 May 2013 22:11:07 +0200 Subject: [PATCH] Fix registered variable usage example --- docsite/latest/rst/playbooks2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/latest/rst/playbooks2.rst b/docsite/latest/rst/playbooks2.rst index db48b32d72..619a6aa7bf 100644 --- a/docsite/latest/rst/playbooks2.rst +++ b/docsite/latest/rst/playbooks2.rst @@ -728,7 +728,7 @@ The 'register' keyword decides what variable to save a result in. The resulting register: motd_contents - action: shell echo "motd contains the word hi" - when: motd_contents.find('hi') != -1 + when: motd_contents.stdout.find('hi') != -1 Rolling Updates