Merge pull request #2926 from stoned/doc-fix

Fix registered variable usage example
This commit is contained in:
Michael DeHaan 2013-05-18 13:00:12 -07:00
commit 3cb3c58548

View file

@ -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