mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
Remove mysql_state variable, since it doesn't work as expected.
This commit is contained in:
parent
64e4ed6e08
commit
420894477e
3 changed files with 2 additions and 4 deletions
|
@ -20,10 +20,9 @@ The home directory inside which Python MySQL settings will be stored, which Ansi
|
||||||
|
|
||||||
The MySQL root user account password.
|
The MySQL root user account password.
|
||||||
|
|
||||||
mysql_state: started
|
|
||||||
mysql_enabled_on_startup: yes
|
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: []
|
mysql_databases: []
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ mysql_user_home: /root
|
||||||
mysql_root_username: root
|
mysql_root_username: root
|
||||||
mysql_root_password: root
|
mysql_root_password: root
|
||||||
|
|
||||||
mysql_state: started
|
|
||||||
mysql_enabled_on_startup: yes
|
mysql_enabled_on_startup: yes
|
||||||
|
|
||||||
# Pass in a comma-separated list of repos to use (e.g. "remi,epel"). Used only
|
# Pass in a comma-separated list of repos to use (e.g. "remi,epel"). Used only
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
notify: restart mysql
|
notify: restart mysql
|
||||||
|
|
||||||
- name: Ensure MySQL is started and enabled on boot.
|
- 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 }}"
|
||||||
|
|
Loading…
Reference in a new issue