mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #2926 from stoned/doc-fix
Fix registered variable usage example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user