mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
11 lines
308 B
YAML
11 lines
308 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Create the archive dir
|
||
|
file: path={{ nomad_root_dir }}/archives/{{ nomad_current_version }} state=directory
|
||
|
tags: nomad
|
||
|
|
||
|
- name: Backup previous version
|
||
|
copy: src={{ nomad_root_dir }}/bin/nomad dest={{ nomad_root_dir }}/archives/{{ nomad_current_version }}/ remote_src=True
|
||
|
tags: nomad
|
||
|
|