fix lint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-06-04 20:37:07 +02:00
parent a9d87e7fd3
commit d565b8fcc1

View file

@ -3,10 +3,18 @@
include_vars: "{{ ansible_os_family }}.yml" include_vars: "{{ ansible_os_family }}.yml"
- name: Install packages for dovecot - name: Install packages for dovecot
package: name="{{ dovecot_packages }}" state=latest update_cache=yes package:
name: "{{ dovecot_packages }}"
state: present
update_cache: yes
- name: Deploy configuration - name: Deploy configuration
template: src=etc/dovecot/{{ item }}.j2 dest=/etc/dovecot/{{ item }} owner=root group=root mode=0644 template:
src: etc/dovecot/{{ item }}.j2
dest: /etc/dovecot/{{ item }}
owner: root
group: root
mode: 0644
with_items: with_items:
# - dovecot.conf # - dovecot.conf
- conf.d/10-auth.conf - conf.d/10-auth.conf
@ -24,5 +32,8 @@
immediate: true immediate: true
- name: Enable dovecot at boot time - name: Enable dovecot at boot time
service: name=dovecot enabled=yes state=started service:
name: dovecot
enabled: yes
state: started