summaryrefslogtreecommitdiff
path: root/acme.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'acme.yaml')
-rw-r--r--acme.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/acme.yaml b/acme.yaml
index 09bdd0d..e82200a 100644
--- a/acme.yaml
+++ b/acme.yaml
@@ -21,13 +21,35 @@ type: io.trygvis.rules.machine.Machine
data:
name: acme-1
---
+type: io.trygvis.rules.dba.DbaMachineRole
+data:
+ machine: acme-1
+ roles:
+ - ci-app
+
+---
type: io.trygvis.rules.machine.Machine
data:
name: acme-2
---
+type: io.trygvis.rules.dba.DbaMachineRole
+data:
+ machine: acme-2
+ roles:
+ - ops
+ - ci-db # This also runs the DB for the non-production environments to keep the other machines stateless
+
+---
type: io.trygvis.rules.machine.Machine
data:
name: acme-3
+---
+type: io.trygvis.rules.dba.DbaMachineRole
+data:
+ machine: acme-3
+ roles:
+ - production-app
+ - production-db
# Workstations
---