You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
877 B
YAML
41 lines
877 B
YAML
---
|
|
- name: Setup gitea Secret
|
|
become: yes
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
template: 'gitea-secret.j2'
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
tags:
|
|
- argo-cd
|
|
|
|
- name: Setup Harbor Secret
|
|
become: yes
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
template: 'harbor-secret.j2'
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
tags:
|
|
- argo-cd
|
|
|
|
- name: Setup argocd application for bootstrap
|
|
become: yes
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
template: 'bootstrap-application.j2'
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
tags:
|
|
- argo-cd
|
|
|
|
- name: Setup argocd infrastructure project
|
|
become: yes
|
|
kubernetes.core.k8s:
|
|
state: present
|
|
template: 'project-infrastructure.j2'
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
tags:
|
|
- argo-cd
|