summaryrefslogtreecommitdiff
path: root/acme.yaml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-01-12 20:57:56 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2021-01-12 21:35:09 +0100
commit250cb0fb4fa9787c78b73b44425676cfec3a7944 (patch)
tree5a5c15990b15203d8e6386a9ebeb49de2bf0fea5 /acme.yaml
parent5f294077a362d0127146882e6c90b863c4f54703 (diff)
downloadrules-sandbox-250cb0fb4fa9787c78b73b44425676cfec3a7944.tar.gz
rules-sandbox-250cb0fb4fa9787c78b73b44425676cfec3a7944.tar.bz2
rules-sandbox-250cb0fb4fa9787c78b73b44425676cfec3a7944.tar.xz
rules-sandbox-250cb0fb4fa9787c78b73b44425676cfec3a7944.zip
Starting on generating ansible files for docker-compose setups.
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
---