diff options
author | Jonathan Steffan <jsteffan@fedoraproject.org> | 2015-11-22 19:57:53 -0700 |
---|---|---|
committer | Jonathan Steffan <jsteffan@fedoraproject.org> | 2015-11-22 19:57:53 -0700 |
commit | a69aedf1f23b3e1927ce81378ec5e07d8aa6c9fc (patch) | |
tree | 56d87eb1d94352d17592fd7dd8b4eeafcec270d5 | |
parent | aa52ca9e12267ce5cf43ebde4782ed6f2fc57150 (diff) | |
download | openshift-a69aedf1f23b3e1927ce81378ec5e07d8aa6c9fc.tar.gz openshift-a69aedf1f23b3e1927ce81378ec5e07d8aa6c9fc.tar.bz2 openshift-a69aedf1f23b3e1927ce81378ec5e07d8aa6c9fc.tar.xz openshift-a69aedf1f23b3e1927ce81378ec5e07d8aa6c9fc.zip |
Use join for the uncompress command.
-rw-r--r-- | playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml b/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml index e1e552c36..f26b41f31 100644 --- a/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml +++ b/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml @@ -18,7 +18,7 @@ register: downloaded_image - name: Uncompress Base Cloud image - command: 'unxz -kf {{ os_libvirt_storage_pool_path }}/{{ image_name }}.{{ image_compression }}' + command: 'unxz -kf {{ os_libvirt_storage_pool_path }}/{{ [image_name, image_compression] | join(".") }}' args: creates: '{{ os_libvirt_storage_pool_path }}/{{ image_name }}' when: image_compression in ["xz"] and downloaded_image.changed |