Disable rewrites on ipa servers
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
55d73ac464
commit
9b53f51f0e
2 changed files with 9 additions and 0 deletions
1
roles/ipa/server/files/ipa-rewrite.conf
Normal file
1
roles/ipa/server/files/ipa-rewrite.conf
Normal file
|
@ -0,0 +1 @@
|
|||
# VERSION 6 - DO NOT REMOVE THIS LINE
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue