1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00

Put venv and repo to variable (backup task)

This commit is contained in:
L3D 2022-11-17 01:51:05 +01:00
parent 6dcef83f5e
commit 6d860f0048
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 5 additions and 3 deletions

View file

@ -92,8 +92,8 @@
group: "{{ etebase__group }}"
path:
- "{{ etebase__current_backup_destination }}"
- "{{ etebase__user_home }}/etebase_{{ remote_vars.last_etebase_version_target }}"
- "{{ etebase__venv_path }}/{{ remote_vars.last_etebase_version_target }}"
- "{{ remote_vars.last_etebase_repo_dir }}"
- "{{ remote_vars.last_etebase_venv_dir }}"
dest: "{{ etebase__current_backup_destination }}.tar.bz2"
format: bz2
remove: true

View file

@ -3,3 +3,5 @@
# {{ ansible_managed }}
#
last_etebase_version_target: '{{ etebase_version_target }}'
last_etebase_repo_dir: '{{ etebase__user_home }}/etebase_{{ etebase_version_target }}'
last_etebase_venv_dir: '{{ etebase__venv }}'

View file

@ -4,5 +4,5 @@ etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
etebase__venv: "{{ etebase__venv_path }}/{{ etebase_version_target }}"
# versionscheck
playbook_version_number: 12 # should be a integer
playbook_version_number: 13 # should be a integer
playbook_version_path: 'role-do1jlr.etebase'