Add client API to configuration

This commit is contained in:
2019-07-06 02:49:25 -04:00
parent 12d30acf90
commit c438d2c9cd
3 changed files with 31 additions and 7 deletions

View File

@ -0,0 +1,13 @@
---
# pvc-api client configuration
# {{ ansible_managed }}
pvc:
coordinators:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}.{{ pvc_cluster_domain }}
{% endfor %}
api:
listen_address: "{{ pvc_api_listen_address }}"
listen_port: "{{ pvc_api_listen_port }}"
authentication:
key: "{{ pvc_api_authentication_key }}"