From 754d5f91a3a29f7e4915bf48c0fef973c167a0be Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 1 Jun 2013 12:36:24 -0400 Subject: [PATCH] Show how to set PW length. --- docsite/latest/rst/playbooks2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/latest/rst/playbooks2.rst b/docsite/latest/rst/playbooks2.rst index 326026fefbf..72dd864733c 100644 --- a/docsite/latest/rst/playbooks2.rst +++ b/docsite/latest/rst/playbooks2.rst @@ -541,7 +541,7 @@ This length can be changed by passing an extra parameter:: # create a mysql user with a random password: - 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 (...)