firmitas: ensure template directory created first

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2024-07-23 14:51:31 +01:00
parent 4a444490c6
commit 57ca9d90b5
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D
2 changed files with 4 additions and 5 deletions

View file

@ -1,9 +1,4 @@
---
- name: ensures /ocp4/openshift-apps/firmitas/ dir exists
file:
path: "/ocp4/openshift-apps/firmitas/"
state: directory
# generate the templates for project to be created
- name: Create the myconfig.py configuration
ansible.builtin.template:

View file

@ -1,4 +1,8 @@
---
- name: ensures /ocp4/openshift-apps/firmitas/ dir exists
file:
path: "/ocp4/openshift-apps/firmitas/"
state: directory
- include_tasks: create-namespace.yml
- include_tasks: create-pagure-apikey-secret.yml