2024-11/extra/wireguard-key-anlegen_creates.yml
2024-11-28 09:56:02 +01: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