mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Code cleaning
This commit is contained in:
1 parent
faa63a96d4
commit
65795bbe2c
2 files changed
+2
-6
No files matched your search
@@ -9,14 +9,10 @@
|
||||
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
|
||||
|
||||
- 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 }}'
|
||||
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
|
||||
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 }}'
|
||||
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 }}'
|
||||
when: not mysql_exists.stat.exists
|
||||
|
||||
|
||||
Reference in new issue
Block a user