updated attributes for upload and install of archive
diff --git a/tasks/main.yml b/tasks/main.yml
index 7a04bb6..fadb798 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -11,8 +11,9 @@
   tags: ['ipv6']
   replace:
     dest: /etc/hosts
-    regexp: '(^::1.*localhost6.*)$'
-    replace: '# \1'
+    regexp: "{{ item.regexp }}"
+    replace: '{{ item.replace }}'
+  with_items: "{{ clear_etc_hosts }}"
 
 - block:
   - name: Start rngd service