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"' - if: '$SCRIPT == "k3s" && $ENVIRONMENT_NAME == "dev"'
artifacts: artifacts:
paths: paths:
- config - $CI_PROJECT_DIR/kubeconfig
expire_in: 1 days expire_in: 1 days
when: always when: always

View file

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