Skip to content
Snippets Groups Projects
Commit 80761bac authored by jurgenhaas's avatar jurgenhaas
Browse files

Get ready for Ubuntu 20 (focal)

parent 14699fb6
No related branches found
No related tags found
No related merge requests found
......@@ -41,18 +41,18 @@
owner: root
group: root
mode: 0644
when: not mysql_version.stdout is match(".* Ver 5\.7.*")
when: not mysql_version.stdout is match(".* Ver 5\.7.*") and not mysql_version.stdout is match(".* Ver 8.*")
notify:
- Restart MySQL
- name: Configure server version 5.7
- name: Configure server version 5.7 and 8
template:
src: etc-mysql-mysql-conf-d-mysqld.cnf
dest: /etc/mysql/mysql.conf.d/mysqld.cnf
owner: root
group: root
mode: 0644
when: mysql_version.stdout is match(".* Ver 5\.7.*")
when: mysql_version.stdout is match(".* Ver 5\.7.*") or mysql_version.stdout is match(".* Ver 8.*")
notify:
- Restart MySQL 5.7
......@@ -63,7 +63,7 @@
owner: root
group: root
mode: 0644
when: mysql_version.stdout is match(".* Ver 5\.7.*")
when: mysql_version.stdout is match(".* Ver 5\.7.*") or mysql_version.stdout is match(".* Ver 8.*")
notify:
- Restart MySQL 5.7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment