ansible/examples/playbooks/roles/foo/tasks/main.yml
2013-04-06 12:51:17 -04:00

14 lines
286 B
YAML

---
- name: copy operation
copy: src=foo.txt dest=/tmp/roles_test1.txt
- name: template operation
template: src=foo.j2 dest=/tmp/roles_test2.txt
notify:
- blippy
- name: demo that parameterized roles work
shell: echo just FYI, param1={{ param1 }}, param2 ={{ param2 }}