Skip to content

Commit fc6609c

Browse files
committed
Issue geerlingguy#60: Document new mysql_root_password_update option.
1 parent 074b9de commit fc6609c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The home directory inside which Python MySQL settings will be stored, which Ansi
2020

2121
The MySQL root user account password.
2222

23+
mysql_root_password_update: no
24+
25+
Whether to force update the MySQL root user's password. By default, this role will only change the root user's password when MySQL is first configured. You can force an update by setting this to `yes`.
26+
2327
mysql_enabled_on_startup: yes
2428

2529
Whether MySQL should be enabled on startup.

defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ mysql_user_home: /root
33
mysql_root_username: root
44
mysql_root_password: root
55

6-
# Set this to true to forcibly update the root password.
7-
mysql_root_password_update: false
6+
# Set this to `yes` to forcibly update the root password.
7+
mysql_root_password_update: no
88

99
mysql_enabled_on_startup: yes
1010

0 commit comments

Comments
 (0)