Rename remaining "pvc_prov" items to pvc_api
This commit is contained in:
parent
d79c587384
commit
2f2123b70e
|
@ -43,9 +43,9 @@ pvc_ceph_storage_secret_uuid: "" # Use uuidgen to generate
|
||||||
pvc_dns_database_name: "pvcdns"
|
pvc_dns_database_name: "pvcdns"
|
||||||
pvc_dns_database_user: "pvcdns"
|
pvc_dns_database_user: "pvcdns"
|
||||||
pvc_dns_database_password: "" # Use pwgen to generate
|
pvc_dns_database_password: "" # Use pwgen to generate
|
||||||
pvc_prov_database_name: "pvcapi"
|
pvc_api_database_name: "pvcapi"
|
||||||
pvc_prov_database_user: "pvcapi"
|
pvc_api_database_user: "pvcapi"
|
||||||
pvc_prov_database_password: "" # Use pwgen to generate
|
pvc_api_database_password: "" # Use pwgen to generate
|
||||||
pvc_replication_database_user: "replicator"
|
pvc_replication_database_user: "replicator"
|
||||||
pvc_replication_database_password: "" # Use pwgen to generate
|
pvc_replication_database_password: "" # Use pwgen to generate
|
||||||
pvc_superuser_database_user: "postgres"
|
pvc_superuser_database_user: "postgres"
|
||||||
|
|
|
@ -25,9 +25,9 @@ ceph_storage_secret_uuid: ""
|
||||||
pvc_dns_database_name: "pvcdns"
|
pvc_dns_database_name: "pvcdns"
|
||||||
pvc_dns_database_user: "pvcdns"
|
pvc_dns_database_user: "pvcdns"
|
||||||
pvc_dns_database_password: "PVCdnsPassw0rd"
|
pvc_dns_database_password: "PVCdnsPassw0rd"
|
||||||
pvc_prov_database_name: "pvcapi"
|
pvc_api_database_name: "pvcapi"
|
||||||
pvc_prov_database_user: "pvcapi"
|
pvc_api_database_user: "pvcapi"
|
||||||
pvc_prov_database_password: "PVCprovPassw0rd"
|
pvc_api_database_password: "PVCprovPassw0rd"
|
||||||
# Coordinators
|
# Coordinators
|
||||||
pvc_nodes:
|
pvc_nodes:
|
||||||
- hostname: "pvc1"
|
- hostname: "pvc1"
|
||||||
|
|
|
@ -49,24 +49,24 @@
|
||||||
|
|
||||||
- name: create user for Provisioner role
|
- name: create user for Provisioner role
|
||||||
postgresql_user:
|
postgresql_user:
|
||||||
name: "{{ pvc_prov_database_user }}"
|
name: "{{ pvc_api_database_user }}"
|
||||||
password: "{{ pvc_prov_database_password }}"
|
password: "{{ pvc_api_database_password }}"
|
||||||
encrypted: yes
|
encrypted: yes
|
||||||
state: present
|
state: present
|
||||||
login_host: /run/postgresql
|
login_host: /run/postgresql
|
||||||
|
|
||||||
- name: create database for Provisioner role
|
- name: create database for Provisioner role
|
||||||
postgresql_db:
|
postgresql_db:
|
||||||
name: "{{ pvc_prov_database_name }}"
|
name: "{{ pvc_api_database_name }}"
|
||||||
owner: "{{ pvc_prov_database_user }}"
|
owner: "{{ pvc_api_database_user }}"
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
state: present
|
state: present
|
||||||
login_host: /run/postgresql
|
login_host: /run/postgresql
|
||||||
|
|
||||||
- name: set user privs for Provisioner role
|
- name: set user privs for Provisioner role
|
||||||
postgresql_user:
|
postgresql_user:
|
||||||
name: "{{ pvc_prov_database_user }}"
|
name: "{{ pvc_api_database_user }}"
|
||||||
db: "{{ pvc_prov_database_name }}"
|
db: "{{ pvc_api_database_name }}"
|
||||||
priv: ALL
|
priv: ALL
|
||||||
login_host: /run/postgresql
|
login_host: /run/postgresql
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
- name: create extensions for Provisioner database
|
- name: create extensions for Provisioner database
|
||||||
postgresql_ext:
|
postgresql_ext:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
db: "{{ pvc_prov_database_name }}"
|
db: "{{ pvc_api_database_name }}"
|
||||||
login_host: /run/postgresql
|
login_host: /run/postgresql
|
||||||
with_items: "{{ extensions }}"
|
with_items: "{{ extensions }}"
|
||||||
when: extensions is defined
|
when: extensions is defined
|
||||||
|
|
|
@ -42,11 +42,11 @@ pvc:
|
||||||
# port: PostgreSQL port, invariably '5432'
|
# port: PostgreSQL port, invariably '5432'
|
||||||
port: 5432
|
port: 5432
|
||||||
# name: PostgreSQL database name, invariably 'pvcapi'
|
# name: PostgreSQL database name, invariably 'pvcapi'
|
||||||
name: {{ pvc_prov_database_name }}
|
name: {{ pvc_api_database_name }}
|
||||||
# user: PostgreSQL username, invariable 'pvcapi'
|
# user: PostgreSQL username, invariable 'pvcapi'
|
||||||
user: {{ pvc_prov_database_user }}
|
user: {{ pvc_api_database_user }}
|
||||||
# pass: PostgreSQL user password, randomly generated
|
# pass: PostgreSQL user password, randomly generated
|
||||||
pass: {{ pvc_prov_database_password }}
|
pass: {{ pvc_api_database_password }}
|
||||||
# queue: Celery backend queue using the PVC Zookeeper cluster
|
# queue: Celery backend queue using the PVC Zookeeper cluster
|
||||||
queue:
|
queue:
|
||||||
# host: Redis hostname, usually 'localhost'
|
# host: Redis hostname, usually 'localhost'
|
||||||
|
|
|
@ -41,9 +41,9 @@ pvc:
|
||||||
database:
|
database:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 5432
|
port: 5432
|
||||||
name: {{ pvc_prov_database_name }}
|
name: {{ pvc_api_database_name }}
|
||||||
user: {{ pvc_prov_database_user }}
|
user: {{ pvc_api_database_user }}
|
||||||
pass: {{ pvc_prov_database_password }}
|
pass: {{ pvc_api_database_password }}
|
||||||
system:
|
system:
|
||||||
intervals:
|
intervals:
|
||||||
vm_shutdown_timeout: {{ pvc_vm_shutdown_timeout }}
|
vm_shutdown_timeout: {{ pvc_vm_shutdown_timeout }}
|
||||||
|
|
Loading…
Reference in New Issue