Redirect collab.foo.sh root to collab
This commit is contained in:
parent
a3492d4490
commit
3f05e6e50f
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,15 @@
|
||||||
- ldap/client
|
- ldap/client
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: redirect root web directory to collab
|
||||||
|
copy:
|
||||||
|
content: "RedirectMatch permanent \"^/$\" /collab/\n"
|
||||||
|
dest: "/etc/httpd/conf.local.d/redirects.conf"
|
||||||
|
mode: 0644
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
notify: restart apache
|
||||||
|
|
||||||
- name: create htaccess for collab
|
- name: create htaccess for collab
|
||||||
copy:
|
copy:
|
||||||
content: |
|
content: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue