Only put h2.conf on Fedora boxes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
12be49917c
commit
ed3aea328b
2 changed files with 2 additions and 3 deletions
|
@ -1,3 +1 @@
|
|||
{% if ansible_distribution == 'Fedora' %}
|
||||
Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1
|
||||
{% endif %}
|
||||
Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
|
||||
- name: add appserver h2.conf
|
||||
template: src="{{ files }}/httpd/h2.conf.j2" dest=/etc/httpd/conf.d/h2.conf
|
||||
when: ansible_distribution == 'Fedora'
|
||||
notify:
|
||||
- reload apache
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue