From 9b54e14d1cd85449e2b8618385e624c413ac2190 Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Tue, 4 Aug 2020 17:14:50 +0100 Subject: [PATCH] [proxies] ensure dir exists --- playbooks/include/proxies-fedorahosted.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/include/proxies-fedorahosted.yml b/playbooks/include/proxies-fedorahosted.yml index c99c0d841e..83cd90ea75 100644 --- a/playbooks/include/proxies-fedorahosted.yml +++ b/playbooks/include/proxies-fedorahosted.yml @@ -12,6 +12,12 @@ - import_tasks: "{{ handlers_path }}/restart_services.yml" 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 copy: src={{ files }}/httpd/fedorahosted-redirects.conf dest=/etc/httpd/conf.d/fedorahosted.org/fedorahosted-redirects.conf