apache: Change admin contact address
This commit is contained in:
parent
033265fa00
commit
f5782ad361
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@
|
||||||
- "IncludeOptional conf.d/*.conf"
|
- "IncludeOptional conf.d/*.conf"
|
||||||
notify: restart apache
|
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
|
- name: include local configs
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/httpd/conf/httpd.conf
|
path: /etc/httpd/conf/httpd.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue