mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 21:41:53 +08:00
Replaces references to template: with ansible.builtin.template Signed-off-by: Ryan Lerch <rlerch@redhat.com>
12 lines
407 B
YAML
12 lines
407 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: "/root/bin/oc apply -f /root/ocp4/openshift-apps/fas2discourse-operator/namespace.yml"
|