diff --git a/galaxy.yml b/galaxy.yml index 41c47e4..1a0387e 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -12,7 +12,7 @@ tags: - cloud - openstack dependencies: - "openstack.cloud": ">=2.1.0" + "openstack.cloud": ">=2.5.0" "community.general": ">=8.2.0" repository: https://github.com/stackhpc/ansible-collection-openstack documentation: https://github.com/stackhpc/ansible-collection-openstack/blob/main/README.md diff --git a/roles/os_projects/tasks/users.yml b/roles/os_projects/tasks/users.yml index 1d7347e..ab0d256 100644 --- a/roles/os_projects/tasks/users.yml +++ b/roles/os_projects/tasks/users.yml @@ -35,6 +35,8 @@ user: "{{ item.0.name }}" project: "{{ project.name }}" role: "{{ item.1 }}" + user_domain: "{{ project.user_domain | default(omit, true) }}" + project_domain: "{{ project.project_domain | default(omit, true) }}" state: present with_subelements: - "{{ project.users }}"