Created
May 13, 2016 19:14
-
-
Save greg-hellings/8a9480f62c95f55a9050e94ae35bfa44 to your computer and use it in GitHub Desktop.
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: set facts | |
| set_fact: | |
| arg_name: test_true | |
| when: foo | |
| - name: set facts | |
| set_fact: | |
| arg_name: test_false | |
| when: not foo | |
| - name: use facts | |
| some_module: | |
| arg1: val1 | |
| arg2: val2 | |
| "{{ arg_name }}": val3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment