Commit Graph

3 Commits

Author SHA1 Message Date
7929176b4e 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.
2025-10-27 12:53:27 -05:00
c25a88bb4d create-dc: Add PB for creating new DCs
The `create-dc.yml` playbook is just a wrapper for all the other
playbooks that need to be run when creating a new domain controller.
2024-06-23 10:43:15 -05:00
eb9db2d729 create-dc: Add script to provision DC VMs
Since I don't like to update Samba Active Directory Domain Controller
servers in-place (it's never worked as well as you would think it
should), I want the process for replacing them to be as automated as
possible.  To that end, I've written `create-dc.sh`, which handles the
whole process of creating and configuring a new ADDC VM.  The only
things it doesn't do are transfer the FSMO roles and demote existing DC
servers.
2024-06-12 19:00:43 -05:00