varnish: setup override file in correct directory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
4e316dec97
commit
6ca42be5fc
1 changed files with 7 additions and 1 deletions
|
@ -32,8 +32,14 @@
|
|||
- varnish
|
||||
when: ansible_distribution_major_version|int >= 25 and ansible_distribution_major_version|int < 29
|
||||
|
||||
- name: make varnish override file dir
|
||||
file: name=/etc/systemd/system/varnish.service.d/ state=directory mode=0755 owner=root group=root
|
||||
tags:
|
||||
- varnish
|
||||
when: ansible_distribution_major_version|int >= 29
|
||||
|
||||
- name: install varnish /etc/systemd/system/varnish.service file (fedora 29+)
|
||||
template: src=varnish.f29.j2 dest=/etc/systemd/system/varnish.service owner=root group=root
|
||||
template: src=varnish.f29.j2 dest=/etc/systemd/system/varnish.service.d/infra.conf owner=root group=root
|
||||
notify:
|
||||
- reload systemd
|
||||
- restart varnish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue