Change productive wireguard-config on server.
This commit is contained in:
parent
bd773a2551
commit
0d557335fc
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@
|
||||||
- name: Set Wireguard Serverconfig
|
- name: Set Wireguard Serverconfig
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ wg_clientname }}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ wg_clientname }}"
|
||||||
path: /etc/wireguard/wg0.conf.new
|
path: /etc/wireguard/wg0.conf
|
||||||
block: |
|
block: |
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = {{ wg_publickey }}
|
PublicKey = {{ wg_publickey }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue