aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:15:04 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:15:04 +0100
commitfbdb7576ed311a62a4cbf3e73bd858908ff31e18 (patch)
tree0d5b9c5586d85d823380b2c9ca5940d7a1718bea /playbooks
parentc284292bae1f98537b48f7ab45b3bdf42a8d8ac5 (diff)
downloadinfrastructure-fbdb7576ed311a62a4cbf3e73bd858908ff31e18.tar.gz
Add per hosts/groups playbooks
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/all-hosts-basic.yml14
-rw-r--r--playbooks/dcontroller.rgoncalves.se.yml10
2 files changed, 24 insertions, 0 deletions
diff --git a/playbooks/all-hosts-basic.yml b/playbooks/all-hosts-basic.yml
new file mode 100644
index 0000000..4917274
--- /dev/null
+++ b/playbooks/all-hosts-basic.yml
@@ -0,0 +1,14 @@
+
+# all hosts basic ~~ playbooks/all-hosts-basic.yml
+# Deploy configuration to all servers.
+
+---
+
+- hosts: servers
+
+ roles:
+ - { role : common }
+ - { role : tools }
+ - { role : sshd }
+ - { role : users }
+ - { role : git }
diff --git a/playbooks/dcontroller.rgoncalves.se.yml b/playbooks/dcontroller.rgoncalves.se.yml
new file mode 100644
index 0000000..28c2328
--- /dev/null
+++ b/playbooks/dcontroller.rgoncalves.se.yml
@@ -0,0 +1,10 @@
+
+# dcontroller ~~ playbooks/dcontroller.rgoncalves.se.yml
+# domain controller initialization playbook
+
+---
+
+- hosts: dcontroller
+ roles:
+
+ - { role: pf }
remember that computers suck.