diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-07-10 17:21:54 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-07-10 17:21:54 +0200 |
commit | 3f1364557e1753ca0e8f2efcec9087516f4e0cbe (patch) | |
tree | c4fa61852fd82d8d9ac18cb851f4292c0051efe9 /inventory/host_vars/ch-jump.yml | |
parent | ch-router: fix firewall script (diff) |
added new jumphost
Diffstat (limited to 'inventory/host_vars/ch-jump.yml')
-rw-r--r-- | inventory/host_vars/ch-jump.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-jump.yml b/inventory/host_vars/ch-jump.yml new file mode 100644 index 00000000..b46120f1 --- /dev/null +++ b/inventory/host_vars/ch-jump.yml @@ -0,0 +1,29 @@ +--- +vm_host: ch-gnocchi + +install: + host: "{{ vm_host }}" + mem: 1024 + numcpu: 2 + disks: + primary: /dev/sda + scsi: + sda: + vg: "{{ hostvars[vm_host].host_name }}" + lv: "{{ inventory_hostname }}" + size: 10g + interfaces: + - bridge: br-svc + name: primary0 + autostart: True + +network: + nameservers: "{{ network_zones.svc.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: + interface: primary0 + ip: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ network_zones.svc.prefix | ipaddr('netmask') }}" + gateway: "{{ network_zones.svc.gw }}" |