Merge "Remove dashes from short tar params" into liberty
This commit is contained in:
commit
a267b4e538
|
@ -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