Keep track of IPs for PVE hosts

Yea they're all random, I'll deal with that later
This commit is contained in:
Jake Howard
2021-01-31 12:46:43 +00:00
parent 9023b269eb
commit 058290b321
11 changed files with 33 additions and 19 deletions

View File

@ -4,7 +4,7 @@
- ip
- route
- show
- "{{ nebula.subnet }}"
- "{{ nebula.cidr }}"
register: routes
changed_when: false
become: true
@ -15,8 +15,8 @@
- ip
- route
- add
- "{{ nebula.subnet }}"
- "{{ nebula.cidr }}"
- via
- "{{ ingress_private_ip }}"
- "{{ pve_hosts.ingress.internal_ip }}"
become: true
when: nebula.subnet not in routes.stdout
when: nebula.cidr not in routes.stdout

View File

@ -1 +0,0 @@
ingress_private_ip: 10.23.1.88