Files @ 1bb9f7ac1072
Branch filter:

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

branko
MAR-112: Added alternate SMTP port:

- Updated mail_server role to deploy firewall rules that include redirection
from TCP port 27 to TCP port 25.
- Updated documentation to include references to the additional port.
- Updated tests to cover the new functionality.
---

- name: "Create database {{ db_name }}"
  mysql_db: name="{{ db_name }}" state=present

- name: "Create database user {{ db_name }}"
  mysql_user: name="{{ db_name }}" password="{{ db_password }}"
              priv="{{ db_name }}.*:ALL" state=present

- name: Enable backup
  include: backup.yml
  when: enable_backup

- name: Explicitly run all handlers
  include: ../handlers/main.yml
  when: "handlers | default(False) | bool() == True"
  tags:
    - handlers