adding restart httpd notifier where needed for qadevel-stg
This commit is contained in:
parent
506485a596
commit
6a128dc86b
1 changed files with 6 additions and 0 deletions
|
@ -100,11 +100,15 @@
|
|||
tasks:
|
||||
- name: ensure ServerName is set in ssl.conf
|
||||
replace: dest=/etc/httpd/conf.d/ssl.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- qadevelstaticsites
|
||||
|
||||
- name: ensure ServerName is set in httpd.conf
|
||||
replace: dest=/etc/httpd/conf/httpd.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- qadevelstaticsites
|
||||
|
||||
|
@ -117,6 +121,8 @@
|
|||
- name: generate virtualhosts for static sites
|
||||
template: src={{ files }}/httpd/newvirtualhost.conf.j2 dest=/etc/httpd/conf.d/{{ item.name }}.conf owner=root group=root mode=0644
|
||||
with_items: static_sites
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- qadevelstaticsites
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue