code: def role_create(auth=None, **kwargs):
      '''
      Create a role
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystoneng.role_create name=role1
          salt '*' keystoneng.role_create name=role1 domain_id=b62e76fbeeff4e8fb77073f591cf211e
      '''
      cloud = get_operator_cloud(auth)
      kwargs = _clean_kwargs(keep_name=True, **kwargs)
      return cloud.create_role(**kwargsf role_create(auth=None, **kwargs):
      '''
      Create a role
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystoneng.role_create name=role1
          salt '*' keystoneng.role_create name=role1 domain_id=b62e76fbeeff4e8fb77073f591cf211e
      '''
      cloud = get_operator_cloud(auth)
      kwargs = _clean_kwargs(keep_name=True, **kwargs)
      return cloud.create_role(**kwargs)
docs: Create a role
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystoneng.role_create name=role1
          salt '*' keystoneng.role_create name=role1 domain_id=b62e76fbeeff4e8fb77073f591cf211e