mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
[proxies] ensure dir exists
This commit is contained in:
@@ -6,6 +6,13 @@
|
||||
# role only into the {{website}}/ folder for each site.
|
||||
|
||||
# This is the only real work we do.
|
||||
|
||||
- name: Ensure directory exists for redirect
|
||||
file:
|
||||
path: /etc/httpd/conf.d/{{website}}
|
||||
state: directory
|
||||
mode: '0744'
|
||||
|
||||
- name: Copy over httpd redirectmatch file for {{shortname}}
|
||||
template: >
|
||||
src=redirectmatch.conf
|
||||
|
||||
Reference in New Issue
Block a user