style 💎: Simplify compressed image replacement
Updated the compressed image replacement step to remove unnecessary comments and shell commands. This change improves code readability and maintainability.
This commit is contained in:
@@ -203,9 +203,9 @@
|
||||
# {{ image_info.stdout }}
|
||||
|
||||
|
||||
- name: Replace original compressed image with sparsified version
|
||||
ansible.builtin.shell: |
|
||||
mv {{ workdir }}/{{ template_name }}_sparse.qcow2 {{ workdir }}/{{ template_name }}.qcow2
|
||||
# - name: Replace original compressed image with sparsified version
|
||||
# ansible.builtin.shell: |
|
||||
# mv {{ workdir }}/{{ template_name }}_sparse.qcow2 {{ workdir }}/{{ template_name }}.qcow2
|
||||
|
||||
# - name: Compress and shrink image
|
||||
# ansible.builtin.shell: |
|
||||
|
||||
Reference in New Issue
Block a user