summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-19 19:36:18 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-19 19:36:18 +0100
commit84c32cb662aa057ed3504e22c94ad22c4650b592 (patch)
treeac00e1cd1ee969333951703b7b1b6fc9b0d4ffb5 /chaos-at-home
parentvm/guest: minor fix for ubuntu (diff)
add initial version for greenbone
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-greenbone.yml18
-rw-r--r--chaos-at-home/ch-mon.yml1
-rw-r--r--chaos-at-home/ch-testvm-phoebe.yml5
-rw-r--r--chaos-at-home/host_vars/ch-greenbone.yml9
4 files changed, 33 insertions, 0 deletions
diff --git a/chaos-at-home/ch-greenbone.yml b/chaos-at-home/ch-greenbone.yml
new file mode 100644
index 00000000..f04effbc
--- /dev/null
+++ b/chaos-at-home/ch-greenbone.yml
@@ -0,0 +1,18 @@
+---
+- name: Basic Setup
+ hosts: ch-greenbone
+ roles:
+ - role: apt-repo/base
+ - role: core/base
+ - role: core/sshd/base
+ - role: core/zsh
+ - role: core/ntp
+
+- name: Payload Setup
+ hosts: ch-greenbone
+ roles:
+ - role: storage/lvm/base
+ - role: nginx/base
+ - role: x509/static-ca/base
+ - role: docker/engine
+ - role: greenbone/server
diff --git a/chaos-at-home/ch-mon.yml b/chaos-at-home/ch-mon.yml
index bb0100c7..547bd77e 100644
--- a/chaos-at-home/ch-mon.yml
+++ b/chaos-at-home/ch-mon.yml
@@ -14,6 +14,7 @@
- role: network/nftables/base
- role: storage/lvm/base
- role: nginx/base
+ - role: x509/static-ca/base
- role: apt-repo/spreadspace
- role: nginx/auth/whawty-sso/base
- role: nginx/auth/whawty-sso/auth
diff --git a/chaos-at-home/ch-testvm-phoebe.yml b/chaos-at-home/ch-testvm-phoebe.yml
index e791839b..bcb4d92e 100644
--- a/chaos-at-home/ch-testvm-phoebe.yml
+++ b/chaos-at-home/ch-testvm-phoebe.yml
@@ -7,3 +7,8 @@
- role: core/sshd/base
- role: core/zsh
- role: core/ntp
+
+- name: Payload Setup
+ hosts: ch-testvm-phoebe
+ roles:
+ - role: greenbone/target
diff --git a/chaos-at-home/host_vars/ch-greenbone.yml b/chaos-at-home/host_vars/ch-greenbone.yml
new file mode 100644
index 00000000..ff72e0f5
--- /dev/null
+++ b/chaos-at-home/host_vars/ch-greenbone.yml
@@ -0,0 +1,9 @@
+$ANSIBLE_VAULT;1.2;AES256;chaos-at-home
+32373931633332336638643137633863323734343737313464656330653064323135386638386330
+6665386131366531633637356231303630653663383832310a623766626331353038356638663562
+63643761383761313161343061323834333366353438663837323965323439633737383335393266
+6365343162303033370a613234306338346530663563363638313166336239323932333364353338
+32316237313432356566353531613638656337396333306630303231303336386239616137366335
+35646535373764343638626264393731333430643535376132306134363332613137323062343763
+37356434343666616165303930393736306537386362366536346639306239306634336538663537
+35353865633265376365