infra-template/ansible/group_vars/all.yml

18 lines
1.4 KiB
YAML
Raw Permalink Normal View History

---
# Root password
bootstrap__root_pass: '{{lookup("vault", "config", field="root-pass", stage="all", env="all")}}'
# Consul
bootstrap__consul_encryption_key: '{{lookup("vault", "config", field="consul-encryption-key", stage="all", env="all")}}'
bootstarp__consul_agent_acl_token: '{{lookup("vault", "consul/acl-tokens", field="agent-default", stage="all", env="all")}}'
bootstrap__consul_certs_ca_crt: '{{lookup("vault", "consul/certs", field="ca.pem", stage="all", env="all")}}'
bootstrap__consul_certs_client_crt: '{{lookup("vault", "consul/certs", field="client.pem", stage="all", env="all")}}'
bootstrap__consul_certs_client_key: '{{lookup("vault", "consul/certs", field="client-key.pem", stage="all", env="all")}}'
# SSHGuard
bootstrap__sshguard_whitelist_extra: ['{{lookup("vault", "sshguard/whitelist", field="jakubgs-home", stage="all", env="all")}}']
# Wireguard
wireguard_consul_acl_token: '{{lookup("vault", "consul/acl-tokens", field="wireguard", stage="all", env="all")}}'
# Wazuh Agent
wazuh_agent_enrollment_key: '{{ lookup("vault", "manager/config", field="enrollment-password", env="hq", stage="wazuh")}}'
wazuh_root_ca: '{{ lookup("vault", "root-ca", field="certificate", env="hq", stage="wazuh")}}'