1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Show how to set PW length.

This commit is contained in:
Michael DeHaan 2013-06-01 12:36:24 -04:00
parent 88102df07c
commit 754d5f91a3

View file

@ -541,7 +541,7 @@ This length can be changed by passing an extra parameter::
# create a mysql user with a random password: # create a mysql user with a random password:
- mysql_user: name={{ client }} - mysql_user: name={{ client }}
password="{{ lookup('password', 'credentials/' + client + '/' + tier + '/' + role + '/mysqlpassword') }}" password="{{ lookup('password', 'credentials/' + client + '/' + tier + '/' + role + '/mysqlpassword length=15') }}"
priv={{ client }}_{{ tier }}_{{ role }}.*:ALL priv={{ client }}_{{ tier }}_{{ role }}.*:ALL
(...) (...)