1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-12 18:46:05 +02:00

added authorized keys role

This commit is contained in:
eoli3n 2017-12-29 02:55:10 +01:00
parent bb796cb4a9
commit 55e0304ccd
4 changed files with 18 additions and 0 deletions

View File

@ -23,8 +23,16 @@
## How to
Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...).
Fork Me! Please look at ``roles/*/README.md`` if exists for specific hosts configuration.
/!\ Use as is, you will add my SSH key in your authorized_keys /!\
To disable that role, please run :
```
cd dotfiles
sed -i 's/^\(.*authorized_keys.*\)$/#\1/' install.yml
```
## Test VMs|Containers
Please check ``vagrant/*/README.md`` and ``docker/*/README.md``

View File

@ -17,6 +17,7 @@
- { role: vim, tags: vim }
- { role: terminfo, tags: terminfo }
- { role: screen, tags: screen }
- { role: authorized_keys, tags: authorized_keys }
- hosts: all
tags: [ 'desktop', 'laptop' ]

View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXU3reeqhLxTQ3W/cScB7fTgpvlnjDIb50XHKYHcS968afhloPfALcakNAT9KtlmkW/pV+ePqn3/Yff4ksJJ0gkRJsqY4owukvBhqK5posA2dWmG4IFAgbh9s02a+HCjgUWaCLuwRlSXh3nZ71VNDUFgiRv+qg2Fd4ZCtwm6JvMKoxto5QO6mlqM0Br7+ma9U6PjYxIj1yOvwP4SGH2nqpFw0iLTTHS3mD4zj+9MbNm7uJine7bVJg8HcHN/qnkuvQf6PhNOq980+ja3WwqV3e9tbMR+q/pBg/iwfgUhK7Y8B+2mg0XRkaKQVoIt+x1GhClo8+biE6bOhTCwXHe185 jk

View File

@ -0,0 +1,8 @@
---
- name: authorize eoli3n key
authorized_key:
user: "{{ ansible_user_id }}"
state: present
key: "{{ item }}"
with_file:
- files/id_rsa.pub