ansible/roles/dovecot/vars/main.yml
2020-10-21 16:18:30 +02:00

61 lines
1.5 KiB
YAML

---
dovecot_log_size: '32m'
dovecot_log_mode: '750'
dovecot_log_uid: '20000'
dovecot_log_gid: '20000'
dovecot_service_dirs:
- dovecot
- dovecot/env
- dovecot/data
- dovecot-log
- dovecot-log/env
dovecot_service_scripts:
- dovecot/run
- dovecot/finish
- dovecot/data/check
- dovecot-log/run
- dovecot-log/finish
dovecot_service_config:
- name: dovecot/type
content: longrun
- name: dovecot/producer-for
content: dovecot-log
- name: dovecot/notification-fd
content: 3
- name: dovecot/env/NAME
content: dovecot
- name: dovecot/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: dovecot-log/type
content: longrun
- name: dovecot-log/notification-fd
content: 3
- name: dovecot-log/consumer-for
content: dovecot
- name: dovecot-log/env/NAME
content: dovecot
- name: dovecot-log/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: dovecot-log/env/MODE
content: '750'
- name: dovecot-log/env/USER
content: s6-log
- name: dovecot-log/env/GROUP
content: s6-log
- name: dovecot-log/env/DIR
content: /var/log/dovecot
dovecot_config:
- name: maillog_file
value: /var/log/dovecot/fifo
state: present
- name: inet_protocols
value: '{{ dovecot_inet_protocols | default("ipv6, ipv4") }}'
state: present
- name: inet_interfaces
value: '{{ dovecot_inet_interfaces }}'
state: present