Files
@ 7cabc17c71c3
Branch filter:
Location: majic-ansible-roles/roles/database/tasks/main.yml - annotation
7cabc17c71c3
599 B
text/x-yaml
MAR-218: Quote all octal values in YAML files:
- Fixes linting errors, and ensures there is no ambiguity in case of
YAML specification changes.
- Fixes linting errors, and ensures there is no ambiguity in case of
YAML specification changes.
40689344a8f3 40689344a8f3 40689344a8f3 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce acd104ed9b5e 40689344a8f3 40689344a8f3 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce 0ffaf31692ce acd104ed9b5e b668f8894d52 b668f8894d52 3802c52995e5 7387caca37f3 7387caca37f3 7387caca37f3 3802c52995e5 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_tasks: backup.yml
when: enable_backup
- name: Explicitly run all handlers
include_tasks: ../handlers/main.yml
when: "run_handlers | default(False) | bool()"
tags:
- handlers
|