diff --git a/.gitignore b/.gitignore
index 14601bd2..3381edfa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,5 +9,3 @@ molecule/custom_env.yml
 README.md.orig.*
 README.md.toc.*
 *.pyc
-
-groovy-scripts.tar.gz
diff --git a/tasks/nexus_install.yml b/tasks/nexus_install.yml
index 097678a1..1bf13c13 100644
--- a/tasks/nexus_install.yml
+++ b/tasks/nexus_install.yml
@@ -420,12 +420,12 @@
   local_action:
     module: archive
     path: "{{ role_path }}/files/groovy/*"
-    dest: "{{ role_path }}/groovy-scripts.tar.gz"
+    dest: "/tmp/nexus-upload-groovy-scripts.tar.gz"
   run_once: true
 
 - name: Upload new scripts
   unarchive:
-    src: "{{ role_path }}/groovy-scripts.tar.gz"
+    src: "/tmp/nexus-upload-groovy-scripts.tar.gz"
     dest: "{{ nexus_data_dir }}/groovy-raw-scripts/new/"
 
 - name: Sync new scripts to old and get differences