apache: Change admin contact address

This commit is contained in:
Timo Makinen 2021-03-18 22:27:05 +00:00
parent 033265fa00
commit f5782ad361

View file

@ -17,6 +17,13 @@
- "IncludeOptional conf.d/*.conf"
notify: restart apache
- name: set server admin address
lineinfile:
path: /etc/httpd/conf/httpd.conf
line: "ServerAdmin webmaster@{{ mail_domain }}"
regexp: "#?ServerAdmin .*"
notify: restart apache
- name: include local configs
lineinfile:
path: /etc/httpd/conf/httpd.conf