mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 02:03:09 +02:00
11 lines
316 B
YAML
11 lines
316 B
YAML
---
|
|
|
|
- name: Create the archive dir
|
|
file: path={{ consul_root_dir }}/archives/{{ consul_current_version }} state=directory
|
|
tags: consul
|
|
|
|
- name: Backup previous version
|
|
copy: src={{ consul_root_dir }}/bin/consul dest={{ consul_root_dir }}/archives/{{ consul_current_version }}/ remote_src=True
|
|
tags: consul
|
|
|