summaryrefslogtreecommitdiffstats
path: root/pad/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'pad/tasks')
-rw-r--r--pad/tasks/mariadb.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/pad/tasks/mariadb.yml b/pad/tasks/mariadb.yml
index 8e613b6..ec81430 100644
--- a/pad/tasks/mariadb.yml
+++ b/pad/tasks/mariadb.yml
@@ -5,16 +5,6 @@
- mariadb-server
- mariadb-client
- python3-mysqldb
-- name: Ensure anonymous users are not in the database
- mysql_user:
- name: ""
- host: "{{ item }}"
- state: absent
- with_items:
- - localhost
- - 127.0.0.1
- - ::1
- - "%"
- name: Ensure mysql is configured to bind only to localhost
ini_file:
dest: /etc/mysql/my.cnf
@@ -29,6 +19,16 @@
runlevel:
- 3
- 5
+- name: Ensure anonymous users are not in the database
+ mysql_user:
+ name: ""
+ host: "{{ item }}"
+ state: absent
+ with_items:
+ - localhost
+ - 127.0.0.1
+ - ::1
+ - "%"
- name: Ensure emacsconf-pad database exists
mysql_db:
name: "{{ etherpad_database_name }}"