diff options
author | binary <me@rgoncalves.se> | 2020-12-02 18:37:40 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-12-02 18:37:40 +0100 |
commit | 75aa549ff0b4acff23df077313bbaf46842650ab (patch) | |
tree | 21b8ad93b0edd873bb25c8b2283ea499674e1573 | |
parent | eece83807a27d6becf426ebc3cd2ae10fed63270 (diff) | |
download | infrastructure-75aa549ff0b4acff23df077313bbaf46842650ab.tar.gz |
Rollback stack0 to openbsd host
-rw-r--r-- | group_vars/bsd.yml | 2 | ||||
-rw-r--r-- | host_vars/stack0.yml | 7 | ||||
-rw-r--r-- | inventory.ini | 2 | ||||
-rw-r--r-- | playbooks/stack0.rgoncalves.se.yml | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/group_vars/bsd.yml b/group_vars/bsd.yml index 2b1211a..d2027af 100644 --- a/group_vars/bsd.yml +++ b/group_vars/bsd.yml @@ -9,6 +9,8 @@ ansible_become_method: "doas" group_root: "wheel" user_op: "puffy" +rc_bsd_dir: "/etc/rc.d/" + path_wgquick: "/usr/local/bin/wg-quick" os_type: "bsd" diff --git a/host_vars/stack0.yml b/host_vars/stack0.yml index 4a072e2..a135358 100644 --- a/host_vars/stack0.yml +++ b/host_vars/stack0.yml @@ -18,7 +18,7 @@ vms: memory: 8G cpu: 4 disks: - - { size: "16G" } + - { id: 0, size: "16G" } - name: vm1 image: alpine @@ -26,15 +26,14 @@ vms: cpu: 2 disks: - { id: 0, size: "16G" } - - { id: 1, path: "/dev/mfid1" } - name: vm2 image: openbsd memory: 4G cpu: 2 disks: - - { size: "4G" } + - { id: 0, size: "4G" } hypervisor: - interface: bce0 + interface: bnx0 switch: public diff --git a/inventory.ini b/inventory.ini index adac07e..1b5cba2 100644 --- a/inventory.ini +++ b/inventory.ini @@ -7,9 +7,9 @@ [openbsd] dcontroller +stack0 [freebsd] -stack0 [debian] emb0 diff --git a/playbooks/stack0.rgoncalves.se.yml b/playbooks/stack0.rgoncalves.se.yml index 2fcf803..73e6a09 100644 --- a/playbooks/stack0.rgoncalves.se.yml +++ b/playbooks/stack0.rgoncalves.se.yml @@ -7,4 +7,4 @@ - hosts: stack0 roles: - - { role: bhyve } + - { role: vmm } |