Remove dashes from short tar params
Using dashes with tar's short parameters creates a bunch of extra logging output and warnings. This should greatly reduce logging output. Change-Id: Icf9392c749e3f9731e5bc182a242a2bc11e440a9
This commit is contained in:
parent
c48542f2d8
commit
d32330b4cb
|
@ -66,7 +66,7 @@
|
|||
# TODO(cloudnull) This should use the find module when we move to Ansible 2.0
|
||||
find "{{ repo_build_venv_build_dir }}/venvs/{{ item.key | replace('os_', '') }}" -name '*.pyc' -delete
|
||||
# Create archive
|
||||
tar -czf "{{ item.key | replace('os_', '') }}-{{ repo_build_release_tag }}.tgz" \
|
||||
tar czf "{{ item.key | replace('os_', '') }}-{{ repo_build_release_tag }}.tgz" \
|
||||
-C "{{ repo_build_venv_build_dir }}/venvs/{{ item.key | replace('os_', '') }}" .
|
||||
args:
|
||||
chdir: "{{ repo_build_venv_dir }}/{{ repo_build_release_tag }}/{{ ansible_distribution | lower }}"
|
||||
|
|
Loading…
Reference in New Issue