Tobias Reisinger
4104057771
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
14 lines
357 B
YAML
14 lines
357 B
YAML
---
|
|
- name: Set hooks path
|
|
ansible.builtin.set_fact:
|
|
hooks_path: "{{ (service_path, 'hooks') | path_join }}"
|
|
- name: Create hooks directory
|
|
ansible.builtin.file:
|
|
path: "{{ hooks_path }}"
|
|
state: directory
|
|
mode: "0755"
|
|
- name: Copy the additional hooks
|
|
ansible.builtin.copy:
|
|
src: hooks/
|
|
dest: "{{ hooks_path }}"
|
|
mode: "0755"
|