diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-09-20 05:17:31 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-09-20 05:17:31 +0200 |
commit | 33bc238937f871caebefc1950e2a5037041f2f6a (patch) | |
tree | ec5648f14b410431e95ec0e2ba7e33015166a021 /inventory/host_vars/ch-prometheus-legacy.yml | |
parent | clean up switch config (diff) |
add host ch-prometheus-legacy
Diffstat (limited to 'inventory/host_vars/ch-prometheus-legacy.yml')
-rw-r--r-- | inventory/host_vars/ch-prometheus-legacy.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-prometheus-legacy.yml b/inventory/host_vars/ch-prometheus-legacy.yml new file mode 100644 index 00000000..2bcff013 --- /dev/null +++ b/inventory/host_vars/ch-prometheus-legacy.yml @@ -0,0 +1,39 @@ +--- +install: + vm: + memory: 4G + numcpus: 2 + autostart: True + disks: + primary: /dev/sda + scsi: + sda: + type: zfs + name: root + size: 20g + sdb: + type: zfs + backend: storage + name: home + size: 350g + system_lvm: + volumes: + - name: root + size: 5G + filesystem: ext4 + mountpoint: / + interfaces: + - bridge: br-lan + name: eth0 + +network: + nameservers: "{{ network_zones.lan.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: &_network_primary_ + name: eth0 + address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" + gateway: "{{ network_zones.lan.gateway }}" + interfaces: + - *_network_primary_ |