2023-05-22 18:23:57 +00:00
|
|
|
---
|
|
|
|
# task/prerequisites file for import_vault_root_ca
|
|
|
|
- name: "Install required roles"
|
|
|
|
ansible.builtin.command:
|
|
|
|
cmd: "ansible-galaxy install {{ item }}"
|
|
|
|
loop: "{{ import_vault_root_ca_prerequisites_roles }}"
|
|
|
|
changed_when: false
|
2023-05-28 11:43:18 +00:00
|
|
|
become: false
|
2023-05-22 18:23:57 +00:00
|
|
|
delegate_to: localhost
|
|
|
|
run_once: true
|
|
|
|
|
|
|
|
- name: "Install dependencies"
|
|
|
|
ansible.builtin.include_role:
|
|
|
|
name: ednxzu.manage_apt_packages
|
|
|
|
vars:
|
|
|
|
manage_apt_packages_list: "{{ import_vault_root_ca_packages }}"
|
|
|
|
|
|
|
|
- name: "Create directory {{ import_vault_root_ca_cert_dir }}"
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ import_vault_root_ca_cert_dir }}"
|
|
|
|
state: directory
|
|
|
|
owner: "root"
|
|
|
|
group: "root"
|
|
|
|
mode: '0755'
|