system-config/playbooks/bootstrap-vault.yaml
2023-03-29 13:35:19 +02:00

14 lines
445 B
YAML

---
# This playbook configures administrative part of the Vault
# It should be normally executed only once for initial setup of
# the secret storages.
- hosts: vault-controller:!disabled
name: "Bootstrap Vault instance - admin actions"
tasks:
- name: Bootstrap vault instance
include_role:
name: "configure_vault"
tasks_from: "main_bootstrap.yaml"
vars:
vault: "{{ vault_instances[vault_instance] }}"