Refactor inventory file and add encryption scripts
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user