diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml index 2a93129b1..ec1bd64c0 100644 --- a/roles/kubernetes/preinstall/tasks/main.yml +++ b/roles/kubernetes/preinstall/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Force binaries directory for CoreOS + set_fact: + bin_dir: "/opt/bin" + when: ansible_os_family == "CoreOS" + + - name: 'GIT | Install script for collecting git info' template: src: "{{ role_path }}/gen-gitinfos.sh" @@ -24,11 +30,6 @@ - ../vars skip: true -- name: Force binaries directory for CoreOS - set_fact: - bin_dir: "/opt/bin" - when: ansible_os_family == "CoreOS" - - name: Create kubernetes config directory file: path: "{{ kube_config_dir }}"