Commit 3cb3c585 by Michael DeHaan

Merge pull request #2926 from stoned/doc-fix

Fix registered variable usage example
parents d4dbb8e9 2b58e035
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment