ansible-roles/mysql/tasks/main.yml
Jérémy Lecour 927dbfa889 MySQL: adapt users on distribution
For Jessie, there is a "debian-sys-maint", that we're using to create "mysqladmin" for root, then delete "root".

For Stretch, the is a "root" without assword, so we create both "mysqladmin" for root and "debian-sys-maint" for Debian scripts, then delete "root".
2017-07-13 14:09:33 +02:00

24 lines
347 B
YAML

---
- include: packages.yml
- include: users_stretch.yml
when: ansible_distribution_release == "stretch"
- include: users_jessie.yml
when: ansible_distribution_release == "jessie"
- include: config.yml
- include: datadir.yml
- include: tmpdir.yml
- include: nrpe.yml
- include: munin.yml
- include: log2mail.yml
- include: utils.yml