mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
27 lines
974 B
YAML
27 lines
974 B
YAML
---
|
|
- name: Generate the forgejo-dataprotectionapplication.yaml from template
|
|
ansible.builtin.template:
|
|
src: "forgejo-dataprotectionapplication.yaml.j2"
|
|
dest: "/root/ocp4/openshift-apps/forgejo/forgejo-dataprotectionapplication.yaml"
|
|
mode: "0770"
|
|
|
|
- name: Generate the forgejo-oadp-secret.yaml from template
|
|
ansible.builtin.template:
|
|
src: "forgejo-oadp-secret.yaml.j2"
|
|
dest: "/root/ocp4/openshift-apps/forgejo/forgejo-oadp-secret.yaml"
|
|
mode: "0770"
|
|
|
|
- name: Deploy the forgejo-dataprotectionapplication.yaml config
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
src: "/root/ocp4/openshift-apps/forgejo/forgejo-dataprotectionapplication.yaml"
|
|
|
|
- name: Deploy the forgejo-oadp-secret.yaml secret
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
src: "/root/ocp4/openshift-apps/forgejo/forgejo-oadp-secret.yaml"
|
|
|
|
- name: Sleep for 30 seconds, allow the OADP operator time to reconcile then continue with play
|
|
ansible.builtin.wait_for:
|
|
timeout: 30
|