sidn-lxd-ansible-demo/environments/demo/nodes.yml

44 lines
1.2 KiB
YAML

---
nodes:
all-shared:
type: ubuntu-18.04-lxd_container
lxd-host:
- name: sidn-demo-01
type: ubuntu-18.04-lxd_host
network:
demo: {address: 192.168.56.150}
- name: sidn-demo-02
type: ubuntu-18.04-lxd_host
network:
demo: {address: 192.168.56.151}
ansible:
- name: ansible-01
lxd_host: sidn-demo-01
network:
demo: {address: 192.168.56.160}
ansible_connection: local
galera-shared:
galera_role: service
# Sometimes we see issues with upgrading Galera, requiring some manual
# intervention and resyncing of cluster nodes to get things working.
# Therefore, we'll handle upgrading these nodes in a controlled way
# by hand on production.
auto_upgrades: False
galera:
- name: galera-01
lxd_host: sidn-demo-01
network:
demo: {address: 192.168.56.161, mac_address: "00:16:e3:00:00:a1"}
- name: galera-02
lxd_host: sidn-demo-02
network:
demo: {address: 192.168.56.162, mac_address: "00:16:e3:00:00:a2"}
- name: galera-03
lxd_host: sidn-demo-02
network:
demo: {address: 192.168.56.163, mac_address: "00:16:e3:00:00:a3"}