Reorg en1 inventory vars

This commit is contained in:
Ethan Paul 2020-12-07 20:26:07 -05:00
parent ae0be16dd6
commit 1990413fbe
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

42
en1.yml
View File

@ -11,10 +11,8 @@ all:
omni_host_webproxy: jupiter
children:
servers:
children:
virtualization: {}
virtualization:
vars:
omni_local_hosts:
- hostname: jupiter.svr.local
@ -27,7 +25,6 @@ all:
jupiter:
ansible_host: jupiter.net.enp.one
omni_description: EN1 System Control Server
omni_docker_swarm_iface: eno2
omni_networking:
eno1:
dhcp: true
@ -35,9 +32,6 @@ all:
eno2:
dhcp: false
addresses: ["192.168.42.10/24"]
children:
worker:
hosts:
remus:
ansible_host: remus.net.enp.one
omni_description: EN1 Hypervisor/Datastore
@ -58,3 +52,37 @@ all:
eno2:
dhcp: false
addresses: ["192.168.42.30/24"]
children:
virtualization: {}
datastore: {}
virtualization:
hosts:
jupiter:
omni_docker_swarm_iface: eno2
children:
virtualization_worker:
hosts:
remus:
omni_docker_swarm_iface: eno2
romulus:
omni_docker_swarm_iface: eno2
datastore:
children:
datastore_arbiter:
hosts:
jupiter:
omni_gluster_brick:
mount: /mnt/brick0
fs: xfs
datastore_block:
hosts:
remus:
omni_gluster_brick:
mount: /mnt/brick0
fs: xfs
romulus:
omni_gluster_brick:
mount: /mnt/brick0
fs: xfs