Unfortunately YOCTO does not have authconfig so it's necessary to use ansible template files instead.