Add WireGuard routing and Podman playbook

This commit is contained in:
2026-01-15 00:47:04 -05:00
parent 39e8f78adf
commit e2e5fdcd67
2 changed files with 18 additions and 0 deletions

7
playbooks/podman.yml Normal file
View File

@@ -0,0 +1,7 @@
- name: Install Podman server
hosts: "{{ PLAYBOOK_HOST | default('none') }}"
become: true
roles:
- base
- proxy
- podman

View File

@@ -6,6 +6,17 @@ Address = {{ wireguard.address }}
{% if wireguard.listenport is defined %}
ListenPort = {{ wireguard.listenport }}
{% endif %}
{%- if wireguard.table is defined %}
Table = {{ wireguard.table }}
{% endif -%}
{%- if wireguard.postup is defined %}
PostUp = {{ wireguard.postup }}
{% endif -%}
{%- if wireguard.predown is defined %}
PreDown = {{ wireguard.predown }}
{% endif %}
{% for peer in wireguard.peers %}
{% if peer.name is defined %}