Skip to content

Commit 1a478b6

Browse files
committed
Tidy role
1 parent 142ba82 commit 1a478b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/os_images/tasks/images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
- name: Generate diskimage-builder images
8484
vars:
8585
dib_args: >-
86-
{% if item.size is defined %}--image-size {{ item.size }}{% endif %} {% if os_images_architecture is defined %}-a {{ os_images_architecture }}{% endif %}
87-
{% if item.type is defined %}-t {{ item.type }}{% endif %} {% if item.packages | default %}-p {{ item.packages | join(',') }}{% endif %}
88-
{{ os_images_common }} {{ item.elements | join(' ') }} -o {{ item.name }} -a {{ os_images_architecture }}
86+
{% if item.size is defined %}--image-size {{ item.size }}{% endif %} {% if item.type is defined %}-t {{ item.type }}{% endif %}
87+
{% if item.packages | default %}-p {{ item.packages | join(',') }}{% endif %} {{ os_images_common }} {{ item.elements | join(' ') }}
88+
-o {{ item.name }} -a {{ os_images_architecture }}
8989
ansible.builtin.shell: . {{ os_images_dib_venv }}/bin/activate && disk-image-create {{ dib_args }} > {{ item.name }}.stdout 2> {{ item.name }}.stderr
9090
args:
9191
chdir: "{{ os_images_cache }}/{{ item.name }}"

0 commit comments

Comments
 (0)