easywks: configure dns server
This commit is contained in:
parent
28b3a29085
commit
f13f3b38f7
4 changed files with 14 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace: s3lph
|
||||||
name: mailserver
|
name: mailserver
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# 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
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
|
|
@ -5,3 +5,4 @@ easywks_download: yes
|
||||||
easywks_config: ""
|
easywks_config: ""
|
||||||
easywks_service_http_enabled: yes
|
easywks_service_http_enabled: yes
|
||||||
easywks_service_lmtp_enabled: yes
|
easywks_service_lmtp_enabled: yes
|
||||||
|
easywks_service_dnsd_enabled: yes
|
||||||
|
|
|
@ -9,3 +9,8 @@
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: easywks-lmtp
|
name: easywks-lmtp
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: restart easywks-dnsd
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: easywks-dnsd
|
||||||
|
state: restarted
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
notify:
|
notify:
|
||||||
- restart easywks-http
|
- restart easywks-http
|
||||||
- restart easywks-lmtp
|
- restart easywks-lmtp
|
||||||
|
- restart easywks-dnsd
|
||||||
|
|
||||||
- name: start and enable easywks-http
|
- name: start and enable easywks-http
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
@ -22,3 +23,9 @@
|
||||||
name: easywks-lmtp
|
name: easywks-lmtp
|
||||||
state: started
|
state: started
|
||||||
enabled: "{{ easywks_service_lmtp_enabled }}"
|
enabled: "{{ easywks_service_lmtp_enabled }}"
|
||||||
|
|
||||||
|
- name: start and enable easywks-dnsd
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: easywks-dnsd
|
||||||
|
state: started
|
||||||
|
enabled: "{{ easywks_service_dnsd_enabled }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue