Execution
Date 08 Dec 2025 13:33:24 +0000
Duration 00:06:14.05
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.3
Summary
2 Hosts
374 Tasks
364 Results
37 Plays
208 Files
0 Records

File: /home/zuul/src/opendev.org/openstack/openstack-ansible-galera_server/vars/main.yml

---
# Copyright 2021, City Network International AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

_galera_collation: "{{ [galera_default_charset, galera_default_collation] | join('_') }}"
_galera_collation_set: "{{ galera_default_collation_set | combine({galera_default_charset: _galera_collation}) }}"

galera_init_defaults:
  Service:
    LimitNOFILE: "{{ galera_file_limits }}"
    Restart: on-abort
    RestartSec: 5s
    Slice: galera.slice
    CPUAccounting: true
    BlockIOAccounting: true
    MemoryAccounting: false
    TasksAccounting: true
    TimeoutStartSec: "{{ galera_startup_timeout }}"
    PrivateDevices: "{{ galera_disable_privatedevices | bool | ternary('false', 'true') }}"
    OOMScoreAdjust: "-1000"

_galera_base_users:
  - name: "{{ galera_root_user }}"
    host: "%"
    password: "{{ galera_root_password }}"
    priv: "*.*:ALL,GRANT"
    state: present
  - name: "{{ galera_root_user }}"
    host: "localhost"
    password: "{{ galera_root_password }}"
    priv: "*.*:ALL,GRANT"
    state: present
  - name: "{{ galera_monitoring_user }}"
    host: "%"
    password: "{{ galera_monitoring_user_password }}"
    priv: "*.*:USAGE"
    state: present
  - name: "{{ galera_monitoring_user }}"
    host: "localhost"
    password: "{{ galera_monitoring_user_password }}"
    priv: "*.*:USAGE"
    state: present

galera_setup_users: "{{ _galera_base_users + galera_additional_users }}"