Merge pull request 'Add host Rhodium' (#470) from rhodium into master
Reviewed-on: Netz39_Admin/netz39-infra-ansible#470 Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
commit
0711ceaf1d
3 changed files with 13 additions and 0 deletions
|
@ -20,6 +20,9 @@ SSH_KEY=<absolute/path/to/ssh/private/key>
|
|||
ansible-playbook setup-ssh.yml --ask-vault-pass -e "setup_ssh_logname=$LOGUSER" -e "setup_ssh_key=$SSH_KEY"
|
||||
```
|
||||
|
||||
This playbook also adds `rhodium.n39.eu` (OpenWRT router), but our Ansible cannot set up SSH keys (yet).
|
||||
Please [add your key to OpenWRT manually](https://openwrt.org/docs/guide-user/security/dropbear.public-key.auth#from_the_luci_web_interface).
|
||||
|
||||
## Edit vault encrypted vars files
|
||||
|
||||
```bash
|
||||
|
|
|
@ -19,6 +19,8 @@ all:
|
|||
k3s-w1.n39.eu:
|
||||
k3s-w2.n39.eu:
|
||||
k3s-w3.n39.eu:
|
||||
# Host rhodium.n39.eu is the OpenWRT router, but cannot be added here
|
||||
# as it would be treated like a Debian host
|
||||
|
||||
children:
|
||||
docker_host:
|
||||
|
|
|
@ -25,3 +25,11 @@ Host {{ host }}
|
|||
Port 22
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{# This is our router #}
|
||||
Host rhodium.n39.eu
|
||||
Hostname rhodium.n39.eu
|
||||
IdentityFile {{ setup_ssh_key }}
|
||||
User root
|
||||
ProxyJump ssh.n39.eu
|
||||
Port 22
|
||||
|
|
Loading…
Add table
Reference in a new issue