diff --git a/playbooks/shell.yml b/playbooks/shell.yml index 33907f1..d19b2ca 100644 --- a/playbooks/shell.yml +++ b/playbooks/shell.yml @@ -67,3 +67,13 @@ - thunderbird loop_control: loop_var: role + + - name: add home.foo.sh hosts to ssh config + copy: + dest: /etc/ssh/ssh_config.d/home.foo.sh.conf + content: | + Host *.home.foo.sh !gw.home.foo.sh + ProxyJump root@gw.home.foo.sh + mode: 0644 + owner: root + group: "{{ ansible_wheel }}"