Only put h2.conf on Fedora boxes

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-11-22 18:15:16 +00:00
parent 12be49917c
commit ed3aea328b
2 changed files with 2 additions and 3 deletions

View file

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

View file

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