Update main.yml

This commit is contained in:
jygaulier
2017-05-04 15:25:41 +02:00
committed by GitHub
parent 3c3d324fc5
commit addb445835

View File

@@ -3,6 +3,7 @@
- shell: hostname
register: current_hostname
- name: Add MariaDB-Repository
sudo: yes
apt_repository: repo='deb http://mirror6.layerjet.com/mariadb/repo/10.1/ubuntu {{ ansible_distribution_release }} main' state=present
@@ -50,4 +51,4 @@
when: mariadb.dump
- name: mariadb | Create users
mysql_user: name={{ mariadb.user }} password={{ mariadb.password }} priv=*.*:ALL state=present login_user=root login_password={{ mariadb.root_password }}
mysql_user: name={{ mariadb.user }} password={{ mariadb.password }} priv=*.*:ALL state=present login_user=root login_password={{ mariadb.root_password }}