mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
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>
16 lines
484 B
YAML
16 lines
484 B
YAML
---
|
|
# generate the templates for project to be created
|
|
- name: Create the deployment template
|
|
ansible.builtin.template:
|
|
src: "deployment.yml.j2"
|
|
dest: "/root/ocp4/openshift-apps/firmitas/deployment.yml"
|
|
mode: "0770"
|
|
|
|
# apply created openshift resources
|
|
- name: Oc apply resources
|
|
ansible.builtin.command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/firmitas/deployment.yml"
|
|
retries: 3
|
|
delay: 5
|
|
register: deployment_result
|
|
until: deployment_result.rc == 0
|