ansible/examples/playbooks/roles/foo/tasks/main.yml

15 lines
286 B
YAML
Raw Normal View History

2013-04-06 18:35:35 +02:00
---
- 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
2013-04-06 18:51:17 +02:00
- name: demo that parameterized roles work
shell: echo just FYI, param1={{ param1 }}, param2 ={{ param2 }}