Add action for authorized keys
Description
We need an action to manage authorized keys for specified users
Proposal
ssh_authorized_keys:
- user: "bdaca"
keys:
- "key1"
- user: "tziol"
keys:
- "key2"
- "key3"
- Action creates
.ssh
directory and populatesauthorized_keys
file (if necessary) with provided keys for each provided user. - Action does not modify any unspecified users.
- Action removes all other keys, that are not on the user's list.
Links / references
Edited by Bartłomiej Daca