Ubuntu Server Netplan for Wifi and Ethernet
Solution 1:
To use wifi with netplan.io and systemd-networkd, you need to manually install the wpasupplicant package. It is not automatically installed as a dependency since wifi support is optional on servers.