1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
ansible_playbook_servers/roles/mailserver_dovecot/tasks/main.yml

28 lines
461 B
YAML
Raw Normal View History

2021-01-10 03:15:31 +01:00
---
- include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: Delete default config
become: true
file:
state: absent
path: /etc/dovecot/
- name: Create config directory
become: true
file:
path: /etc/dovecot
state: directory
mode: '0755'
- name: create dovecot config
include_tasks: templates.yml
- name: create dhparam
become: true
openssl_dhparam:
path: '/etc/dovecot/dh4096.pem'
size: 4096