Merge pull request #2926 from stoned/doc-fix
Fix registered variable usage example
This commit is contained in:
commit
3cb3c58548
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue