From 397508ac56a7888d6176abfa247fdc20ae0372a3 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 23:41:03 +0100 Subject: stack0 only playbook and hypervisor --- host_vars/stack0.yml | 13 +++++++++++-- playbooks/all-hosts-basic.yml | 10 +++++----- 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 } -- cgit v1.2.3