summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-gnocchi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home/ch-gnocchi.yml')
-rw-r--r--chaos-at-home/ch-gnocchi.yml29
1 files changed, 2 insertions, 27 deletions
diff --git a/chaos-at-home/ch-gnocchi.yml b/chaos-at-home/ch-gnocchi.yml
index fd519bfd..095948ad 100644
--- a/chaos-at-home/ch-gnocchi.yml
+++ b/chaos-at-home/ch-gnocchi.yml
@@ -7,32 +7,7 @@
- role: core/sshd
- role: core/zsh
- role: core/cpu-microcode
- - role: vm/host
+ - role: vm/host/base
+ - role: vm/host/network
- role: installer/debian/base
- role: installer/openbsd/base
- post_tasks:
- # you need to reboot for changes to take effect
- - name: install network interface config
- copy:
- dest: /etc/network/interfaces
- content: |
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
-
- # The loopback network interface
- auto lo
- iface lo inet loopback
- {% for interface in (__vmhost_bridge_interface_zones__.keys() | sort) %}
-
-
- auto {{ interface }}
- iface {{ interface }} inet manual
- {% for zone in __vmhost_bridge_interface_zones__[interface] %}
-
- auto {{ interface }}.{{ network_zones[zone].vlan }}
- iface {{ interface }}.{{ network_zones[zone].vlan }} inet manual
- {% endfor %}
- {% endfor %}
-
-
- source /etc/network/interfaces.d/*