Skip to content

Commit

Permalink
create artifacts_dir (kubernetes-sigs#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckySB authored and k8s-ci-robot committed Jan 28, 2019
1 parent 595d642 commit ce8ba1f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/kubernetes/client/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce8ba1f

Please sign in to comment.