From 250cb0fb4fa9787c78b73b44425676cfec3a7944 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 12 Jan 2021 20:57:56 +0100 Subject: Starting on generating ansible files for docker-compose setups. --- acme.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'acme.yaml') 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 --- -- cgit v1.2.3