This commit is contained in:
DeveloperDurp 2026-02-11 05:24:28 -06:00
parent 544414013a
commit 4576831ec7
2 changed files with 3 additions and 3 deletions

View file

@ -61,6 +61,6 @@ ansible-k3s-dev:
- if: '$SCRIPT == "k3s" && $ENVIRONMENT_NAME == "dev"'
artifacts:
paths:
- config
- $CI_PROJECT_DIR/kubeconfig
expire_in: 1 days
when: always

View file

@ -1,6 +1,6 @@
- name: ansible copy file from remote to local.
fetch:
src: /home/administrator/.kube/config
dest: "./"
flat: yes
dest: "{{ playbook_dir }}/kubeconfig"
flat: true
when: ansible_hostname == groups[master_group][0]