Everyone is vitamin deficient in one way or another. We all should supplement anyway, so just supplement vitamin D.
For me, better mental, cardiovascular, immune, and bone health is more important than apparent skin aging and a marginally increased risk of skin cancer, but everybody has to make their own trade-off decisions. A moderate amount of sun exposure is beneficial to most people. Avoid burning—especially severe burns with kids, which seem to be a big factor in eventual skin cancer risk—by controlling length of exposure and by wearing clothes to cover your skin if you can't control length of exposure.