From afb1e4a45d0477a99ab2361b54f70739ecf4fab0 Mon Sep 17 00:00:00 2001 From: Francois Andrieu Date: Mon, 19 Feb 2024 01:37:40 +0100 Subject: [PATCH] openshift: fix custom-error-pages playbook --- playbooks/openshift-apps/custom-error-pages.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/openshift-apps/custom-error-pages.yml b/playbooks/openshift-apps/custom-error-pages.yml index 36334213a6..7143fbaa6a 100644 --- a/playbooks/openshift-apps/custom-error-pages.yml +++ b/playbooks/openshift-apps/custom-error-pages.yml @@ -8,6 +8,15 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + pre_tasks: + - name: Create project directory + file: + path: /etc/openshift_apps/openshift-config + state: directory + owner: root + group: root + mode: 0750 + roles: - role: openshift/object app: openshift-config