Update file main.yml

This commit is contained in:
2023-03-05 01:54:27 +00:00
parent 243c87999f
commit cc37ec8c00

View File

@@ -1,6 +1,12 @@
---
- name: Copy file kubeseal
ansible.builtin.copy:
src: $CI_PROJECT_DIR/kubeseal.yaml
dest: /tmp/kubeseal.yaml
mode: '0666'
- name: Apply Kubeseal master key
command: k3s kubectl apply -f ./kubeseal.yaml --force
command: k3s kubectl apply -f /tmp/kubeseal.yaml --force
- name: Apply ArgoCD namespace
command: k3s kubectl apply -f https://raw.githubusercontent.com/DeveloperDurp/homelab/main/argocd/namespace.yaml -n argocd