ansible.netcommon is deprecating the ability to provide a template path to the src parameter, and the src will be applied directly at some point in 2028, without templating.
Cisco added a content param that netcommon hasn't standardized on that they document using with {{ lookup("ansible.builtin.template", "tpl.j2") }}, which is a reasonable workaround that's both possible now and forward-compatible with the changes coming to src, so adding something similar now gives users a migration path.
You can see the chatter on netcommon over here:
https://github.com/ansible-collections/ansible.netcommon/issues/745