1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

added ssh config

This commit is contained in:
eoli3n 2021-05-13 10:15:36 +02:00
parent 64b757e3d5
commit 4e54f45347
2 changed files with 16 additions and 0 deletions

@ -15,6 +15,8 @@
tags: screen
- role: git
tags: git,cli
- role: ssh
tags: ssh
- hosts: desktop
roles:

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