ANSIBLE.KEYSTONE_USER(3)

NAME
keystone_user - Manage OpenStack Identity (keystone) users, tenants and roles

DESCRIPTION

Manage users,tenants, roles from OpenStack.

OPTIONS

description
    A description for the tenant (default: None)

email
    An email address for the user (default: None)

endpoint
    The keystone url for authentication (default: http://127.0.0.1:35357/v2.0/)

login_password
    Password of login user (default: yes)

login_tenant_name
    The tenant login_user belongs to (default: None)

login_user
    login username to authenticate to keystone (default: admin)

password
    The password to be assigned to the user (default: None)

role
    The name of the role to be assigned or created (default: None)

state
    Indicate desired state of the resource Choices: present,absent. (default: present)

tenant
    The tenant name that has be added/removed (default: None)

token
    The token to be uses in case the password is not specified (default: None)

user
    The name of the user that has to added/removed from OpenStack (default: None).

EXAMPLES
# 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

AUTHOR
Lorin Hochstein

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#keystone-user