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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user