From 82076f90a347328fa8295fe7cf099c263d7adcb4 Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Fri, 26 Aug 2016 13:24:47 -0400 Subject: [PATCH] ensure bin dir for coreos before anything else --- roles/kubernetes/preinstall/tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 }}"