Disable rewrites on ipa servers

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-04 02:49:47 +00:00
parent 55d73ac464
commit 9b53f51f0e
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
# VERSION 6 - DO NOT REMOVE THIS LINE

View file

@ -121,6 +121,14 @@
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
- name: Disable rewrites
copy: src=ipa-rewrite.conf dest=/etc/httpd/conf.d/ipa-rewrite.conf
notify:
- reload httpd
tags:
- ipa/server
- config
- name: Deploy configuration script
copy: src=configure-ipa.sh dest=/root/configure-ipa.sh mode=0700 owner=root group=root
register: config_deployed