Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created September 26, 2013 02:56
Show Gist options
  • Save kelseyhightower/6709294 to your computer and use it in GitHub Desktop.
Save kelseyhightower/6709294 to your computer and use it in GitHub Desktop.
$ cat playbooks/nginx.yml
---
- hosts: localhost
connection: local
tasks:
- add_host: name={{ host }} groups=nginx
- hosts: nginx
roles:
- nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment