ansible/roles/vm/templates/yaml_host.j2

27 lines
355 B
Django/Jinja

version: "3.0"
# master: {{ vm_mastering }}
# edited: 2023-09-26
# updated: {{ ansible_date_time.date }}
#
# stack: x-host
#
services:
x-host:
extends:
file: ./{{ vm_template_vpn_name }}
service: x-vpn
dns:
- 1.1.1.1
- 8.8.8.8
- 1.0.0.1
- 8.8.4.4
extra_hosts:
{% include 'yaml_hosts_extra.j2' %}