2021-12-21 20:22:47 +00:00
|
|
|
- name: Include vault
|
|
|
|
include_vars: vault.yml
|
|
|
|
|
2021-02-09 09:16:52 +00:00
|
|
|
- name: Grafana
|
2022-01-22 20:21:32 +00:00
|
|
|
include_tasks: grafana.yml
|
2021-02-14 16:24:45 +00:00
|
|
|
|
2021-03-04 14:53:03 +00:00
|
|
|
- name: Prometheus
|
2022-01-22 20:21:32 +00:00
|
|
|
include_tasks: prometheus.yml
|
2024-03-22 14:22:53 +00:00
|
|
|
|
|
|
|
- name: Get routes
|
|
|
|
command:
|
|
|
|
argv:
|
|
|
|
- ip
|
|
|
|
- -6
|
|
|
|
- route
|
|
|
|
- show
|
|
|
|
- "{{ vps_hosts.private_ipv6_range }}"
|
|
|
|
register: routes
|
|
|
|
changed_when: false
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Add route to private services via ingress
|
|
|
|
command:
|
|
|
|
argv:
|
|
|
|
- ip
|
|
|
|
- -6
|
|
|
|
- route
|
|
|
|
- add
|
|
|
|
- "{{ vps_hosts.private_ipv6_range }}"
|
|
|
|
- via
|
2024-04-20 18:00:08 +01:00
|
|
|
- "{{ pve_hosts.ingress.ipv6 }}"
|
2024-03-22 14:22:53 +00:00
|
|
|
- dev
|
|
|
|
- eth0
|
|
|
|
become: true
|
|
|
|
when: vps_hosts.private_ipv6_marker not in routes.stdout
|