pvc-ansible/group_vars/default/pvc.yml

78 lines
2.5 KiB
YAML

---
# Ceph storage
pvc_ceph_storage_secret_uuid: "" # Use uuidgen to generate
# Database
pvc_dns_database_name: "pvcdns"
pvc_dns_database_user: "pvcdns"
pvc_dns_database_password: "" # Use pwgen to generate
pvc_replication_database_user: "replicator"
pvc_replication_database_password: "" # Use pwgen to generate
pvc_superuser_database_user: "postgres"
pvc_superuser_database_password: "" # Use pwgen to generate
# Coordinators
pvc_nodes:
- hostname: "pvchv1"
is_coordinator: yes
node_id: 1
router_id: "192.168.100.11"
upstream_ip: "192.168.100.11"
upstream_cidr: 24
cluster_ip: "10.0.0.1"
cluster_cidr: 24
storage_ip: "10.0.1.1"
storage_cidr: 24
ipmi_host: "pvchv1-lom.{{ local_domain }}"
ipmi_user: "{{ username_ipmi_host }}"
ipmi_password: "{{ passwd_ipmi_host }}"
- hostname: "pvchv2"
is_coordinator: yes
node_id: 2
router_id: "192.168.100.12"
upstream_ip: "192.168.100.12"
upstream_cidr: 24
cluster_ip: "10.0.0.2"
cluster_cidr: 24
storage_ip: "10.0.1.2"
storage_cidr: 24
ipmi_host: "pvchv2-lom.{{ local_domain }}"
ipmi_user: "{{ username_ipmi_host }}"
ipmi_password: "{{ passwd_ipmi_host }}"
- hostname: "pvchv3"
is_coordinator: yes
node_id: 3
router_id: "192.168.100.13"
upstream_ip: "192.168.100.13"
upstream_cidr: 24
cluster_ip: "10.0.0.3"
cluster_cidr: 24
storage_ip: "10.0.1.3"
storage_cidr: 24
ipmi_host: "pvchv3-lom.{{ local_domain }}"
ipmi_user: "{{ username_ipmi_host }}"
ipmi_password: "{{ passwd_ipmi_host }}"
# Networks
pvc_asn: "65500"
pvc_routers:
- "192.168.100.1"
pvc_upstream_device: "enp1s0f0" # Set to your actual NIC device (or bond, vLAN, etc.)
pvc_upstream_mtu: "1500"
pvc_upstream_domain: "{{ local_domain }}"
pvc_upstream_subnet: "192.168.100.0/23"
pvc_upstream_floatingip: "192.168.100.10/23"
pvc_upstream_gatewayip: "192.168.100.1"
pvc_cluster_device: "vlan1001" # Set to your actual NIC device (usually a vLAN)
pvc_cluster_mtu: "1500"
pvc_cluster_domain: "pvc.local"
pvc_cluster_subnet: "10.0.0.0/24"
pvc_cluster_floatingip: "10.0.0.254/24"
pvc_storage_device: "vlan1002" # Set to your actual NIC device (usually a vLAN)
pvc_storage_mtu: "1500"
pvc_storage_domain: "pvc.storage"
pvc_storage_subnet: "10.0.1.0/24"
pvc_storage_floatingip: "10.0.1.254/24"
# Logging
pvc_log_to_file: True
pvc_log_to_stdout: True
pvc_log_keepalives: True
pvc_log_console_lines: 1000