Created
March 22, 2018 18:47
-
-
Save tonytan4ever/8f3b6825c3c25815c7133a07a22c7bff to your computer and use it in GitHub Desktop.
ansible_debug_test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: show exp evaluation | |
hosts: host | |
strategy: debug | |
gather_facts: no | |
tasks: | |
- name: wrong variable | |
debug: | |
msg: "{{ inventory_hostname in groups['host'] }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment