Compare commits
2 Commits
v0.6.c-bb
...
v0.6.e-tva
Author | SHA1 | Date | |
---|---|---|---|
f030228008 | |||
d953531bf8 |
@ -5,6 +5,7 @@
|
||||
- python3-mysqldb
|
||||
- mariadb-server
|
||||
- python3-passlib
|
||||
- python3-pymysql
|
||||
state: present
|
||||
|
||||
- name: python3 par defaut
|
||||
@ -24,13 +25,19 @@
|
||||
mysql_user:
|
||||
name: "{{ maria_dbuser }}"
|
||||
password: "{{ maria_dbpasswd }}"
|
||||
priv: "*.*:ALL,GRANT"
|
||||
priv: '*.*:ALL,GRANT'
|
||||
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||
with_items:
|
||||
- 127.0.0.1
|
||||
- "127.0.0.1"
|
||||
# - ::1
|
||||
# - localhost
|
||||
|
||||
- name: Copie du fichier my.cnf pour autorises toutes les adresses sur le port 3306
|
||||
copy : src=my.cnf dest=/etc/mysql/
|
||||
copy:
|
||||
src: my.cnf
|
||||
dest: /etc/mysql/
|
||||
|
||||
- name: Redemarrage du service mariadb
|
||||
shell: service mariadb restart
|
||||
service:
|
||||
name: mariadb
|
||||
state: restarted
|
||||
|
@ -20,3 +20,4 @@ conn tunnel #
|
||||
auto=start
|
||||
keyexchange=ikev2
|
||||
type=tunnel
|
||||
#
|
||||
|
@ -20,3 +20,4 @@ conn tunnel #
|
||||
auto=start
|
||||
keyexchange=ikev2
|
||||
type=tunnel
|
||||
#
|
||||
|
Reference in New Issue
Block a user