Skip to content

Commit 4208944

Browse files
committed
Remove mysql_state variable, since it doesn't work as expected.
1 parent 64e4ed6 commit 4208944

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ The home directory inside which Python MySQL settings will be stored, which Ansi
2020

2121
The MySQL root user account password.
2222

23-
mysql_state: started
2423
mysql_enabled_on_startup: yes
2524

26-
MySQL's state (`started`, `stopped`, `restarted`, `reloaded`), and whether to enable MySQL on startup.
25+
Whether MySQL should be enabled on startup.
2726

2827
mysql_databases: []
2928

defaults/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ mysql_user_home: /root
33
mysql_root_username: root
44
mysql_root_password: root
55

6-
mysql_state: started
76
mysql_enabled_on_startup: yes
87

98
# Pass in a comma-separated list of repos to use (e.g. "remi,epel"). Used only

tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
notify: restart mysql
1010

1111
- name: Ensure MySQL is started and enabled on boot.
12-
service: "name={{ mysql_daemon }} state={{ mysql_state }} enabled={{ mysql_enabled_on_startup }}"
12+
service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"

0 commit comments

Comments
 (0)