Fix issues reported by ansible-lint (var prefixes)
This commit is contained in:
parent
0f9e4544b0
commit
39fd6ef5a2
24 changed files with 86 additions and 86 deletions
|
|
@ -1,16 +1,16 @@
|
|||
---
|
||||
- name: Set hooks path
|
||||
ansible.builtin.set_fact:
|
||||
hooks_path: "{{ (service_path, 'hooks') | path_join }}"
|
||||
backup_hooks_path: "{{ (service_path, 'hooks') | path_join }}"
|
||||
- name: Create hooks directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ hooks_path }}"
|
||||
path: "{{ backup_hooks_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
- name: Copy the hooks
|
||||
ansible.builtin.copy:
|
||||
src: hooks/
|
||||
dest: "{{ hooks_path }}"
|
||||
dest: "{{ backup_hooks_path }}"
|
||||
mode: "0755"
|
||||
- name: Create the from directories
|
||||
ansible.builtin.file:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
- name: Set recovery path
|
||||
ansible.builtin.set_fact:
|
||||
recovery_path: "{{ (service_path, 'recovery') | path_join }}"
|
||||
backup_recovery_path: "{{ (service_path, 'recovery') | path_join }}"
|
||||
- name: Create recovery directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ recovery_path }}"
|
||||
path: "{{ backup_recovery_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
- name: Copy the recovery
|
||||
ansible.builtin.copy:
|
||||
src: recovery/
|
||||
dest: "{{ recovery_path }}"
|
||||
dest: "{{ backup_recovery_path }}"
|
||||
mode: "0755"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue