using os_user_role module to assign admin role to group in specific domain in multidomain env

Bug #2052448 reported by bhreddy
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
New
Undecided
Unassigned
ansible-collections-openstack
New
Undecided
Unassigned

Bug Description

---
- hosts: localhost
  gather_facts: no
  any_errors_fatal: yes
  tasks:
    - name: Assign admin role to test_group
      os_user_role:
        auth_type: password
        auth:
          auth_url: "https://openstack.api.endpoint.url:5000/v3"
          username: admin
          password: "{{ admin_password }}"
          project_name: admin
          project_domain_name: default
          user_domain_name: default
        domain: ldap_domain
        group: test_group
        role: admin
        project: admin

In multi domain environment, I am trying to assign admin role to group named as 'test_group' in a domain ldap_domain. I am getting exception as "project admin is not valid"

Tags: keystone
tags: added: keystone
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.