Change productive wireguard-config on server.

This commit is contained in:
Raphael Dannecker 2024-06-13 09:21:23 +02:00
parent bd773a2551
commit 0d557335fc

View file

@ -101,7 +101,7 @@
- name: Set Wireguard Serverconfig
ansible.builtin.blockinfile:
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ wg_clientname }}"
path: /etc/wireguard/wg0.conf.new
path: /etc/wireguard/wg0.conf
block: |
[Peer]
PublicKey = {{ wg_publickey }}