Skip to content

Add rekey playbook #796

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

Merged
merged 5 commits into from
Dec 6, 2023
Merged

Add rekey playbook #796

merged 5 commits into from
Dec 6, 2023

Conversation

Alex-Welsh
Copy link
Member

@Alex-Welsh Alex-Welsh commented Nov 17, 2023

Adding a playbook to rotate ssh keys in a cloud.
Given a list of users (default: kolla, stack) the playbook will remove the existing ssh key from each user's authorized_keys file and replace it with a new one.

@Alex-Welsh Alex-Welsh requested a review from a team as a code owner November 17, 2023 19:51
@Alex-Welsh Alex-Welsh marked this pull request as draft November 22, 2023 10:16
@Alex-Welsh Alex-Welsh marked this pull request as ready for review November 22, 2023 14:22
@Alex-Welsh
Copy link
Member Author

I've changed my mind on this one, I'll revert back to the old style and just set ssh_*_key_path as the defaults. will update soontm

@Alex-Welsh
Copy link
Member Author

I think I'm done fiddling with the format now. Again, I'm marking as draft until I get the chance to test it again.

Now by default it will rotate the keys used by kayobe/kolla-ansible but can also be used more generally by overriding the existing/new_private/public_key_path variables

@Alex-Welsh
Copy link
Member Author

Again, tested & working now

@Alex-Welsh Alex-Welsh marked this pull request as ready for review November 30, 2023 10:12
@markgoddard markgoddard merged commit 22b7bc7 into stackhpc/yoga Dec 6, 2023
@markgoddard markgoddard deleted the rekey branch December 6, 2023 13:51
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