This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/en1.yml

88 lines
2.3 KiB
YAML

---
all:
vars:
ansible_user: ansible
ansible_python_interpreter: /opt/ansible/bin/python
omni_ansible_venv: /opt/ansible
update: false
clean: false
children:
servers:
vars:
omni_local_hosts:
- hostname: jupiter.svr.local
ip: 192.168.42.10
- hostname: remus.svr.local
ip: 192.168.42.20
- hostname: romulus.svr.local
ip: 192.168.42.30
hosts:
jupiter:
ansible_host: jupiter.net.enp.one
omni_description: EN1 System Control Server
omni_networking:
eno1:
dhcp: true
dhcp_address: 10.42.101.10/42
eno2:
dhcp: false
addresses: ["192.168.42.10/24"]
remus:
ansible_host: remus.net.enp.one
omni_description: EN1 Hypervisor/Datastore
omni_networking:
eno1:
dhcp: true
dhcp_address: 10.42.101.20/24
eno2:
dhcp: false
addresses: ["192.168.42.20/24"]
romulus:
ansible_host: romulus.net.enp.one
omni_description: EN1 Hypervisor/Datastore
omni_networking:
eno1:
dhcp: true
dhcp_address: 10.42.101.30/24
eno2:
dhcp: false
addresses: ["192.168.42.30/24"]
children:
virtualization: {}
datastore: {}
virtualization:
hosts:
jupiter:
omni_docker_configs: /etc/omni/compose
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_datastore_mount: /mnt/datastore
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