Compare commits

...

2 Commits

Author SHA1 Message Date
Geno cf9084c620 dehydrated: duplicated domains 2021-01-13 03:13:58 +01:00
Geno 6ebdf268d2 workaround /tmp/ansible privilegs 2021-01-13 03:13:31 +01:00
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
- name: Workaround ansible switch between users
file:
path: "/tmp/ansible/"
mode: 0777
state: directory
- name: DB - Install PostgreSQL
package:
state: latest

View File

@ -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