Browse Source

create artifacts_dir (#4079)

pull/4114/head
Sergey 5 years ago
committed by Kubernetes Prow Robot
parent
commit
ce8ba1f170
1 changed files with 10 additions and 0 deletions
  1. 10
      roles/kubernetes/client/tasks/main.yml

10
roles/kubernetes/client/tasks/main.yml

@ -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

Loading…
Cancel
Save