diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/root_authorized_keys/README.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/roles/root_authorized_keys/README.md b/roles/root_authorized_keys/README.md new file mode 100644 index 0000000..d92aa62 --- /dev/null +++ b/roles/root_authorized_keys/README.md @@ -0,0 +1,35 @@ +Root Authorized Keys +==================== + +Description +----------- + +The `root_authorized_keys` role adds SSH public keys to the root user's +`authorized_keys` file. + + +Variables +--------- + +This role **accepts** the following variables: + +Variable | Default | Description +-----------------------|---------|------------ +`root_authorized_keys` | `[]` | List of SSH pubkeys + + +Usage +----- + +Example playbook: + +````yaml +- name: set root authorized_keys + hosts: all + roles: + - role: root_authorized_keys + vars: + root_authorized_keys: + - ssh-ed25519 AAAA... + - ssh-ed25519 AAAA... +```` |