Refactor inventory file and add encryption scripts

This commit is contained in:
2024-10-01 22:57:13 +02:00
parent 6d3d101bcc
commit ff523bd14b
4 changed files with 68 additions and 0 deletions
+10
View File
@@ -15,6 +15,16 @@
state: directory
mode: "0750"
- name: Copy required scripts
become: true
ansible.builtin.copy:
src: "{{ item }}"
dest: "/usr/local/bin/"
mode: "0750"
with_items:
- "open_volume"
- "read_system_id"
- name: Create encrypted volumes
ansible.builtin.include_tasks: volume.yml
loop: "{{ encryption_volumes }}"