14 lines
366 B
YAML
14 lines
366 B
YAML
|
- name: Set recovery path
|
||
|
ansible.builtin.set_fact:
|
||
|
recovery_path: "{{ (service_path, 'recovery') | path_join }}"
|
||
|
- name: Create recovery directory
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ recovery_path }}"
|
||
|
state: directory
|
||
|
mode: "0755"
|
||
|
- name: Copy the recovery
|
||
|
ansible.builtin.copy:
|
||
|
src: recovery/
|
||
|
dest: "{{ recovery_path }}"
|
||
|
mode: "0755"
|