mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
src= parameters for template and copy operations can be relative to the playbook (for /usr/bin/ansible-playbook) or current directory (for /usr/bin/ansible)
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
max_clients: 200
|
||||
tasks:
|
||||
- include: base.yml favcolor=blue
|
||||
- name: write the apache config file using vars set above
|
||||
action: template src=/srv/httpd.j2 dest=/etc/httpd.conf
|
||||
- name: write the foo config file using vars set above
|
||||
action: template src=foo.j2 dest=/etc/some_random_foo.conf
|
||||
notify:
|
||||
- restart apache
|
||||
- name: ensure apache is running
|
||||
|
||||
Reference in New Issue
Block a user