honomoa.authorized_keys
Ansible Role: authorized_keys
This role manages SSH authorized keys.
Learn more about authorized_keys
Role Variables
add_keys: []
Use this list to specify the public keys you want to add.
remove_keys: []
Use this list to specify the public keys you want to remove.
Example Playbook
- hosts: server
vars:
add_keys:
- { user: ubuntu, key: ./files/server_new.pub }
remove_keys:
- { user: ubuntu, key: ./files/server.pub }
roles:
- { role: honomoa.authorized_keys }
License
CC BY-SA 3.0