domain-controller: Load secrets from vault
If a file exists at `vault/samba-dc/{{ krb5_realm }}`, it will be loaded before applying the tasks to deploy a Samba domain controller. This can be used, for example, to set the credentials for adding a new domain controller to an existing domain.jenkins-master
parent
cb7c36d65a
commit
940ea5efb2
|
@ -1,2 +1,7 @@
|
|||
- hosts: samba-dc
|
||||
tasks:
|
||||
- name: load domain secrets
|
||||
include_vars: '{{ item }}'
|
||||
with_fileglob: vault/samba-dc/{{ krb5_realm }}
|
||||
- import_playbook: samba-dc.yml
|
||||
- import_playbook: named-server.yml
|
||||
|
|
Loading…
Reference in New Issue