Added ssh config to developer machines
This commit is contained in:
@@ -157,3 +157,8 @@
|
||||
|
||||
#- name: Restart xrdp
|
||||
# shell: service xrdp restart
|
||||
|
||||
- name: Install ssh-config
|
||||
template: src=../roles/developer-machine/templates/ssh-config.j2 dest=/home/{{ standard_user }}/.ssh/config
|
||||
become: yes
|
||||
become_user: "{{ standard_user }}"
|
||||
|
||||
6
roles/developer-machine/templates/ssh-config.j2
Normal file
6
roles/developer-machine/templates/ssh-config.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
Host 10.0.0.*
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile=/dev/null
|
||||
Host *.wimer.home
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile=/dev/null
|
||||
Reference in New Issue
Block a user