#8918 Give asamalik permissions to run the openshift-apps/docsbuilding.yml playbook
Closed: Fixed 4 years ago by asamalik. Opened 4 years ago by asamalik.

Describe what you would like us to do:


I need a permissions to be able run this:

sudo rbac-playbook openshift-apps/docsbuilding.yml

... on batcave01.

I maintain the Docs builds in OpenShift and this will allow me to do updates.

(We just discussed this with @pingou and @nphilipp, creating a ticket so we have a tracker.)

When do you need this to be done by? (YYYY/MM/DD)



I'm looking at the rbac configuration file and there seems to be mostly groups allowed to run playbook.
Should I just grant @asamalik this playbook or do we want to create a new sysadmin-docs group?

+1 for sysadmin-docs group and perhaps adding also @pbokoc ? Or at least someone else also in case... :)

Metadata Update from @mohanboddu:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: groomed, low-trouble, medium-gain

4 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

4 years ago

I wanted to add @pbokoc but apparently he needs to be added to the sysadmin group first and seeing the number of emails that comes with this, I'd rather way for him to agree :)

Group has been created, rbac's configuration has been adjusted.

You should be all set!

I'm actually going to close this ticket, but as @kevin suggested, I encourage you to reach out to @pbokoc to see about adding him to the group so he can also run that playbook when needed.

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

It doesn't seem to work :(

[asamalik@batcave01 ~][PROD]$ sudo rbac-playbook openshift-apps/docsbuilding.yml
Password+Token: 
user asamalik is not authorized to run openshift-apps/docsbuilding.yml

Metadata Update from @asamalik:
- Issue status updated to: Open (was: Closed)

4 years ago

It looks like your group membership had not been propagated.

I checked with groups asamalik which didn't show sysadmin-docs, so I ran fasClient: ansible batcave -m shell -a 'fasClient -if' and checking again with the groups asamalik command it shows the missing group.

Could you try again?

Thanks

Yep, now it run, and I've checked OpenShift and the result is there! Thanks!

Metadata Update from @asamalik:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata