2016-09-29 16:33:48 +02:00
|
|
|
---
|
|
|
|
|
2020-03-08 22:14:40 +01:00
|
|
|
- name: Set if MySQL should be restart (if needed) or not at all
|
|
|
|
set_fact:
|
2018-09-13 18:32:19 +02:00
|
|
|
mysql_restart_handler_name: "{{ mysql_restart_if_needed | bool | ternary('restart mysql', 'restart mysql (noop)') }}"
|
|
|
|
|
2017-08-12 18:13:35 +02:00
|
|
|
- include: packages_stretch.yml
|
2020-02-25 10:45:35 +01:00
|
|
|
when: ansible_distribution_major_version is version('9', '>=')
|
2017-08-12 18:13:35 +02:00
|
|
|
|
|
|
|
- include: packages_jessie.yml
|
|
|
|
when: ansible_distribution_release == "jessie"
|
2016-09-29 16:33:48 +02:00
|
|
|
|
2017-07-12 18:03:07 +02:00
|
|
|
- include: users_stretch.yml
|
2020-02-25 10:45:35 +01:00
|
|
|
when: ansible_distribution_major_version is version('9', '>=')
|
2017-07-12 18:03:07 +02:00
|
|
|
|
|
|
|
- include: users_jessie.yml
|
|
|
|
when: ansible_distribution_release == "jessie"
|
2016-09-29 16:33:48 +02:00
|
|
|
|
2017-09-01 03:58:19 +02:00
|
|
|
- include: config_stretch.yml
|
2020-02-25 10:45:35 +01:00
|
|
|
when: ansible_distribution_major_version is version('9', '>=')
|
2017-09-01 03:58:19 +02:00
|
|
|
|
|
|
|
- include: config_jessie.yml
|
|
|
|
when: ansible_distribution_release == "jessie"
|
2016-09-29 16:33:48 +02:00
|
|
|
|
2019-10-17 19:35:11 +02:00
|
|
|
- include: replication.yml
|
|
|
|
when: mysql_replication
|
|
|
|
|
2016-09-29 16:33:48 +02:00
|
|
|
- include: datadir.yml
|
|
|
|
|
2018-11-14 16:13:02 +01:00
|
|
|
- include: logdir.yml
|
|
|
|
|
2016-09-29 16:33:48 +02:00
|
|
|
- include: tmpdir.yml
|
|
|
|
|
|
|
|
- include: nrpe.yml
|
|
|
|
|
|
|
|
- include: munin.yml
|
|
|
|
|
|
|
|
- include: log2mail.yml
|
|
|
|
|
|
|
|
- include: utils.yml
|