mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 05:12:35 +08:00
/root/bin/oc doesn't exist, let's change it to just oc as in other playbooks. I also don't understand why firmitas deployment is completely different than rest of our openshift applications.
12 lines
381 B
YAML
12 lines
381 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: "oc apply -f /root/ocp4/openshift-apps/firmitas/namespace.yml"
|