From d1733463cc8dfd0d2f3e3b8d7e4dfbe0003b6747 Mon Sep 17 00:00:00 2001 From: binary Date: Tue, 19 Jan 2021 22:43:31 +0100 Subject: Hell yeah nuked those vms --- inventory.ini | 11 +++++++---- playbooks/network.yml | 2 +- playbooks/st0cld0.rgoncalves.se.yml | 12 ++++++++++++ playbooks/st0dev0.rgoncalves.se.yml | 12 ++++++++++++ playbooks/st0gme0.rgoncalves.se.yml | 9 +++++++++ playbooks/vm0.rgoncalves.se.yml | 14 -------------- playbooks/vm1.rgoncalves.se.yml | 13 ------------- playbooks/vm2.rgoncalves.se.yml | 15 --------------- playbooks/workstation.yml | 2 +- 9 files changed, 42 insertions(+), 48 deletions(-) create mode 100644 playbooks/st0cld0.rgoncalves.se.yml create mode 100644 playbooks/st0dev0.rgoncalves.se.yml create mode 100644 playbooks/st0gme0.rgoncalves.se.yml delete mode 100644 playbooks/vm0.rgoncalves.se.yml delete mode 100644 playbooks/vm1.rgoncalves.se.yml delete mode 100644 playbooks/vm2.rgoncalves.se.yml diff --git a/inventory.ini b/inventory.ini index effd53b..26eeaee 100644 --- a/inventory.ini +++ b/inventory.ini @@ -6,8 +6,11 @@ # os distribution [openbsd] -dcontroller -vm2 +dc0 +st0dev0 +st0cld0 +st0gme0 +st0sbx0 [freebsd] stack0 @@ -16,8 +19,8 @@ stack0 emb0 [alpine] -vm0 -vm1 +st0gme1 +st0sbx1 [linux:children] alpine diff --git a/playbooks/network.yml b/playbooks/network.yml index 1e8206b..d33527f 100644 --- a/playbooks/network.yml +++ b/playbooks/network.yml @@ -7,7 +7,7 @@ - hosts: localhost gather_facts: no roles: - - { role: ssh_dns } + - { role: sshdns } - hosts: all gather_facts: no diff --git a/playbooks/st0cld0.rgoncalves.se.yml b/playbooks/st0cld0.rgoncalves.se.yml new file mode 100644 index 0000000..f1eb2b8 --- /dev/null +++ b/playbooks/st0cld0.rgoncalves.se.yml @@ -0,0 +1,12 @@ + +# st0cld0 ~~ playbooks/st0cld0.rgoncalves.se.yml +# openbsd based cloud server. + +--- + +- hosts: st0cld0 + roles: + - { role: grafana } + #- { role: logstash } + - { role: jenkins } + - { role: nextcloud } diff --git a/playbooks/st0dev0.rgoncalves.se.yml b/playbooks/st0dev0.rgoncalves.se.yml new file mode 100644 index 0000000..b47312a --- /dev/null +++ b/playbooks/st0dev0.rgoncalves.se.yml @@ -0,0 +1,12 @@ + +# st0dev0 ~~ playbooks/st0dev0.rgoncalves.se.yml +# openbsd based development system + +--- + +- hosts: st0dev0 + roles: + - { role: gitdaemon } + - { role: cgit } + - { role: jenkins } + - { role: httpd } diff --git a/playbooks/st0gme0.rgoncalves.se.yml b/playbooks/st0gme0.rgoncalves.se.yml new file mode 100644 index 0000000..adceec8 --- /dev/null +++ b/playbooks/st0gme0.rgoncalves.se.yml @@ -0,0 +1,9 @@ + +# st0gme0 ~~ playbooks/st0gme0.rgoncalves.se.yml +# openbsd based game server. + +--- + +- hosts: st0gme0 + roles: + - { role: minecraft , tags: "role_minecraft"} diff --git a/playbooks/vm0.rgoncalves.se.yml b/playbooks/vm0.rgoncalves.se.yml deleted file mode 100644 index 081e38f..0000000 --- a/playbooks/vm0.rgoncalves.se.yml +++ /dev/null @@ -1,14 +0,0 @@ - -# vm0 ~~ playbooks/vm0.rgoncalves.se.yml -# virtual machine 0 initialization -# mainly used for gaming servers - ---- - -- hosts: vm0 - roles: - - - { role: minecraft , tags: "role_minecraft"} - - { role: factorio , tags: "role_factorio"} - - { role: ksplmp, tags: "role_ksplmp" } - # - { role: stationeers } diff --git a/playbooks/vm1.rgoncalves.se.yml b/playbooks/vm1.rgoncalves.se.yml deleted file mode 100644 index 0ac208f..0000000 --- a/playbooks/vm1.rgoncalves.se.yml +++ /dev/null @@ -1,13 +0,0 @@ - -# vm0 ~~ playbooks/vm0.rgoncalves.se.yml -# virtual machine 0 initialization -# mainly used for gaming servers - ---- - -- hosts: vm1 - roles: - - - { role: grafana } - - { role: jenkins } - # - { role: nextcloud } diff --git a/playbooks/vm2.rgoncalves.se.yml b/playbooks/vm2.rgoncalves.se.yml deleted file mode 100644 index e932fa1..0000000 --- a/playbooks/vm2.rgoncalves.se.yml +++ /dev/null @@ -1,15 +0,0 @@ - -# vm2 ~~ playbooks/vm2.rgoncalves.se.yml -# virtual machine 2 initialization -# mainly used for openbsd tests!!!!!!!!! - ---- - -- hosts: vm2 - roles: - - - { role: httpd_pre } - - { role: stagit } - - { role: cgit } - - { role: httpd } - #- { role: grafana } diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml index eaec27a..c5fffa3 100644 --- a/playbooks/workstation.yml +++ b/playbooks/workstation.yml @@ -6,5 +6,5 @@ - hosts: localhost roles: - - { role: ssh_dns } + - { role: sshdns } - { role: workstation } -- cgit v1.2.3