Merge "Add check_hostname option to db healthcheck tasks"

This commit is contained in:
Zuul 2024-03-14 17:44:51 +00:00 committed by Gerrit Code Review
commit 30879b1e64
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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