Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when: result.stdout.find("some stdout text {{ansible_hostname}}") == -1
- when: result.stdout.find("some stdout text {{ansible_hostname}}") != -1
- [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement