Draupnir: add manual playbook for room creation #3596
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gwmngilfen/ansible:draupnir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a possible solution for matrix/tickets#13 - it allows an Ansible user to create a room using the Draupnir bot's account, and invite themselves to the new room.
The playbook works as root - I'm not sure how we grant permissions to use it via rbac-playbook though?
Signed-off-by: Greg Sutcliffe fedora@emeraldreverie.org
if i recall correctly, there should be an rbac.yaml file in ansible-private where you should add it to
and i think it looks good!
Looks ok to me. We might make room mandatory too? You likely don't want to just make a test room with the default name..
the typical pattern here is:
OK, I had a look in rbac.yml, seems simple enough. Do we want to re-use the
commops-wg-matrixFAS group, or make a new one? I see @kevin suggesting asysadmin-matrixgroup but does that add anything over the existing one? The members are the ones in the moderation room anyway...If we're making room mandatory, I guess all the parameters might as well all be (well, except visibility). The alias will not like being reused anyway.
So, the typical convention is that 'sysadmin-whatever' groups are ones where members can get an interactive shell.
So, I think i would prefer we make a sysadmin-matrix group for this. we could just add interested matrix/commops folks to it, or we could inherit from the commops-wg-matrix group, but having it be sysadmin-matrix would at least indicate it provides shell access.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.