Skip to content

Commit 0ac8153

Browse files
authored
adding new roles to dispatcher (#1196)
* modified: README.md new file: changelogs/fragments/new_dispatch_roles.yml modified: roles/dispatch/defaults/main.yml * modified: roles/dispatch/README.md modified: roles/dispatch/defaults/main.yml * modified: roles/dispatch/meta/argument_specs.yml * modified: roles/dispatch/README.md modified: roles/dispatch/defaults/main.yml modified: roles/dispatch/meta/argument_specs.yml
1 parent d8a4772 commit 0ac8153

File tree

5 files changed

+38
-13
lines changed

5 files changed

+38
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ collections:
3535

3636
| Collection Name | Purpose |
3737
|:-----------------------------------------------------------------------------------:|:-----------------------------:|
38-
| ansible.platform repo (no public repo for this collection) | gateway/platform modules |
38+
| [ansible.platform repo](https://github.com/ansible/ansible.platform) | gateway/platform modules |
3939
| [ansible.hub repo](https://github.com/ansible-collections/ansible_hub) | Automation hub modules |
4040
| [ansible.controller repo](https://github.com/ansible/awx/tree/devel/awx_collection) | Automation controller modules |
4141
| [ansible.eda repo](https://github.com/ansible/event-driven-ansible) | Event Driven Ansible modules |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
bugfixes:
3+
- Added `gateway_role_team_assignments` role to dispatch roles
4+
- Added `gateway_role_definitions` role to dispatch roles
5+
trivial:
6+
- Updated main readme to link to the now public ansible.platform repo
7+
...

roles/dispatch/README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,18 @@ gateway_configuration_dispatcher_roles:
134134
- role: gateway_settings
135135
var: gateway_settings
136136
tags: settings
137-
- role: gateway_applications
138-
var: aap_applications
139-
tags: applications
140-
- role: gateway_http_ports
141-
var: gateway_http_ports
142-
tags: http_ports
143137
- role: gateway_organizations
144138
var: aap_organizations
145139
tags: organizations
146140
assign_galaxy_credentials_to_org: false
147141
assign_default_ee_to_org: false
148142
assign_notification_templates_to_org: false
143+
- role: gateway_applications
144+
var: aap_applications
145+
tags: applications
146+
- role: gateway_http_ports
147+
var: gateway_http_ports
148+
tags: http_ports
149149
- role: gateway_service_clusters
150150
var: gateway_service_clusters
151151
tags: service_clusters
@@ -158,18 +158,24 @@ gateway_configuration_dispatcher_roles:
158158
- role: gateway_services
159159
var: gateway_services
160160
tags: services
161-
- role: gateway_role_user_assignments
162-
var: gateway_role_user_assignments
163-
tags: role_user_assignments
164-
- role: gateway_routes
165-
var: gateway_routes
166-
tags: routes
167161
- role: gateway_teams
168162
var: aap_teams
169163
tags: teams
170164
- role: gateway_users
171165
var: aap_user_accounts
172166
tags: users
167+
- role: gateway_role_definitions
168+
var: gateway_role_definitions
169+
tags: role_definitions
170+
- role: gateway_role_team_assignments
171+
var: gateway_role_team_assignments
172+
tags: role_team_assignments
173+
- role: gateway_role_user_assignments
174+
var: gateway_role_user_assignments
175+
tags: role_user_assignments
176+
- role: gateway_routes
177+
var: gateway_routes
178+
tags: routes
173179
```
174180

175181
#### Hub Roles

roles/dispatch/defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ gateway_configuration_dispatcher_roles:
4040
- role: gateway_users
4141
var: aap_user_accounts
4242
tags: users
43+
- role: gateway_role_definitions
44+
var: gateway_role_definitions
45+
tags: role_definitions
46+
- role: gateway_role_team_assignments
47+
var: gateway_role_team_assignments
48+
tags: role_team_assignments
4349
- role: gateway_role_user_assignments
4450
var: gateway_role_user_assignments
4551
tags: role_user_assignments

roles/dispatch/meta/argument_specs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ argument_specs:
4747
- role: gateway_role_user_assignments
4848
var: gateway_role_user_assignments
4949
tags: role_user_assignments
50+
- role: gateway_role_team_assignments
51+
var: gateway_role_team_assignments
52+
tags: role_team_assignments
53+
- role: gateway_role_definitions
54+
var: gateway_role_definitions
55+
tags: role_definitions
5056
- role: gateway_routes
5157
var: gateway_routes
5258
tags: routes

0 commit comments

Comments
 (0)