mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
added ssh config
This commit is contained in:
parent
64b757e3d5
commit
4e54f45347
@ -15,6 +15,8 @@
|
|||||||
tags: screen
|
tags: screen
|
||||||
- role: git
|
- role: git
|
||||||
tags: git,cli
|
tags: git,cli
|
||||||
|
- role: ssh
|
||||||
|
tags: ssh
|
||||||
|
|
||||||
- hosts: desktop
|
- hosts: desktop
|
||||||
roles:
|
roles:
|
||||||
|
14
roles/ssh/tasks/main.yml
Normal file
14
roles/ssh/tasks/main.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- name: perms on .ssh
|
||||||
|
file:
|
||||||
|
path: ~/.ssh
|
||||||
|
mode: 0700
|
||||||
|
state: directory
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
|
- name: configure ssh
|
||||||
|
blockinfile:
|
||||||
|
create: yes
|
||||||
|
path: ~/.ssh/config
|
||||||
|
block: |
|
||||||
|
StrictHostKeyChecking no
|
Loading…
Reference in New Issue
Block a user