Created
April 4, 2018 16:50
-
-
Save michaelgugino/416057206f4e79d9fb7ca4f72f3f6812 to your computer and use it in GitHub Desktop.
Use the vars!
This file contains 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: do x | |
x: | |
something: "{{ l_do_x_var }}" | |
vars: | |
l_do_x_default: "{{ big_ugly_registered_var.stat.something[1] }}" | |
l_do_x_var: "{{ my_inventory_var | default(l_do_x_default) }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment