mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
ascii should be ascii_letters
This commit is contained in:
@@ -73,7 +73,7 @@ Starting in version 1.4, password accepts a "chars" parameter to allow defining
|
||||
|
||||
# create a mysql user with a random password using only ascii letters:
|
||||
- mysql_user: name={{ client }}
|
||||
password="{{ lookup('password', '/tmp/passwordfile chars=ascii') }}"
|
||||
password="{{ lookup('password', '/tmp/passwordfile chars=ascii_letters') }}"
|
||||
priv={{ client }}_{{ tier }}_{{ role }}.*:ALL
|
||||
|
||||
# create a mysql user with a random password using only digits:
|
||||
@@ -83,7 +83,7 @@ Starting in version 1.4, password accepts a "chars" parameter to allow defining
|
||||
|
||||
# create a mysql user with a random password using many different char sets:
|
||||
- mysql_user: name={{ client }}
|
||||
password="{{ lookup('password', '/tmp/passwordfile chars=ascii,numbers,digits,hexdigits,punctuation') }}"
|
||||
password="{{ lookup('password', '/tmp/passwordfile chars=ascii_letters,numbers,digits,hexdigits,punctuation') }}"
|
||||
priv={{ client }}_{{ tier }}_{{ role }}.*:ALL
|
||||
|
||||
(...)
|
||||
|
||||
Reference in New Issue
Block a user