Adding Amazon Linux support

Switching from operatingsystem to osfamily fact for Amazon Linux
support, compatible with RHEL/CentOS but not tested on Fedora.