Skip to content

Commit

Permalink
ansible: Add Linstor configuration to sample inventory
Browse files Browse the repository at this point in the history
Adds values to the Linstor configuration variables in the sample
inventory.

Signed-off-by: Luís Simas <luissimas@protonmail.com>
  • Loading branch information
luissimas committed Jan 18, 2025
1 parent 933f063 commit 2c9ea4d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions ansible/hosts.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ all:
ovn_name: "baremetal"
ovn_az_name: "zone1"
ovn_release: "ppa"

linstor_pool_name: "incus"
linstor_pool_driver: "lvmthin"
children:
baremetal:
vars:
Expand Down Expand Up @@ -60,6 +63,11 @@ all:
local_config:
source: "incus_{{ incus_name }}"
description: Distributed storage pool (cluster-wide)
linstor:
driver: linstor
local_config:
source: "{{ linstor_pool_name }}"
description: Linstor storage pool (cluster-wide)
shared:
driver: lvmcluster
local_config:
Expand Down Expand Up @@ -93,6 +101,12 @@ all:
ovn_roles:
- central
- host

linstor_roles:
- controller
- satellite
linstor_disks:
- nvme-QEMU_NVMe_Ctrl_incus_disk5
server02:
ceph_disks:
- data: nvme-QEMU_NVMe_Ctrl_incus_disk1
Expand All @@ -107,6 +121,11 @@ all:
ovn_roles:
- central
- host

linstor_roles:
- satellite
linstor_disks:
- nvme-QEMU_NVMe_Ctrl_incus_disk5
server03:
ceph_disks:
- data: nvme-QEMU_NVMe_Ctrl_incus_disk1
Expand All @@ -121,6 +140,11 @@ all:
ovn_roles:
- central
- host

linstor_roles:
- satellite
linstor_disks:
- nvme-QEMU_NVMe_Ctrl_incus_disk5
server04:
ceph_disks:
- data: nvme-QEMU_NVMe_Ctrl_incus_disk1
Expand All @@ -129,6 +153,11 @@ all:
- client
- osd
- rgw

linstor_roles:
- satellite
linstor_disks:
- nvme-QEMU_NVMe_Ctrl_incus_disk3
server05:
ceph_disks:
- data: nvme-QEMU_NVMe_Ctrl_incus_disk1
Expand All @@ -137,3 +166,8 @@ all:
- client
- osd
- rgw

linstor_roles:
- satellite
linstor_disks:
- nvme-QEMU_NVMe_Ctrl_incus_disk5

0 comments on commit 2c9ea4d

Please sign in to comment.