Allow IMAPS and SIEVE ports.
This commit is contained in:
parent
d90e2ea909
commit
54aecb290e
@ -197,9 +197,6 @@
|
|||||||
state: present
|
state: present
|
||||||
network:
|
network:
|
||||||
- host
|
- host
|
||||||
ports:
|
|
||||||
- 993:993/tcp
|
|
||||||
- 4190:4190/tcp
|
|
||||||
volume:
|
volume:
|
||||||
- /mnt/volumes/mail_data/data:/home/yohan:z
|
- /mnt/volumes/mail_data/data:/home/yohan:z
|
||||||
- /mnt/volumes/mail_data_Sylvie/data:/home/sylvie:z
|
- /mnt/volumes/mail_data_Sylvie/data:/home/sylvie:z
|
||||||
@ -230,6 +227,18 @@
|
|||||||
- imap
|
- imap
|
||||||
- sieve
|
- sieve
|
||||||
|
|
||||||
|
- name: Allow IMAPS and SIEVE ports
|
||||||
|
ansible.posix.firewalld:
|
||||||
|
zone: public
|
||||||
|
port: "{{ item }}"
|
||||||
|
permanent: true
|
||||||
|
immediate: true
|
||||||
|
state: enabled
|
||||||
|
become: true
|
||||||
|
with_items:
|
||||||
|
- 993/tcp
|
||||||
|
- 4190/tcp
|
||||||
|
|
||||||
# A local volume is needed to store restore states
|
# A local volume is needed to store restore states
|
||||||
- name: Create /mnt/volumes/restore_states directory if it does not exist
|
- name: Create /mnt/volumes/restore_states directory if it does not exist
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Loading…
Reference in New Issue
Block a user