This commit is contained in:
parent
2393c4d792
commit
b97d886f6f
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
- name: clean /var/lib/mysql if new instaled
|
- name: clean /var/lib/mysql if new instaled
|
||||||
file: path=/var/lib/mysql state=absent
|
file: path=/var/lib/mysql state=absent
|
||||||
when: arch_mysql_install_packages.changed
|
when: arch_mysql_install_packages.changed
|
||||||
|
|
||||||
- name: Run mysql_install_db if MySQL packages were changed.
|
- name: Run mysql_install_db if MySQL packages were changed.
|
||||||
command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
||||||
when: arch_mysql_install_packages.changed
|
when: arch_mysql_install_packages.changed
|
||||||
|
Loading…
Reference in New Issue
Block a user