aboutsummaryrefslogtreecommitdiff
path: root/roles/mariadb/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mariadb/tasks/main.yml')
-rw-r--r--roles/mariadb/tasks/main.yml15
1 files changed, 2 insertions, 13 deletions
diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml
index 79d7ef0..239affe 100644
--- a/roles/mariadb/tasks/main.yml
+++ b/roles/mariadb/tasks/main.yml
@@ -8,24 +8,13 @@
become: yes
- name: Config File
- copy:
- src: 50-server.cnf
+ template:
+ src: 50-server.cnf.j2
dest: /etc/mysql/mariadb.conf.d/50-server.cnf
become: yes
notify:
- Restart MariaDB
-- name: Generate SSL Certificates
- include_role:
- name: signed_certificate
- vars:
- cert_name: mysql
- ca_path: /etc/mysql
- key_path: /etc/mysql
- cert_path: /etc/mysql
- owner: mysql
- group: mysql
-
- name: Check for changed cert
command: /bin/true
when: