From c25a88bb4d89ac1804e9c0f41de59120dc96d8ef Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 23 Jun 2024 10:41:40 -0500 Subject: [PATCH] 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. --- create-dc.sh | 9 +-------- create-dc.yml | 6 ++++++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 create-dc.yml diff --git a/create-dc.sh b/create-dc.sh index 1a2ca97..86b31ad 100644 --- a/create-dc.sh +++ b/create-dc.sh @@ -52,12 +52,5 @@ sed -i \ ansible-playbook -l "${name}".pyrocufflink.blue \ --become \ - base.yml \ - hostname.yml \ - firewalld.yml \ - pyrocufflink.yml \ - promtail.yml \ - domain-controller.yml \ - collectd.yml \ - auto-updates.yml \ + create-dc.yml -e @join.creds diff --git a/create-dc.yml b/create-dc.yml new file mode 100644 index 0000000..d888841 --- /dev/null +++ b/create-dc.yml @@ -0,0 +1,6 @@ +- import_playbook: bootstrap.yml +- import_playbook: pyrocufflink.yml +- import_playbook: promtail.yml +- import_playbook: domain-controller.yml +- import_playbook: collectd.yml +- import_playbook: auto-updates.yml