diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index b02d132..59e51b5 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -3,4 +3,5 @@ yum: pkg: epel-release state: installed - update_cache: yes \ No newline at end of file + update_cache: yes + when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'