add support to set config variables
This commit is contained in:
parent
522b140bd5
commit
ea4ad3a2fd
3 changed files with 128 additions and 1 deletions
|
|
@ -5,6 +5,15 @@
|
|||
- mariadb-server
|
||||
- python3-mysqldb
|
||||
|
||||
- name: deploy mariadb config
|
||||
notify: restart mariadb
|
||||
template:
|
||||
src: 50-server.cnf.j2
|
||||
dest: /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: create mariadb dbs
|
||||
mysql_db:
|
||||
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue