Vault unseal operation needs to happen inside the vault role #19
Labels
No Label
bug
consul
duplicate
enhancement
help wanted
invalid
nomad
question
vault
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ansible-collections/hcp-ansible#19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, becausethe role was first managed outside of the collection, the unseal operation takes place after the vault deployment role, which causes a few seconds (1-3s), where all vault nodes are sealed, which can lead to issues.
There should be an option inside the vault role to do rolling unseals, using a serial run on the restart + unseal operation if keys are provided to the role.
If no keys are provided, the unseal would just be skipped (to allow bootstrap cases where there is no key available to unseal)