Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Issue geerlingguy#223: Made the variable name for the auto-generated …
Browse files Browse the repository at this point in the history
…root password more descriptive.
  • Loading branch information
Colan Schwartz committed Oct 8, 2021
1 parent 254fdf1 commit 055e6e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
# Set a random password.
mysql_password: "{{ lookup('password', '/dev/null length=20 chars=ascii_letters') }}"
mysql_autogenerated_password: "{{ lookup('password', '/dev/null length=20 chars=ascii_letters') }}"

# Set this to the user ansible is logging in as - should have root
# or sudo access
mysql_user_home: /root
mysql_user_name: root
mysql_user_password: "{{ mysql_password }}"
mysql_user_password: "{{ mysql_autogenerated_password }}"

# The default root user installed by mysql - almost always root
mysql_root_home: /root
mysql_root_username: root
mysql_root_password: "{{ mysql_password }}"
mysql_root_password: "{{ mysql_autogenerated_password }}"

# Set this to `true` to forcibly update the root password.
mysql_root_password_update: false
Expand Down

0 comments on commit 055e6e1

Please sign in to comment.