Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Created May 17, 2017 12:51
Show Gist options
  • Save dmsimard/033e9e2d1201d65908fac5c4fdd2e25d to your computer and use it in GitHub Desktop.
Save dmsimard/033e9e2d1201d65908fac5c4fdd2e25d to your computer and use it in GitHub Desktop.
reproducer
---
- name: Reproducer
hosts: localhost
gather_facts: no
tasks:
- set_fact:
foo: bar
- debug:
msg: "{{ foo }}"
# ansible-playbook playbook.yml yields "bar"
# ansible-playbook playbook.yml -e foo=foo yields "foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment