Use platform_family-dependent filenames

We can't use platform families in template folders, so we use the
platform_family in the template's name.
Fix libyaml installation on RHEL with cloud-init