You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
294B

  1. ---
  2. - name: NetworkManager wireguard connection
  3. community.general.nmcli:
  4. type: wireguard
  5. conn_name: "{{wireguard_interface}}"
  6. ifname: "{{wireguard_interface}}"
  7. wireguard:
  8. listen-port: 51820
  9. private-key: my-private-key
  10. autoconnect: true
  11. state: present