add ssh config

This commit is contained in:
Pim Kunis 2023-02-20 09:32:47 +01:00
parent f6299e11e4
commit 4a3995ba29
3 changed files with 32 additions and 0 deletions

View file

@ -51,3 +51,13 @@
apt:
update_cache: true
when: apt_repository.changed
- name: Create ssh config directory
file:
path: ~/.ssh
state: directory
mode: 0700
- name: Copy ssh config
copy:
src: "{{ role_path }}/files/ssh_config"
dest: ~/.ssh/config
mode: 0600