mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-09-06 18:00
This commit is contained in:
@@ -126,3 +126,32 @@ vault_host_conf: {}
|
||||
# Merge all the conf
|
||||
vault_conf: "{{ vault_base_conf | combine(vault_extra_conf, recursive=True) | combine(vault_host_conf, recursive=True) }}"
|
||||
|
||||
# This can be used to spawn a consul-template service which will obtain and renew client cert
|
||||
# to reach Nomad API, so the Nomad secret can be used securely
|
||||
vault_base_secrets:
|
||||
# The vault API to query. Default is our own API
|
||||
vault_address: "{{ vault_conf.api_addr }}"
|
||||
# The vault token to use
|
||||
vault_token: XXXXXXX
|
||||
nomad:
|
||||
enabled: False
|
||||
# The Nomad API address
|
||||
address: https://nomad.service.consul:4646
|
||||
# The Nomad management token vault will use to issue tokens for users
|
||||
token: XXXXXXX
|
||||
pki:
|
||||
# The path where the PKI used by Nomad is mounted. The PKI must be mounted and configured
|
||||
path: /pki/nomad
|
||||
# The role used to issue the certificate
|
||||
role: nomad-user
|
||||
# The TTL of the certificate issued for vault
|
||||
ttl: 72h
|
||||
# The common name of the certificate
|
||||
cn: vault
|
||||
secret:
|
||||
# The path where the Nomad secret engine is mounted
|
||||
# Note: the secret must be already mounted
|
||||
path: nomad
|
||||
vault_extra_secrets: {}
|
||||
vault_host_secrets: {}
|
||||
vault_secrets: "{{ vault_base_secrets | combine(vault_extra_secrets, recursive=True) | combine(vault_host_secrets, recursive=True) }}"
|
||||
|
Reference in New Issue
Block a user