Skip to content

Commit

Permalink
FIX: handler to start mysql in notify wasn't run for some strange rea…
Browse files Browse the repository at this point in the history
…son after mysql installed, causing failing the mysql configuration setup.
  • Loading branch information
skecskes committed Feb 18, 2015
1 parent 843043e commit 748f18d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions roles/mysql/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# file: roles/mysql/handlers/main.yml
---

- name: Restart the MySQL service
action: service name=mariadb state=restarted
service: name=mariadb state=restarted enabled=true

- name: Start the MySQL service
action: service name=mariadb state=started enabled=true
5 changes: 3 additions & 2 deletions roles/mysql/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
- mariadb-server
- mariadb
- MySQL-python
notify:
- Start the MySQL service

- name: Start the MySQL service
service: name=mariadb state=started enabled=true

0 comments on commit 748f18d

Please sign in to comment.