From ad9e2939bfa6faddc7565fb2a137be978d6fb288 Mon Sep 17 00:00:00 2001 From: Mark Theunissen Date: Thu, 6 Sep 2012 18:16:05 -0700 Subject: [PATCH] Fix parameter names --- rst/modules/mysql_user.rst | 2 +- rst/modules/user.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rst/modules/mysql_user.rst b/rst/modules/mysql_user.rst index c6d9eae66b..7d04458101 100644 --- a/rst/modules/mysql_user.rst +++ b/rst/modules/mysql_user.rst @@ -41,7 +41,7 @@ Example privileges string format: Example action from Ansible :doc:`playbooks`:: - name: Create database user - action: mysql_user name=bob passwd=12345 priv=*.*:ALL state=present + action: mysql_user name=bob password=12345 priv=*.*:ALL state=present - name: Ensure no user named 'sally' exists, also passing in the auth credentials. action: mysql_user login_user=root login_password=123456 name=sally state=absent diff --git a/rst/modules/user.rst b/rst/modules/user.rst index 8f4be3566d..247094e6be 100644 --- a/rst/modules/user.rst +++ b/rst/modules/user.rst @@ -42,6 +42,6 @@ Creates user accounts, manipulates existing user accounts, and removes user acco Example action from Ansible :doc:`playbooks`:: - user name=mdehaan comment=awesome passwd=awWxVV.JvmdHw createhome=yes + user name=mdehaan comment=awesome password=awWxVV.JvmdHw createhome=yes user name=mdehaan groups=wheel,skynet user name=mdehaan state=absent force=yes