mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 14:09:34 -02:30
Purge old upgrade hooks and unused tasks (#1641)
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
---
|
||||
# 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
|
||||
register: gitinfo
|
||||
check_mode: no
|
||||
|
||||
- name: 'GIT | copy ansible information'
|
||||
template:
|
||||
src: ansible_git.j2
|
||||
dest: /etc/.ansible.ini
|
||||
backup: yes
|
||||
|
||||
- name: 'GIT | generate diff file'
|
||||
local_action: command {{ role_path }}/gen-gitinfos.sh diff
|
||||
register: gitdiff
|
||||
check_mode: no
|
||||
|
||||
- name: 'GIT | copy git diff file'
|
||||
copy:
|
||||
content: "{{ gitdiff.stdout }}"
|
||||
dest: /etc/.git-ansible.diff
|
||||
backup: yes
|
||||
@@ -16,10 +16,6 @@
|
||||
become: true
|
||||
tags: bootstrap-os
|
||||
|
||||
- include: gitinfos.yml
|
||||
when: run_gitinfos
|
||||
tags: facts
|
||||
|
||||
- include: set_facts.yml
|
||||
tags: facts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user