Files
@ fb34333e4b48
Branch filter:
Location: majic-ansible-roles/roles/database/tasks/main.yml - annotation
fb34333e4b48
587 B
text/x-yaml
MAR-181: Use Debian-provided Prosody package instead of project repository:
- Upstream repository has a tendency to drop support for older Debian
releases, and to completely wipe old version repositories.
- It should be way less hassle to simply start using the
Debian-provided packages instead.
- Introduces deprecation tests to check if the role will also clean-up
the non-Debian packages.
- Upstream repository has a tendency to drop support for older Debian
releases, and to completely wipe old version repositories.
- It should be way less hassle to simply start using the
Debian-provided packages instead.
- Introduces deprecation tests to check if the role will also clean-up
the non-Debian packages.
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
|