[proxies] ensure dir exists
This commit is contained in:
parent
5c3052862f
commit
9b54e14d1c
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure directory exists
|
||||||
|
file:
|
||||||
|
path: /etc/httpd/conf.d/fedorahosted.org
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
- name: install special fedorahosted-redirects.conf with fedorahosted redirects
|
- name: install special fedorahosted-redirects.conf with fedorahosted redirects
|
||||||
copy: src={{ files }}/httpd/fedorahosted-redirects.conf dest=/etc/httpd/conf.d/fedorahosted.org/fedorahosted-redirects.conf
|
copy: src={{ files }}/httpd/fedorahosted-redirects.conf dest=/etc/httpd/conf.d/fedorahosted.org/fedorahosted-redirects.conf
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue