Merge "Use SSL database connections with nova-manage"
This commit is contained in:
commit
f521dd8d13
@ -24,7 +24,7 @@
|
|||||||
- name: Create the cell0 mapping entry in the nova API DB
|
- name: Create the cell0 mapping entry in the nova API DB
|
||||||
command: >-
|
command: >-
|
||||||
{{ nova_bin }}/nova-manage cell_v2 map_cell0
|
{{ nova_bin }}/nova-manage cell_v2 map_cell0
|
||||||
--database_connection mysql+pymysql://{{ nova_api_galera_user }}:{{ nova_api_container_mysql_password }}@{{ nova_api_galera_address }}/{{ nova_cell0_database }}?charset=utf8
|
--database_connection mysql+pymysql://{{ nova_api_galera_user }}:{{ nova_api_container_mysql_password }}@{{ nova_api_galera_address }}/{{ nova_cell0_database }}?charset=utf8{% if nova_galera_use_ssl | bool %}&ssl_ca={{ nova_galera_ssl_ca_cert }}{% endif %}
|
||||||
become: yes
|
become: yes
|
||||||
become_user: "{{ nova_system_user_name }}"
|
become_user: "{{ nova_system_user_name }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user