dehydrated: duplicated domains
This commit is contained in:
parent
6ebdf268d2
commit
cf9084c620
|
@ -3,7 +3,9 @@
|
|||
when: mailserver_mx_domain != ""
|
||||
lineinfile:
|
||||
path: /etc/dehydrated/domains.txt
|
||||
line: "{{ mailserver_mx_domain }}"
|
||||
regexp: '(.+){{ mailserver_mx_domain }}(.*)?'
|
||||
line: '\1{{ mailserver_mx_domain }}\2'
|
||||
backrefs: yes
|
||||
|
||||
- name: website - nginx domain
|
||||
notify: reload nginx
|
||||
|
|
Loading…
Reference in New Issue