aboutsummaryrefslogtreecommitdiff
path: root/roles/mariadb/tasks/main.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-29 23:16:52 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-29 23:17:52 +0200
commit7ce639a7fd31fca19c9cb0d6ea5b9fab01958daa (patch)
tree983af82c694c31e340218b5e2001f4ad2eb51371 /roles/mariadb/tasks/main.yml
parent31144e0960d1972c301a3ec0b52915fd131d1e33 (diff)
downloadansible_collection-7ce639a7fd31fca19c9cb0d6ea5b9fab01958daa.tar.gz
mariadb: remove internal SSL generation
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: