From df43be6f9b9c20fced97e5f9cbc3020a02e4f2ae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 7 Feb 2024 19:27:48 +0000 Subject: [PATCH] Set `private_ip` for some other machines --- ansible/group_vars/all/pve.yml | 2 ++ ansible/host_vars/pve-dokku/main.yml | 2 ++ ansible/host_vars/qbittorrent.yml | 1 + 3 files changed, 5 insertions(+) create mode 100644 ansible/host_vars/qbittorrent.yml diff --git a/ansible/group_vars/all/pve.yml b/ansible/group_vars/all/pve.yml index a8c8ae1..d9d430d 100644 --- a/ansible/group_vars/all/pve.yml +++ b/ansible/group_vars/all/pve.yml @@ -24,3 +24,5 @@ pve_hosts: ip: 10.23.1.110 gitea_runner: ip: 10.23.1.114 + pve_dokku: + ip: 10.23.1.102 diff --git a/ansible/host_vars/pve-dokku/main.yml b/ansible/host_vars/pve-dokku/main.yml index b3dec9f..bc770f9 100644 --- a/ansible/host_vars/pve-dokku/main.yml +++ b/ansible/host_vars/pve-dokku/main.yml @@ -1,3 +1,5 @@ ssh_extra_allowed_users: dokku db_backups_dir: /mnt/tank/files/db-backups + +private_ip: "{{ pve_hosts.pve_dokku.ip }}" diff --git a/ansible/host_vars/qbittorrent.yml b/ansible/host_vars/qbittorrent.yml new file mode 100644 index 0000000..95c3d47 --- /dev/null +++ b/ansible/host_vars/qbittorrent.yml @@ -0,0 +1 @@ +private_ip: "{{ pve_hosts.qbittorrent.ip }}"