This role will add or remove a defined SSH authorized key for a user.
None
Variable | Description |
---|---|
ssk_user | The username of the account, this is required. |
ssk_state | Defines what do to with the account. |
ssk_keyfile | Defines the ssh public keys file to use. |
- ssk_user: testuser
ssk_state: present
ssk_keyfile: 'files/testuser.pub'
None
- hosts: servers
vars_files:
- vars/main.yml
roles:
- glillico.setup_ssh_keys
MIT
Created in 2020 by Graham Lillico.