Add support for Amazon distro by using osfamily instead operatingsytem fact

I tested and using this module on amazon linux