Fix issues reported by ansible-lint (var prefixes)

This commit is contained in:
Tobias Reisinger 2025-11-23 19:47:09 +01:00
parent 0f9e4544b0
commit 39fd6ef5a2
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
24 changed files with 86 additions and 86 deletions

View file

@ -1,14 +1,14 @@
---
- name: Set hooks path
ansible.builtin.set_fact:
hooks_path: "{{ (service_path, 'hooks') | path_join }}"
lego_hooks_path: "{{ (service_path, 'hooks') | path_join }}"
- name: Create hooks directory
ansible.builtin.file:
path: "{{ hooks_path }}"
path: "{{ lego_hooks_path }}"
state: directory
mode: "0755"
- name: Copy the additional hooks
ansible.builtin.copy:
src: hooks/
dest: "{{ hooks_path }}"
dest: "{{ lego_hooks_path }}"
mode: "0755"