mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-11 04:10:17 +01:00
15 lines
286 B
YAML
15 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 }}
|
||
|
|
||
|
|