Update to 2022-08-31 18:00

This commit is contained in:
Daniel Berteaud
2022-08-31 18:00:16 +02:00
parent c10fd506f3
commit 71ef979f8c
10 changed files with 125 additions and 0 deletions

View File

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