Add check_hostname option to db healthcheck tasks
To allow encrypting connections of db healthcheck tasks, include the check_hostname option to verify a server host name when an SSL connection is required. Also enable galera_require_secure_transport during TLS test jobs. Change-Id: I23d839e75b202d0400aeefe6e98c429e16ecd37e
This commit is contained in:
parent
e72984ca95
commit
6240c769c0
@ -240,6 +240,7 @@
|
|||||||
login_host: "{{ management_address }}"
|
login_host: "{{ management_address }}"
|
||||||
name: "OSA-test"
|
name: "OSA-test"
|
||||||
state: "present"
|
state: "present"
|
||||||
|
check_hostname: true
|
||||||
when: inventory_hostname == groups['galera_all'][0]
|
when: inventory_hostname == groups['galera_all'][0]
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
@ -254,6 +255,7 @@
|
|||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
priv: "OSA-test.*:ALL"
|
priv: "OSA-test.*:ALL"
|
||||||
|
check_hostname: true
|
||||||
with_items:
|
with_items:
|
||||||
- "localhost"
|
- "localhost"
|
||||||
- "%"
|
- "%"
|
||||||
@ -278,6 +280,7 @@
|
|||||||
name: "osa-tester"
|
name: "osa-tester"
|
||||||
state: "absent"
|
state: "absent"
|
||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
|
check_hostname: true
|
||||||
with_items:
|
with_items:
|
||||||
- "localhost"
|
- "localhost"
|
||||||
- "%"
|
- "%"
|
||||||
@ -290,6 +293,7 @@
|
|||||||
login_host: "{{ management_address }}"
|
login_host: "{{ management_address }}"
|
||||||
name: "OSA-test"
|
name: "OSA-test"
|
||||||
state: "absent"
|
state: "absent"
|
||||||
|
check_hostname: true
|
||||||
when: inventory_hostname == groups['galera_all'][0]
|
when: inventory_hostname == groups['galera_all'][0]
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
openstack_service_publicuri_proto: https
|
openstack_service_publicuri_proto: https
|
||||||
openstack_service_adminuri_proto: https
|
openstack_service_adminuri_proto: https
|
||||||
openstack_service_internaluri_proto: https
|
openstack_service_internaluri_proto: https
|
||||||
|
galera_require_secure_transport: True
|
||||||
haproxy_ssl: True
|
haproxy_ssl: True
|
||||||
haproxy_ssl_all_vips: True
|
haproxy_ssl_all_vips: True
|
||||||
rabbitmq_management_ssl: True
|
rabbitmq_management_ssl: True
|
||||||
|
Loading…
Reference in New Issue
Block a user