diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 75985c9fef..932712ce70 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -42,7 +42,7 @@ - name: put epel repos on el systems copy: src="{{ files }}/common/epel{{ ansible_distribution_major_version|int }}.repo" dest="/etc/yum.repos.d/epel{{ ansible_distribution_major_version|int }}.repo" - when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and use_default_epel) and datacenter != "aws" + when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and use_default_epel) and datacenter != "aws" tags: - config - packages