Clone shirenn's configuration

This commit is contained in:
2021-01-29 01:08:39 +01:00
parent 527e776d62
commit 7af58a6dc7
70 changed files with 1743 additions and 4216 deletions

28
roles/ssh/tasks/main.yml Normal file
View File

@ -0,0 +1,28 @@
---
- name: Create ssh directory
file:
path: '.ssh'
mode: 0700
state: directory
- name: Create ssh configuration file directory
file:
path: '.ssh/config.d'
mode: 0755
state: directory
- name: Deploying config files
template:
src: 'config.d/{{ item }}.j2'
dest: '.ssh/config.d/{{ item }}'
loop:
- aurore
- crans
- dptinfo
- perso
- name: Include config files
template:
src: 'config.j2'
dest: '.ssh/config'

View File

@ -0,0 +1,3 @@
Host *.adm.auro.re
User ynerant
ProxyJump camelot.auro.re

View File

@ -0,0 +1,13 @@
Host freebox.crans.org titanic.adm.crans.org soyouz.crans.org ssh.crans.org zamok.crans.org zamok.adm.crans.org *.adh.crans.org note*.crans.org
User ynerant
Host odlyd.crans.org odlyd 10.231.136.4
User ynerant
Hostname 10.231.136.4
ProxyJump zamok.crans.org
Host 172.16.10.* 185.230.79.* *.adm.crans.org *.crans.org
User _ynerant
Host 172.16.10.* *.adm.crans.org *.crans.org ynerant.fr !hodaur.crans.org !odlyd.crans.org !note*.crans.org
ProxyJump hodaur.crans.org

View File

@ -0,0 +1,6 @@
Host *.dptinfo.ens-cachan.fr !ssh.dptinfo.ens-cachan.fr
User danello
ProxyJump ssh.dptinfo.ens-cachan.fr
Host ssh.dptinfo.ens-cachan.fr
User danello

View File

@ -0,0 +1,4 @@
Host main
User ynerant
Hostname ynerant-pc.fil.sand.auro.re
ProxyJump camelot.auro.re

View File

@ -0,0 +1 @@
Include ~/.ssh/config.d/*