Add WireGuard routing and Podman playbook
This commit is contained in:
7
playbooks/podman.yml
Normal file
7
playbooks/podman.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: Install Podman server
|
||||
hosts: "{{ PLAYBOOK_HOST | default('none') }}"
|
||||
become: true
|
||||
roles:
|
||||
- base
|
||||
- proxy
|
||||
- podman
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user