2024-09/extra/wireguard-key-anlegen_creates.yml
2024-09-20 15:59:46 +02:00

9 lines
152 B
YAML

---
- hosts: localhost
gather_facts: no
tasks:
- shell: "wg genkey | tee wg.priv | wg pubkey | tee wg.pub"
args:
creates: wg.pub