We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7117fd commit 92e953aCopy full SHA for 92e953a
tasks/setup-Archlinux.yml
@@ -7,6 +7,6 @@
7
with_items: "{{ mysql_packages }}"
8
register: arch_mysql_install_packages
9
10
-# Init the database if mysql is newly installed
11
-- command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
+- name: Run mysql_install_db if MySQL packages were changed.
+ command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
12
when: arch_mysql_install_packages.changed
0 commit comments