style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent fa6ed6484e
commit 332dc0f60a
7 changed files with 44 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
---
- name: install dovecot
package:
- name: Install dovecot
ansible.builtin.package:
name: "{{ item }}"
state: present
loop:
@@ -8,17 +8,19 @@
- dovecot-sieve
- dovecot-lmtpd
- name: main configuration file
copy:
- name: Main configuration file
ansible.builtin.copy:
src: ./files/dovecot.conf
dest: /etc/dovecot/dovecot.conf
mode: 0644
notify:
- restart dovecot
- Restart dovecot
- name: sieve configuration file
copy:
- name: Sieve configuration file
ansible.builtin.copy:
src: ./files/before.sieve
dest: /etc/dovecot/before.sieve
mode: 0644
notify:
- compile sieve
- restart dovecot
- Compile sieve
- Restart dovecot