1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00
eoli3n-dotfiles/roles/ssh/tasks/main.yml

15 lines
226 B
YAML
Raw Permalink Normal View History

2021-05-13 10:15:36 +02:00
---
- 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