Deprecated in 2.0. Use os_user instead
Manage users,tenants, roles from OpenStack.
- python >= 2.6
- python-keystoneclient
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| email |
no | None | An email address for the user | |
| endpoint |
no | http://127.0.0.1:35357/v2.0/ | The keystone url for authentication | |
| login_password |
no | yes | Password of login user | |
| login_tenant_name (added in 1.3) |
no | None | The tenant login_user belongs to | |
| login_user |
no | admin | login username to authenticate to keystone | |
| password |
no | None | The password to be assigned to the user | |
| role |
no | None | The name of the role to be assigned or created | |
| state |
no | present |
|
Indicate desired state of the resource |
| tenant |
no | None | The tenant name that has be added/removed | |
| tenant_description |
no | None | A description for the tenant | |
| token |
no | None | The token to be uses in case the password is not specified | |
| user |
no | None | The name of the user that has to added/removed from OpenStack |
# Create a tenant - keystone_user: tenant=demo tenant_description="Default Tenant" # Create a user - keystone_user: user=john tenant=demo password=secrete # Apply the admin role to the john user in the demo tenant - keystone_user: role=admin user=john tenant=demo
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.