diff --git a/inventory.yml b/inventory.yml index e7c8c54..b2ed6cc 100644 --- a/inventory.yml +++ b/inventory.yml @@ -28,7 +28,7 @@ all: pottwal.n39.eu: radon.n39.eu: unicorn.n39.eu: - ssh_jump: + location_space: hosts: beaker.n39.eu: hobbes.n39.eu: @@ -40,6 +40,6 @@ all: radon.n39.eu: wittgenstein.n39.eu: unicorn.n39.eu: - ssh_no_jump: + location_internet: hosts: tau.netz39.de: diff --git a/templates/ssh_config.j2 b/templates/ssh_config.j2 index 7c48c9f..8dcadf2 100644 --- a/templates/ssh_config.j2 +++ b/templates/ssh_config.j2 @@ -6,7 +6,7 @@ Host ssh.n39.eu User {{ setup_ssh_logname }} Port 22 -{% for host in groups['ssh_jump'] %} +{% for host in groups['location_space'] %} Host {{ host }} Hostname {{ host }} IdentityFile {{ setup_ssh_key }} @@ -16,7 +16,7 @@ Host {{ host }} Port 22 {% endfor %} -{% for host in groups['ssh_no_jump'] %} +{% for host in groups['location_internet'] %} Host {{ host }} Hostname {{ host }} IdentityFile {{ setup_ssh_key }} @@ -24,4 +24,4 @@ Host {{ host }} User {{ setup_ssh_logname }} Port 22 -{% endfor %} \ No newline at end of file +{% endfor %}