Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing gateway_users role #945

Merged
merged 1 commit into from
Oct 22, 2024
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 roles/dispatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Each role has its own variables, for information on those please see each role w
```yaml
gateway_dispatch_roles:
- {role: settings, var: settings_list, tags: settings}
- {role: users, var: users_list, tags: users}
- {role: users, var: aap_user_accounts, tags: users}
- {role: authenticators, var: authenticators_list, tags: authenticators}
- {role: authenticator_maps, var: authenticator_maps_list, tags: authenticator_maps}
- {role: http_ports, var: http_ports_list, tags: http_ports}
Expand Down
2 changes: 1 addition & 1 deletion roles/gateway_users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
gateway_token: "{{ aap_token | default(omit, true) }}"
gateway_request_timeout: "{{ aap_request_timeout | default(omit, true) }}"
gateway_validate_certs: "{{ aap_validate_certs | default(omit) }}"
loop: "{{ users if users is defined else users_list }}"
loop: "{{ aap_user_accounts }}"
loop_control:
loop_var: __gateway_user_accounts_item
label: "{{ __operation.verb }} the label {{ __gateway_user_accounts_item.name }} to Controller"
Expand Down
2 changes: 1 addition & 1 deletion tests/configs/user_accounts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
users_list:
aap_user_accounts:
- user: controller_user
is_superuser: false
password: aap_password
Expand Down
Loading