Merge pull request #672 from kubernetes-incubator/fail_all_on_error

Fail all nodes on error
This commit is contained in:
Bogdan Dobrelya
2016-12-02 17:08:10 +01:00
committed by GitHub
3 changed files with 19 additions and 6 deletions

View File

@@ -1,6 +1,11 @@
---
# Deploy git infos
# ----------------
- name: 'GIT | Install script for collecting git info'
template:
src: "{{ role_path }}/gen-gitinfos.sh"
dest: "{{ bin_dir }}/gen-gitinfos.sh"
mode: a+rwx
- name: 'GIT | generate git informations'
local_action: command {{ role_path }}/gen-gitinfos.sh global

View File

@@ -4,12 +4,12 @@
bin_dir: "/opt/bin"
when: ansible_os_family == "CoreOS"
- name: 'GIT | Install script for collecting git info'
template:
src: "{{ role_path }}/gen-gitinfos.sh"
dest: "{{ bin_dir }}/gen-gitinfos.sh"
mode: a+rwx
- name: check bin dir exists
file:
path: "{{bin_dir}}"
state: directory
owner: root
become: true
- include: gitinfos.yml
when: run_gitinfos