--- # RedHat Family (RedHat, Fendora, CentOS, Amazon, etc) - name: packages (RedHat) yum: name: knot state: present when: ansible_os_family == "RedHat"