updated variables scope
diff --git a/tasks/main.yml b/tasks/main.yml
index 443ba5c..d6b4234 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -5,6 +5,8 @@
     value: "{{ item.value }}"
   with_items:
   - { key: 'apigee_mirror_version', value: '{{ apigee_mirror_version }}' }
+  - { key: 'copy_archive', value: '{{ copy_archive }}' }
+  - { key: 'apigee_archive_name', value: '{{ apigee_archive_name }}' }
 
 # tasks file for apigee-opdk-setup-local-repository
 - name: Install the local mirror with no proxy