mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 12:10:34 +08:00
[proxies] ensure all directories exists
This commit is contained in:
@@ -12,11 +12,14 @@
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
tasks:
|
||||
- name: Ensure directory exists
|
||||
- name: Ensure directories exists
|
||||
file:
|
||||
path: /etc/httpd/conf.d/fedorahosted.org
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
loop:
|
||||
- '/etc/httpd/conf.d/fedorahosted.org'
|
||||
- '/etc/httpd/conf.d/git.fedorahosted.org'
|
||||
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user