Files
fedora-infra_ansible/roles/fas2discourse/tasks/create-operator-namespace.yml
Michal Konecny b4a80bed38 [fas2discourse] Fix the path to oc binary
/root/bin/oc doesn't exist, the oc is located in /bin/oc. I assume that
this was just some manually created symlink, so let me fix that.
2025-07-01 18:47:52 +02:00

12 lines
402 B
YAML

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