--- # This is so uggly - name: Restart wireguard for interface systemd: name: "wg-quick@{{ item.key }}" state: restarted loop: - "{{ lookup('dict', vpn_interfaces) }}" no_log: true