Last active
November 9, 2017 15:34
-
-
Save jctanner/32df50fe270096afc7fe2582e2d21b8c to your computer and use it in GitHub Desktop.
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
moved to https://github.com/ansible/ansible/pull/32738 |
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
- hosts: localhost | |
connection: local | |
gather_facts: False | |
vars: | |
one: 1 | |
two: 2 | |
bool_true: True | |
tasks: | |
- set_fact: | |
numsum: "{{ one + two }}" | |
- debug: var=numsum | |
- set_fact: | |
numsum2: "{{ numsum + 1 }}" | |
- debug: var=numsum2 | |
- set_fact: | |
A: "{{ a_node | default(False) }}" | |
- set_fact: | |
A_type: "{{ A|type_debug|string }}" | |
- debug: var=A_type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment