style(dovecot): linting

This commit is contained in:
VC
2024-07-05 11:53:13 +02:00
parent 44d6256ea0
commit 66830fd2eb
2 changed files with 17 additions and 14 deletions

View File

@@ -1,7 +1,9 @@
---
- name: restart dovecot - name: restart dovecot
service: service:
name: dovecot name: dovecot
state: restarted state: restarted
- name: compile sieve - name: compile sieve
command: sievec /etc/dovecot/before.sieve command: sievec /etc/dovecot/before.sieve

View File

@@ -1,23 +1,24 @@
---
- name: install dovecot - name: install dovecot
package: package:
name: "{{ item }}" name: "{{ item }}"
state: present state: present
loop: loop:
- dovecot-imapd - dovecot-imapd
- dovecot-sieve - dovecot-sieve
- dovecot-lmtpd - dovecot-lmtpd
- name: main configuration file - name: main configuration file
copy: copy:
src: ./files/dovecot.conf src: ./files/dovecot.conf
dest: /etc/dovecot/dovecot.conf dest: /etc/dovecot/dovecot.conf
notify: notify:
- restart dovecot - restart dovecot
- name: sieve configuration file - name: sieve configuration file
copy: copy:
src: ./files/before.sieve src: ./files/before.sieve
dest: /etc/dovecot/before.sieve dest: /etc/dovecot/before.sieve
notify: notify:
- compile sieve - compile sieve
- restart dovecot - restart dovecot