diff --git a/roles/ipa/server/files/ipa-rewrite.conf b/roles/ipa/server/files/ipa-rewrite.conf new file mode 100644 index 0000000000..12722ee807 --- /dev/null +++ b/roles/ipa/server/files/ipa-rewrite.conf @@ -0,0 +1 @@ +# VERSION 6 - DO NOT REMOVE THIS LINE diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index 87cdaf05fa..fa89da9813 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -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