create-dc: Update to use new provisioning process

Instead of running `virt-install` directly from the `create-dc.sh`
script, it now relies on `newvm.sh`.  This will ensure that VMs created
to be domain controllers will conform to the same expectations as all
other machines, such as using the libvirt domain metadata to build
dynamic inventory.

Similarly, the `create-dc.yml` playbook now imports the `host-setup.yml`
playbook, which covers the basic setup of a new machine.  Again, this
ensures that the same policy is applied to DCs as to other machines.

Finally, domain controller machines now no longer use _winbind_ for
OS user accounts and authentication.  This never worked particularly
well on DCs anyway (particularly because of the way _winbind_ insists on
using domain-prefixed user accounts when it runs on a DC), and is now
worse with recent Fedora changes.  Instead, DCs now have local users who
authenticate via SSH certificates, the same as other current-generaton
servers.
This commit is contained in:
2025-10-24 11:20:12 -05:00
parent 3f761eacb4
commit 7929176b4e
5 changed files with 36 additions and 40 deletions

View File

@@ -0,0 +1 @@
krb5_realm: PYROCUFFLINK.BLUE

View File

@@ -1,6 +1,5 @@
ansible_become_method: sudo
krb5_realm: PYROCUFFLINK.BLUE
samba_security: ads
samba_use_winbind: true
pam_winbind: true