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

Add new "admins" group to notification inventory #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jfilipcz
Copy link
Contributor

@jfilipcz jfilipcz commented Dec 1, 2021

PR adding new "admins" user group based on roles assigned in LodeStar

list_of_users:
{% for user in engagement_users | default([]) %}
{% filter indent(width=6) %}
{% if 'lodestar-admins' in user.role %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lodestar-admins isn't a good value to key off here. Now that we have the runtime.json in the engagement repos, we should look to use that to flag a user/groups of users for addition here.

Example usage of runtime.json:
https://github.com/rht-labs/labs-sre-automation/blob/master/inventory-generation/identity-management/main.yml#L19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants