Skip to content

Commit 4ee103f

Browse files
committed
Adding user_domain and project_domain options and suitable fallbacks/omission. This requires openstack.cloud 2.5.0
1 parent 42b6d19 commit 4ee103f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags:
1212
- cloud
1313
- openstack
1414
dependencies:
15-
"openstack.cloud": ">=2.1.0"
15+
"openstack.cloud": ">=2.5.0"
1616
"community.general": ">=8.2.0"
1717
repository: https://github.com/stackhpc/ansible-collection-openstack
1818
documentation: https://github.com/stackhpc/ansible-collection-openstack/blob/main/README.md

roles/os_projects/tasks/users.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
user: "{{ item.0.name }}"
3636
project: "{{ project.name }}"
3737
role: "{{ item.1 }}"
38+
user_domain: "{{ project.user_domain | default(omit, true) }}"
39+
project_domain: "{{ project.project_domain | default(omit, true) }}"
3840
state: present
3941
with_subelements:
4042
- "{{ project.users }}"

0 commit comments

Comments
 (0)