Skip to content

Instantly share code, notes, and snippets.

@cocoy
Created April 26, 2012 06:54
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 cocoy/2496925 to your computer and use it in GitHub Desktop.
Save cocoy/2496925 to your computer and use it in GitHub Desktop.
sample.yml for ssh config
---
- hosts: web-servers
user: ubuntu
sudo: True
vars:
http_port: "8080"
tasks:
- name: write some_random_foo configuration
action: template src=templates/foo.j2 dest=/etc/some_random_foo.conf
- name: some random command
action: command /bin/true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment