routeros: Add SSH config for routeros devices
This commit is contained in:
parent
d680e43b70
commit
d492ccc654
2 changed files with 10 additions and 0 deletions
2
roles/routeros/files/routeros.conf
Normal file
2
roles/routeros/files/routeros.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Host ap*.oob.foo.sh sw*.oob.foo.sh
|
||||||
|
User admin
|
|
@ -93,3 +93,11 @@
|
||||||
user: routeros
|
user: routeros
|
||||||
hour: "05"
|
hour: "05"
|
||||||
minute: "30"
|
minute: "30"
|
||||||
|
|
||||||
|
- name: Copy ssh config
|
||||||
|
ansible.builtin.copy:
|
||||||
|
dest: /etc/ssh/ssh_config.d/routeros.conf
|
||||||
|
src: routeros.conf
|
||||||
|
mode: "0644"
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue