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 d866372ca1..218b3bc41e 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