Update to 2022-09-02 18:00

This commit is contained in:
Daniel Berteaud
2022-09-02 18:00:22 +02:00
parent 67bfcd5db3
commit 24a4eac5e0
23 changed files with 400 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Create the archive dir
file: path={{ consul_tpl_root_dir }}/archives/{{ consul_tpl_current_version }} state=directory
tags: consul,vault
- name: Backup previous version
synchronize:
src: "{{ consul_tpl_root_dir }}/{{ item }}"
dest: "{{ consul_tpl_root_dir }}/archives/{{ consul_tpl_current_version }}/"
compress: False
delegate_to: "{{ inventory_hostname }}"
loop:
- bin
tags: consul,vault