add ssh config
This commit is contained in:
parent
f6299e11e4
commit
4a3995ba29
3 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue