Code cleaning

pull/6/head
Emilien Mantel 2015-08-08 13:44:08 +02:00
parent faa63a96d4
commit 65795bbe2c
2 changed files with 2 additions and 6 deletions

View File

@ -9,14 +9,10 @@
debconf: name='mariadb-server-{{ apt_mariadb_version.stdout }}' question='mysql-server/root_password' vtype='password' value='{{ mysql_root_password }}' debconf: name='mariadb-server-{{ apt_mariadb_version.stdout }}' question='mysql-server/root_password' vtype='password' value='{{ mysql_root_password }}'
when: not mysql_exists.stat.exists when: not mysql_exists.stat.exists
- name: SHELL | Prepare MariaDB silent installation (root password again) - name: DEBCONF | Prepare MariaDB silent installation (root password again)
debconf: name='mariadb-server-{{ apt_mariadb_version.stdout }}' question='mysql-server/root_password_again' vtype='password' value='{{ mysql_root_password }}' debconf: name='mariadb-server-{{ apt_mariadb_version.stdout }}' question='mysql-server/root_password_again' vtype='password' value='{{ mysql_root_password }}'
when: not mysql_exists.stat.exists when: not mysql_exists.stat.exists
- name: SHELL | Prepare MariaDB silent installation (root password again) // BUGGY?
debconf: name='mysql-server-' question='mysql-server/root_password_again' vtype='password' value='{{ mysql_root_password }}'
when: not mysql_exists.stat.exists
- name: APT | Install MariaDB server - name: APT | Install MariaDB server
apt: pkg=mariadb-server state=latest apt: pkg=mariadb-server state=latest

View File

@ -9,7 +9,7 @@
debconf: name='mysql-server-{{ apt_mysql_version.stdout }}' question='mysql-server/root_password' vtype='password' value='{{ mysql_root_password }}' debconf: name='mysql-server-{{ apt_mysql_version.stdout }}' question='mysql-server/root_password' vtype='password' value='{{ mysql_root_password }}'
when: not mysql_exists.stat.exists when: not mysql_exists.stat.exists
- name: SHELL | Prepare MySQL silent installation (root password again) - name: DEBCONF | Prepare MySQL silent installation (root password again)
debconf: name='mysql-server-{{ apt_mysql_version.stdout }}' question='mysql-server/root_password_again' vtype='password' value='{{ mysql_root_password }}' debconf: name='mysql-server-{{ apt_mysql_version.stdout }}' question='mysql-server/root_password_again' vtype='password' value='{{ mysql_root_password }}'
when: not mysql_exists.stat.exists when: not mysql_exists.stat.exists