Files @ 7cabc17c71c3
Branch filter:

Location: majic-ansible-roles/roles/database/tasks/main.yml - annotation

branko
MAR-218: Quote all octal values in YAML files:

- Fixes linting errors, and ensures there is no ambiguity in case of
YAML specification changes.
---

- 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