From: Jessica Wagantall Date: Tue, 21 Aug 2018 21:16:28 +0000 (-0700) Subject: Copy rebar3 instead of move X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F61679%2F1;p=ci-management.git Copy rebar3 instead of move Copy rebar3 to /usr/bin instead of moving to be able to set the proper attributes. Change-Id: I1a873410c90250fb11702e3d45883a474176ebb2 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall --- diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index f563608b5..8d5c5957c 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -128,9 +128,11 @@ args: chdir: /tmp/rebar3 - - name: Move rebar3 to bin - command: mv /tmp/rebar3/rebar3 /usr/bin/rebar3 - become: true + - name: Install rebar3 to bin + copy: + src: /tmp/rebar3/rebar3 + dest: /usr/bin/rebar3 + remote_src: true - name: Remove unused rebar3 source file: