Updated epel logic
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml
index 27d2836..0f9a4c5 100644
--- a/tasks/with_no_proxy.yml
+++ b/tasks/with_no_proxy.yml
@@ -7,7 +7,7 @@
 # TODO: Look up the ansible_distribution name for RHEL systems
 - name: If using RHEL then register RHEL on RHN
   shell: "subscription-manager register --username={{ rhel_user_name }} --password={{ rhel_password }} --auto-attach"
-  when: ansible_bios_version | lower | search('amazon') and ansible_distribution | lower == 'redhat' and ansible_distribution_major_version | version_compare('7', '>')
+  when: ansible_distribution | lower == 'redhat' and ansible_distribution_major_version | version_compare('7', '>')
 
 - name: Update EPEL with no proxy
   yum: