2024-09/extra/wireguard-key-anlegen_creates.yml

9 lines
152 B
YAML
Raw Normal View History

2024-09-20 13:59:46 +00:00
---
- hosts: localhost
gather_facts: no
tasks:
- shell: "wg genkey | tee wg.priv | wg pubkey | tee wg.pub"
args:
creates: wg.pub