updated to include version of opdk prior to 4.17.01
diff --git a/tasks/main.yml b/tasks/main.yml
index df6b151..e6d8642 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -14,12 +14,6 @@
   become: yes
   shell: yum clean all
 
-- name: Remove IPv6 localhost entry
-  replace:
-    dest: /etc/hosts
-    regexp: '::1.*(localhost6.*)$'
-    replace: '::1         \1'
-
 - name: Create pip config folder
   file:
     path: "{{ pip_conf_dir }}"
@@ -40,6 +34,12 @@
   include: with_proxy.yml
   when: http_proxy is defined and https_proxy is defined
 
+- name: Remove IPv6 localhost entry
+  replace:
+    dest: /etc/hosts
+    regexp: '::1.*(localhost6.*)$'
+    replace: '::1         \1'
+
 - name: Patch rngd service unit
   replace:
     dest: /usr/lib/systemd/system/rngd.service