mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix registered variable usage example
This commit is contained in:
parent
d29d142a2d
commit
2b58e03571
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