Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: stackhpc
name: openstack
version: 0.5.1
version: 0.5.2
readme: README.md
authors:
- StackHPC Ltd
Expand Down
14 changes: 3 additions & 11 deletions roles/os_projects/tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
vars:
domain_is_id: "{{ project.user_domain in os_projects_domain_to_id.values() }}"
loop_control:
label:
project: "{{ project.name }}"
user: "{{ item.name }}"
label: "{{ project.name }}: {{ item.name }}"

- name: Ensure users have required project roles
openstack.cloud.role_assignment:
Expand All @@ -41,10 +39,7 @@
- skip_missing: true
environment: "{{ os_projects_environment }}"
loop_control:
label:
project: "{{ project.name }}"
user: "{{ item.0.name }}"
role: "{{ item.1 }}"
label: "{{ project.name }}: {{ item.0.name }}: {{ item.1 }}"

- name: Ensure users have required domain roles
openstack.cloud.role_assignment:
Expand All @@ -65,7 +60,4 @@
vars:
domain_is_id: "{{ project.user_domain in os_projects_domain_to_id.values() }}"
loop_control:
label:
domain: "{{ project.user_domain }}"
user: "{{ item.0.name }}"
role: "{{ item.1 }}"
label: "{{ project.user_domain }}: {{ item.0.name }}: {{ item.1 }}"