Skip to content

Instantly share code, notes, and snippets.

@jctanner
Last active November 9, 2017 15:34
Show Gist options
  • Save jctanner/32df50fe270096afc7fe2582e2d21b8c to your computer and use it in GitHub Desktop.
Save jctanner/32df50fe270096afc7fe2582e2d21b8c to your computer and use it in GitHub Desktop.
moved to https://github.com/ansible/ansible/pull/32738
- 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