Skip to content

Commit

Permalink
Create temp archive in /tmp for scripts
Browse files Browse the repository at this point in the history
Fixes #119
  • Loading branch information
zeitounator committed Oct 3, 2018
1 parent 00f7b5a commit 63fd030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ molecule/custom_env.yml
README.md.orig.*
README.md.toc.*
*.pyc

groovy-scripts.tar.gz
4 changes: 2 additions & 2 deletions tasks/nexus_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63fd030

Please sign in to comment.