aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 23:41:03 +0100
committerbinary <me@rgoncalves.se>2020-11-19 23:41:03 +0100
commit397508ac56a7888d6176abfa247fdc20ae0372a3 (patch)
treedbd51e7ae62ce1640219581709399fe79b94a2ea
parent3e891b1a1fe21c26e7a09293106bf60dea6334e5 (diff)
downloadinfrastructure-397508ac56a7888d6176abfa247fdc20ae0372a3.tar.gz
stack0 only playbook and hypervisor
-rw-r--r--host_vars/stack0.yml13
-rw-r--r--playbooks/all-hosts-basic.yml10
2 files changed, 16 insertions, 7 deletions
diff --git a/host_vars/stack0.yml b/host_vars/stack0.yml
index 9c27f26..2b40857 100644
--- a/host_vars/stack0.yml
+++ b/host_vars/stack0.yml
@@ -14,17 +14,26 @@ services:
vms:
- name: vm0
- memory: 2G
+ image: alpine
+ memory: 4G
+ cpu: 1
disks:
- { size: "4G" }
- name: vm1
+ image: openbsd
memory: 2G
+ cpu: 1
disks:
- { size: "4G" }
- - name: vm1
+ - name: vm2
+ image: openbsd
memory: 2G
+ cpu: 1
disks:
- { size: "4G" }
+hypervisor:
+ interface: bce0
+ switch: public
diff --git a/playbooks/all-hosts-basic.yml b/playbooks/all-hosts-basic.yml
index 4917274..f8538e4 100644
--- a/playbooks/all-hosts-basic.yml
+++ b/playbooks/all-hosts-basic.yml
@@ -7,8 +7,8 @@
- hosts: servers
roles:
- - { role : common }
- - { role : tools }
- - { role : sshd }
- - { role : users }
- - { role : git }
+ - { role: common }
+ - { role: tools }
+ - { role: sshd }
+ - { role: users }
+ - { role: git }
remember that computers suck.