Code cleaning
parent
faa63a96d4
commit
65795bbe2c
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue