Add ssh role
This commit is contained in:
parent
6f0f102a6c
commit
5cb75685e2
4 changed files with 15 additions and 2 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1 +1 @@
|
|||
dotfiles/.ssh/config filter=git-crypt diff=git-crypt
|
||||
roles/ssh/files/config filter=git-crypt diff=git-crypt
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
- mintty
|
||||
- python
|
||||
- readline
|
||||
#- ssh
|
||||
- ssh
|
||||
- tmux
|
||||
- vim
|
||||
|
|
13
roles/ssh/tasks/main.yml
Normal file
13
roles/ssh/tasks/main.yml
Normal 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
|
||||
|
Loading…
Add table
Reference in a new issue