mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 05:20:49 +08:00
/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.
12 lines
402 B
YAML
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"
|