Add ssh role

This commit is contained in:
Fernando Schauenburg 2019-11-15 22:00:56 +00:00
parent 6f0f102a6c
commit 5cb75685e2
4 changed files with 15 additions and 2 deletions

2
.gitattributes vendored
View file

@ -1 +1 @@
dotfiles/.ssh/config filter=git-crypt diff=git-crypt roles/ssh/files/config filter=git-crypt diff=git-crypt

View file

@ -14,6 +14,6 @@
- mintty - mintty
- python - python
- readline - readline
#- ssh - ssh
- tmux - tmux
- vim - vim

13
roles/ssh/tasks/main.yml Normal file
View file

@ -0,0 +1,13 @@
---
- name: Create the SSH directory
file:
path: ~/.ssh
state: directory
- name: Deploy SSH config
file:
src: "{{ role_path }}/files/config"
dest: ~/.ssh/config
state: link
force: yes