configuration.yml 260 B

1234567891011
  1. ---
  2. - name: "00: Create Public and Private server keys"
  3. become: True
  4. ansible.builtin.shell:
  5. command: "wg genkey | sudo tee /etc/wireguard/privatekey | wg pubkey | sudo tee /etc/wireguard/publickey"
  6. - name: "10: Render Client Configuration file"