1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-28 08:03:25 +02:00
2022-02-18 16:00:06 +01:00

11 lines
325 B
YAML

---
- 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