mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2022-02-18 16:00
This commit is contained in:
10
roles/pgweb/tasks/archive_pre.yml
Normal file
10
roles/pgweb/tasks/archive_pre.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Create archive directory
|
||||
file: path={{ pgweb_root_dir }}/archives/{{ pgweb_current_version }} state=directory mode=700
|
||||
tags: pgweb,pg
|
||||
|
||||
- name: Archive previous version
|
||||
copy: src={{ pgweb_root_dir }}/bin/pgweb dest={{ pgweb_root_dir }}/archives/{{ pgweb_current_version }} remote_src=True
|
||||
tags: pgweb,pg
|
||||
|
Reference in New Issue
Block a user