Skip to content

Commit

Permalink
Merge pull request #120 from zeitounator/fix/scriptArchiveInTmp
Browse files Browse the repository at this point in the history
Create temp archive in /tmp for scripts
Fixes #119
  • Loading branch information
zeitounator authored Oct 3, 2018
2 parents 00f7b5a + 63fd030 commit 3b9e860
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 3b9e860

Please sign in to comment.