Keep track of IPs for PVE hosts
Yea they're all random, I'll deal with that later
This commit is contained in:
@ -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
|
||||
|
@ -1 +0,0 @@
|
||||
ingress_private_ip: 10.23.1.88
|
Reference in New Issue
Block a user