mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
27 lines
461 B
YAML
27 lines
461 B
YAML
---
|
|
- 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
|
|
|
|
|