Skip to content

Commit 92e953a

Browse files
committed
Fixes geerlingguy#231: Ansible-lint issue.
1 parent e7117fd commit 92e953a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/setup-Archlinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
with_items: "{{ mysql_packages }}"
88
register: arch_mysql_install_packages
99

10-
# Init the database if mysql is newly installed
11-
- command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
10+
- name: Run mysql_install_db if MySQL packages were changed.
11+
command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
1212
when: arch_mysql_install_packages.changed

0 commit comments

Comments
 (0)