mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-05 12:42:19 -07:00
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
|
register: motd_contents
|
||||||
|
|
||||||
- action: shell echo "motd contains the word hi"
|
- action: shell echo "motd contains the word hi"
|
||||||
when: motd_contents.find('hi') != -1
|
when: motd_contents.stdout.find('hi') != -1
|
||||||
|
|
||||||
|
|
||||||
Rolling Updates
|
Rolling Updates
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue