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

pull/63/head
Jeff Geerling 9 years ago
parent 64e4ed6e08
commit 420894477e
  1. 3
      README.md
  2. 1
      defaults/main.yml
  3. 2
      tasks/configure.yml

@ -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: []

@ -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

@ -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 }}"