Files
@ 814be5def61d
Branch filter:
Location: majic-ansible-roles/roles/database/tasks/main.yml - annotation
814be5def61d
587 B
text/x-yaml
MAR-189: Added support for Debian 11 Bullseye to xmpp_server role:
- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
40689344a8f3 40689344a8f3 40689344a8f3 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce acd104ed9b5e 40689344a8f3 40689344a8f3 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce acd104ed9b5e b668f8894d52 b668f8894d52 b668f8894d52 7387caca37f3 7387caca37f3 7387caca37f3 7387caca37f3 fcf5abdd3ad5 7387caca37f3 0ffaf31692ce | ---
- name: "Create database {{ db_name }}"
mysql_db:
name: "{{ db_name }}"
state: present
login_unix_socket: "/var/run/mysqld/mysqld.sock"
- name: "Create database user {{ db_name }}"
mysql_user:
name: "{{ db_name }}"
password: "{{ db_password }}"
priv: "{{ db_name }}.*:ALL"
state: present
login_unix_socket: "/var/run/mysqld/mysqld.sock"
- name: Enable backup
include: backup.yml
when: enable_backup
- name: Explicitly run all handlers
include: ../handlers/main.yml
when: "run_handlers | default(False) | bool()"
tags:
- handlers
|