chore: fix boilerplate for vault role
This commit is contained in:
parent
fd500f5d72
commit
318c51b534
@ -1,5 +1,5 @@
|
||||
---
|
||||
# defaults file for hashicorp_vault
|
||||
# defaults file for vault
|
||||
vault_version: latest
|
||||
vault_start_service: true
|
||||
vault_config_dir: "/etc/vault.d"
|
||||
|
@ -1,2 +1,2 @@
|
||||
---
|
||||
# handlers file for hashicorp_vault
|
||||
# handlers file for vault
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# meta file for hashicorp_vault
|
||||
# meta file for vault
|
||||
galaxy_info:
|
||||
namespace: "ednz_cloud"
|
||||
role_name: "hashicorp_vault"
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/configure file for hashicorp_vault
|
||||
# task/configure file for vault
|
||||
- name: "Vault | Create vault.env"
|
||||
ansible.builtin.template:
|
||||
src: vault.env.j2
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/install file for hashicorp_vault
|
||||
# task/install file for vault
|
||||
- name: "Vault | Get latest release of vault"
|
||||
when: vault_version == 'latest'
|
||||
block:
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/main file for hashicorp_vault
|
||||
# task/main file for vault
|
||||
- name: "Vault | Set reload-check & restart-check variable"
|
||||
ansible.builtin.set_fact:
|
||||
_vault_service_need_reload: false
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/merge_variables file for hashicorp_vault
|
||||
# task/merge_variables file for vault
|
||||
- name: "Vault | Merge listener configuration"
|
||||
block:
|
||||
- name: "Vault | Merge tls listener configuration"
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/prerequisites file for hashicorp_vault
|
||||
# task/prerequisites file for vault
|
||||
- name: "Vault | Create group {{ vault_group }}"
|
||||
ansible.builtin.group:
|
||||
name: "{{ vault_group }}"
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# task/recursive_copy_extra_dirs file for hashicorp_vault
|
||||
# task/recursive_copy_extra_dirs file for vault
|
||||
- name: "Vault | Ensure destination directory exists"
|
||||
ansible.builtin.file:
|
||||
path: "{{ dir_source_item.dest }}"
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
# task/rolling_restart file for vault
|
||||
- name: "Vault | Start service: {{ vault_service_name }}"
|
||||
ansible.builtin.service:
|
||||
name: "{{ vault_service_name }}"
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# vars file for hashicorp_vault
|
||||
# vars file for vault
|
||||
vault_user: "vault"
|
||||
vault_group: "vault"
|
||||
vault_binary_path: /usr/local/bin/vault
|
||||
|
Loading…
Reference in New Issue
Block a user