Remove mysql_state variable, since it doesn't work as expected.

This commit is contained in:
Jeff Geerling 2015-01-07 10:28:09 -06:00
parent 64e4ed6e08
commit 420894477e
3 changed files with 2 additions and 4 deletions

View file

@ -20,10 +20,9 @@ The home directory inside which Python MySQL settings will be stored, which Ansi
The MySQL root user account password.
mysql_state: started
mysql_enabled_on_startup: yes
MySQL's state (`started`, `stopped`, `restarted`, `reloaded`), and whether to enable MySQL on startup.
Whether MySQL should be enabled on startup.
mysql_databases: []

View file

@ -3,7 +3,6 @@ mysql_user_home: /root
mysql_root_username: root
mysql_root_password: root
mysql_state: started
mysql_enabled_on_startup: yes
# Pass in a comma-separated list of repos to use (e.g. "remi,epel"). Used only

View file

@ -9,4 +9,4 @@
notify: restart mysql
- name: Ensure MySQL is started and enabled on boot.
service: "name={{ mysql_daemon }} state={{ mysql_state }} enabled={{ mysql_enabled_on_startup }}"
service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"