Workaround for UTF-8 unarchive bug

Closes-bug: 1512736

Change-Id: If17442b0c82eab1853d8ce954a4c99d4594fbcbb
(cherry picked from commit da85bbfea0)
This commit is contained in:
Major Hayden 2015-11-03 09:10:02 -06:00 committed by Jesse Pretorius
parent 5cd270a7fd
commit f64bc06b1e
1 changed files with 15 additions and 4 deletions

View File

@ -29,13 +29,24 @@
- lxc-cache
- lxc-cache-download
# Bug in Ansible causes this to fail with UTF-8 characters
# See: https://bugs.launchpad.net/openstack-ansible/+bug/1512736
# - name: Move lxc cached image into place
# unarchive:
# src: "/var/cache/lxc_{{ item.name }}"
# dest: "{{ lxc_container_cache_path }}/"
# copy: "no"
# with_items: lxc_container_caches
# when: cache_download|changed
# tags:
# - lxc-cache
# - lxc-cache-unarchive
- name: Move lxc cached image into place
unarchive:
src: "/var/cache/lxc_{{ item.name }}"
dest: "{{ lxc_container_cache_path }}/"
copy: "no"
command: "tar -C {{ lxc_container_cache_path }}/ -xf /var/cache/lxc_{{ item.name }}"
with_items: lxc_container_caches
when: cache_download|changed
tags:
- lxc-cache
- lxc-cache-unarchive
- skip_ansible_lint