diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-prometheus-legacy.yml | 39 | ||||
-rw-r--r-- | inventory/host_vars/ch-prometheus.yml | 4 |
2 files changed, 43 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_ diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml index 3b4a3899..38bc197a 100644 --- a/inventory/host_vars/ch-prometheus.yml +++ b/inventory/host_vars/ch-prometheus.yml @@ -85,6 +85,10 @@ zfs_sanoid_modules: use_template: production recursive: yes process_children_only: yes + storage/vm: + use_template: production + recursive: yes + process_children_only: yes storage: use_template: production recursive: yes |