We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a478b6 commit 32e0a08Copy full SHA for 32e0a08
roles/os_images/tasks/images.yml
@@ -85,7 +85,7 @@
85
dib_args: >-
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 }}
+ -o {{ item.name }} -a {{ os_images_architecture | default('amd64') }}
89
ansible.builtin.shell: . {{ os_images_dib_venv }}/bin/activate && disk-image-create {{ dib_args }} > {{ item.name }}.stdout 2> {{ item.name }}.stderr
90
args:
91
chdir: "{{ os_images_cache }}/{{ item.name }}"
0 commit comments