Files
fedora-infra_ansible/roles/openshift-apps/firmitas/tasks/create-namespace.yml
Ryan Lerch a0cd459d47 Fix some references in tasks dropping .j2
When fixing conflicts when merging the PR containing commit 47c68f4,
some of the .j2 suffuxes i added in tasks were erronounusly dropped.

this fixes those.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 19:44:59 +10:00

12 lines
391 B
YAML

---
# generate the templates for project to be created
- name: Create the namespace template
ansible.builtin.template:
src: "namespace.yml.j2"
dest: "/root/ocp4/openshift-apps/firmitas/namespace.yml"
mode: "0770"
# apply created openshift resources
- name: Oc apply resources
ansible.builtin.command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/firmitas/namespace.yml"