Configure jumphosts for adm hosts

This commit is contained in:
Timo Makinen 2025-06-18 17:45:23 +00:00
parent c07a0fbd92
commit 9c802f9919

View file

@ -78,6 +78,18 @@
owner: root
group: "{{ ansible_wheel }}"
- name: Configure jumphosts
ansible.builtin.copy:
dest: /etc/ssh/ssh_config.d/jumphost.conf
content: |
Host *.iot.foo.sh !gw.iot.foo.sh
ProxyJump gw.iot.foo.sh
Host *.lan.foo.sh !gw.lan.foo.sh
ProxyJump gw.lan.foo.sh
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
- name: Clone dns repo
ansible.builtin.git:
dest: /export/dns