Skip to content

Instantly share code, notes, and snippets.

@tgerla
Created November 6, 2013 00:51
Show Gist options
  • Select an option

  • Save tgerla/7329060 to your computer and use it in GitHub Desktop.

Select an option

Save tgerla/7329060 to your computer and use it in GitHub Desktop.
Timothys-MacBook-Pro:ansible-test tgerla$ tree
.
├── roles
│   └── myrole
│   └── tasks
│   └── main.yml
├── templates
│   └── mytemplate.j2
└── test-roles.yml
Timothys-MacBook-Pro:ansible-test tgerla$ cat roles/myrole/tasks/main.yml
- name: render a template
template: src=../../../templates/mytemplate.j2 dest=/tmp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment