mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-13 04:17:39 -02:30
create artifacts_dir (#4079)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
595d6427ac
commit
ce8ba1f170
@@ -30,6 +30,16 @@
|
|||||||
mode: "0600"
|
mode: "0600"
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
|
- name: Create kube artifacts dir
|
||||||
|
file:
|
||||||
|
path: "{{ artifacts_dir }}"
|
||||||
|
mode: "0750"
|
||||||
|
state: directory
|
||||||
|
delegate_to: localhost
|
||||||
|
become: no
|
||||||
|
run_once: yes
|
||||||
|
when: kubeconfig_localhost|default(false)
|
||||||
|
|
||||||
- name: Generate admin kubeconfig with external api endpoint
|
- name: Generate admin kubeconfig with external api endpoint
|
||||||
shell: >-
|
shell: >-
|
||||||
{{ bin_dir }}/kubeadm alpha
|
{{ bin_dir }}/kubeadm alpha
|
||||||
|
|||||||
Reference in New Issue
Block a user