clean kubernetes dir before calling make
to fix an issue caused by bumping etcd
args:
chdir: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
+- name: build kubernetes
+ make:
+ chdir: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
+ target: clean
+
- name: build kubernetes
make:
chdir: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
