Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Created January 25, 2017 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsimard/a927aebd453ac8f6300f74e6057811cb to your computer and use it in GitHub Desktop.
Save dmsimard/a927aebd453ac8f6300f74e6057811cb to your computer and use it in GitHub Desktop.
control_host
---
- name: Record the control host
hosts: localhost
gather_facts: yes
tasks:
- name: Record the control host
ara_record:
key: "control_host"
value: "{{ ansible_fqdn }}"
- name: Whatever other play
hosts: all
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment