mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 03:37:36 +03:00
Fail all nodes on error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user