Remove obsolete config templates

This commit is contained in:
Joshua Boniface 2023-12-09 23:05:16 -05:00
parent 5111ae47c4
commit 18054c01a0
2 changed files with 0 additions and 186 deletions

View File

@ -1,80 +0,0 @@
---
# pvcapid configuration
# {{ ansible_managed }}
pvc:
debug: False
coordinators:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}
{% endfor %}
# api: Configuration of the API listener
api:
# listen_address: IP address(es) to listen on; use 0.0.0.0 for all interfaces
listen_address: "{{ pvc_api_listen_address }}"
# listen_port: TCP port to listen on, usually 7370
listen_port: "{{ pvc_api_listen_port }}"
# authentication: Authentication and security settings
authentication:
# enabled: Enable or disable authentication (True/False)
enabled: {{ pvc_api_enable_authentication }}
# secret_key: Per-cluster secret key for API cookies; generate with uuidgen or pwgen
secret_key: "{{ pvc_api_secret_key }}"
# tokens: a list of authentication tokens; leave as an empty list to disable authentication
tokens:
{% for token in pvc_api_tokens %}
- description: "{{ token.description }}"
token: "{{ token.token }}"
{% endfor %}
# ssl: SSL configuration
ssl:
# enabled: Enabled or disable SSL operation (True/False)
enabled: {{ pvc_api_enable_ssl }}
# cert_file: SSL certificate file
{% if pvc_api_ssl_cert_path is defined and pvc_api_ssl_cert_path %}
cert_file: "{{ pvc_api_ssl_cert_path }}"
{% else %}
cert_file: "/etc/pvc/api-cert.pem"
{% endif %}
# key_file: SSL certificate key file
{% if pvc_api_ssl_key_path is defined and pvc_api_ssl_key_path %}
key_file: "{{ pvc_api_ssl_key_path }}"
{% else %}
key_file: "/etc/pvc/api-key.pem"
{% endif %}
# provisioner: Configuration of the Provisioner API listener
provisioner:
# database: Backend database configuration
database:
# host: PostgreSQL hostname, the primary coordinator floating IP in the cluster network
host: {{ pvc_cluster_floatingip }}
# port: PostgreSQL port, invariably '5432'
port: 5432
# name: PostgreSQL database name, invariably 'pvcapi'
name: {{ pvc_api_database_name }}
# user: PostgreSQL username, invariable 'pvcapi'
user: {{ pvc_api_database_user }}
# pass: PostgreSQL user password, randomly generated
pass: {{ pvc_api_database_password }}
# queue: Celery backend queue using the PVC Zookeeper cluster
queue:
# host: KeyDB (Redis) hostname, the primary coordinator floating IP in the cluster network
host: {{ pvc_cluster_floatingip }}
# port: KeyDB (Redis) port, invariably '6279'
port: 6379
# path: KeyDB (Redis) queue path, invariably '/0'
path: /0
# ceph_cluster: Information about the Ceph storage cluster
ceph_cluster:
# storage_hosts: The list of hosts that the Ceph monitors are valid on; if empty (the default),
# uses the list of coordinators
storage_hosts:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}
{% endfor %}
# storage_domain: The storage domain name, concatenated with the coordinators list names
# to form monitor access strings
storage_domain: {{ pvc_storage_domain }}
# ceph_monitor_port: The port that the Ceph monitor on each coordinator listens on
ceph_monitor_port: 6789
# ceph_storage_secret_uuid: Libvirt secret UUID for Ceph storage access
ceph_storage_secret_uuid: {{ pvc_ceph_storage_secret_uuid }}

View File

@ -1,106 +0,0 @@
---
# pvcnoded configuration
# {{ ansible_managed }}
pvc:
node: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.hostname }}{% endfor %}
debug: False
functions:
enable_hypervisor: True
enable_networking: True
enable_storage: True
enable_api: True
cluster:
coordinators:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}
{% endfor %}
networks:
upstream:
domain: {{ pvc_upstream_domain }}
network: {{ pvc_upstream_subnet }}/{{ pvc_upstream_netmask }}
floating_ip: {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }}
gateway: {{ pvc_upstream_gatewayip }}
cluster:
domain: {{ pvc_cluster_domain }}
network: {{ pvc_cluster_subnet }}/{{ pvc_cluster_netmask }}
floating_ip: {{ pvc_cluster_floatingip }}/{{ pvc_cluster_netmask }}
storage:
domain: {{ pvc_storage_domain }}
network: {{ pvc_storage_subnet }}/{{ pvc_storage_netmask }}
floating_ip: {{ pvc_storage_floatingip }}/{{ pvc_storage_netmask }}
coordinator:
dns:
database:
host: localhost
port: 5432
name: {{ pvc_dns_database_name }}
user: {{ pvc_dns_database_user }}
pass: {{ pvc_dns_database_password }}
metadata:
database:
host: localhost
port: 5432
name: {{ pvc_api_database_name }}
user: {{ pvc_api_database_user }}
pass: {{ pvc_api_database_password }}
system:
intervals:
vm_shutdown_timeout: {{ pvc_vm_shutdown_timeout }}
keepalive_interval: {{ pvc_keepalive_interval }}
monitoring_interval: {{ pvc_monitoring_interval }}
fence_intervals: {{ pvc_fence_intervals }}
suicide_intervals: {{ pvc_suicide_intervals }}
fencing:
actions:
successful_fence: {{ pvc_fence_successful_action }}
failed_fence: {{ pvc_fence_failed_action }}
ipmi:
host: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_host }}{% endfor %}
user: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_user }}{% endfor %}
pass: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_password }}{% endfor %}
migration:
target_selector: {{ pvc_migrate_target_selector }}
configuration:
directories:
plugin_directory: "/usr/share/pvc/plugins"
dynamic_directory: "/run/pvc"
log_directory: "/var/log/pvc"
console_log_directory: "/var/log/libvirt"
logging:
file_logging: {{ pvc_log_to_file }}
stdout_logging: {{ pvc_log_to_stdout }}
zookeeper_logging: {{ pvc_log_to_zookeeper }}
log_colours: {{ pvc_log_colours }}
log_dates: {{ pvc_log_dates }}
log_keepalives: {{ pvc_log_keepalives }}
log_keepalive_cluster_details: {{ pvc_log_keepalive_cluster_details }}
log_keepalive_plugin_details: {{ pvc_log_keepalive_plugin_details }}
console_log_lines: {{ pvc_log_console_lines }}
node_log_lines: {{ pvc_log_node_lines }}
networking:
bridge_device: {{ pvc_bridge_device }}
bridge_mtu: {{ pvc_bridge_mtu }}
sriov_enable: {{ pvc_sriov_enable }}
sriov_device: {{ pvc_sriov_device }}
upstream:
device: {{ pvc_upstream_device }}
mtu: {{ pvc_upstream_mtu }}
address: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.upstream_ip }}/{{ pvc_upstream_netmask }}{% endfor %}
cluster:
device: {{ pvc_cluster_device }}
mtu: {{ pvc_cluster_mtu }}
address: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.cluster_ip }}/{{ pvc_cluster_netmask }}{% endfor %}
storage:
device: {{ pvc_storage_device }}
mtu: {{ pvc_storage_mtu }}
address: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.storage_ip }}/{{ pvc_storage_netmask }}{% endfor %}
storage:
ceph_config_file: "/etc/ceph/ceph.conf"
ceph_admin_keyring: "/etc/ceph/ceph.client.admin.keyring"