easywks: configure dns server

This commit is contained in:
s3lph 2023-04-04 23:19:07 +02:00
parent 28b3a29085
commit f13f3b38f7
4 changed files with 14 additions and 1 deletions
galaxy.yml
roles/easywks
defaults
handlers
tasks

View file

@ -8,7 +8,7 @@ namespace: s3lph
name: mailserver
# The version of the collection. Must be compatible with semantic versioning
version: '0.3.5'
version: '0.3.6'
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

View file

@ -5,3 +5,4 @@ easywks_download: yes
easywks_config: ""
easywks_service_http_enabled: yes
easywks_service_lmtp_enabled: yes
easywks_service_dnsd_enabled: yes

View file

@ -9,3 +9,8 @@
ansible.builtin.service:
name: easywks-lmtp
state: restarted
- name: restart easywks-dnsd
ansible.builtin.service:
name: easywks-dnsd
state: restarted

View file

@ -10,6 +10,7 @@
notify:
- restart easywks-http
- restart easywks-lmtp
- restart easywks-dnsd
- name: start and enable easywks-http
ansible.builtin.service:
@ -22,3 +23,9 @@
name: easywks-lmtp
state: started
enabled: "{{ easywks_service_lmtp_enabled }}"
- name: start and enable easywks-dnsd
ansible.builtin.service:
name: easywks-dnsd
state: started
enabled: "{{ easywks_service_dnsd_enabled }}"