mirror of
https://gitlab.durp.info/durfy/runbooks/ansible.git
synced 2026-05-07 08:00:29 -05:00
update
This commit is contained in:
parent
544414013a
commit
4576831ec7
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue