Skip to content

Instantly share code, notes, and snippets.

@bcoca
Created November 11, 2014 17:20
Show Gist options
  • Save bcoca/e6adffe3cb0a89f3678a to your computer and use it in GitHub Desktop.
Save bcoca/e6adffe3cb0a89f3678a to your computer and use it in GitHub Desktop.
---
- hosts: all # just here to gather facts on all hosts
- hosts: "{{target}}"
tasks:
- template: src....
...
ansible-playbook test.yml -e "target=targethost"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment