whitespaces

This commit is contained in:
Jérémy Lecour 2020-12-20 23:00:50 +01:00 committed by Jérémy Lecour
parent 3e72d6961c
commit d430dea043

View file

@ -4,19 +4,19 @@
name: varnish name: varnish
state: present state: present
tags: tags:
- varnish - varnish
- name: Remove default varnish configuration files - name: Remove default varnish configuration files
file: file:
path: "{{ item }}" path: "{{ item }}"
state: absent state: absent
with_items: with_items:
- /etc/default/varnish - /etc/default/varnish
- /etc/default/varnishncsa - /etc/default/varnishncsa
- /etc/default/varnishlog - /etc/default/varnishlog
notify: reload varnish notify: reload varnish
tags: tags:
- varnish - varnish
- name: Copy Custom Varnish ExecReload script (Debian <=9) - name: Copy Custom Varnish ExecReload script (Debian <=9)
template: template:
@ -28,14 +28,14 @@
when: ansible_distribution_major_version is version('9', '<=') when: ansible_distribution_major_version is version('9', '<=')
notify: reload varnish notify: reload varnish
tags: tags:
- varnish - varnish
- name: Create a system config directory for systemd overrides - name: Create a system config directory for systemd overrides
file: file:
path: /etc/systemd/system/varnish.service.d path: /etc/systemd/system/varnish.service.d
state: directory state: directory
tags: tags:
- varnish - varnish
- name: Override Varnish systemd unit - name: Override Varnish systemd unit
template: template:
@ -46,7 +46,7 @@
- reload systemd - reload systemd
- restart varnish - restart varnish
tags: tags:
- varnish - varnish
- name: Patch logrotate conf - name: Patch logrotate conf
replace: replace:
@ -57,7 +57,7 @@
- varnishlog - varnishlog
- varnishncsa - varnishncsa
tags: tags:
- varnish - varnish
- name: Copy Varnish configuration - name: Copy Varnish configuration
template: template:
@ -72,7 +72,7 @@
- "default.vcl.j2" - "default.vcl.j2"
notify: reload varnish notify: reload varnish
tags: tags:
- varnish - varnish
- name: Create Varnish config dir - name: Create Varnish config dir
file: file:
@ -80,7 +80,7 @@
state: directory state: directory
mode: "0755" mode: "0755"
tags: tags:
- varnish - varnish
- name: Copy included Varnish config - name: Copy included Varnish config
template: template:
@ -92,6 +92,6 @@
- "templates/varnish/conf.d/*.vcl" - "templates/varnish/conf.d/*.vcl"
notify: reload varnish notify: reload varnish
tags: tags:
- varnish - varnish
- include: munin.yml - include: munin.yml