summaryrefslogtreecommitdiff
path: root/roles/mysql/tasks/main.yml
blob: 22b37fcf335cdef1062661ea8ce340cb1677c1df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: prepare package provider
  when: mysql_pkg_provider != 'distro'
  include_tasks: "{{ mysql_pkg_provider }}.yml"

- name: install mysql packages
  apt:
    name:
      - "{{ mysql_pkg_name }}"
      - python-mysqldb
    state: present
    force: yes

- name: remove insecure defaults
  import_tasks: mysql-secure-installation.yml