2021-12-15 11:51:25 +01:00

21 lines
474 B
YAML
Executable File

- name: on lance MariaDB
service:
name: mysql
state: started
- name: creation de la BDD sdis29
mysql_db:
login_unix_socket: /var/run/mysqld/mysqld.sock
name: sdis29
#login_user: adminBDsdis
#login_password: mdpBDsdis
#login_host: localhost
- name: creation de l'utilisateur slam
mysql_user:
name: slam
password: Azerty1+
priv: '*.*:ALL,GRANT'
state: present
login_unix_socket: /var/run/mysqld/mysqld.sock