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
abcb83914e
commit
d6930f1b04
@ -43,7 +43,7 @@
|
||||
# - lxc-cache-unarchive
|
||||
|
||||
- name: Move lxc cached image into place
|
||||
command: "tar -C {{ lxc_container_cache_path }}/ -xf /var/cache/lxc_{{ item.name }}"
|
||||
command: "tar xf /var/cache/lxc_{{ item.name }} -C {{ lxc_container_cache_path }}/"
|
||||
with_items: lxc_container_caches
|
||||
when: cache_download|changed
|
||||
tags:
|
||||
|
@ -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
Block a user