create artifacts_dir (#4079)

This commit is contained in:
Sergey 2019-01-28 12:59:15 +03:00 committed by Kubernetes Prow Robot
parent 595d6427ac
commit ce8ba1f170

View file

@ -30,6 +30,16 @@
mode: "0600"
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
shell: >-
{{ bin_dir }}/kubeadm alpha