mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-07 01:17:39 -02:30
Adding the Vault role
This commit is contained in:
13
roles/vault/tasks/main.yml
Normal file
13
roles/vault/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- include: check_vault.yml
|
||||
when: inventory_hostname in groups.vault
|
||||
|
||||
# bootstrap.yml's sole purpose is to ensure certs exist for Vault and Etcd
|
||||
# prior to startup, so TLS can be enabled.
|
||||
- include: bootstrap/main.yml
|
||||
when: vault_bootstrap|bool
|
||||
|
||||
# cluster.yml should only run after the backend service is ready (default etcd)
|
||||
- include: cluster/main.yml
|
||||
when: not vault_bootstrap|bool
|
||||
Reference in New Issue
Block a user