diff --git a/molecule/default/create.yml b/molecule/default/create.yml index 7c6cc13..c405b91 100644 --- a/molecule/default/create.yml +++ b/molecule/default/create.yml @@ -100,7 +100,7 @@ - name: Display pull results debug: - msg: "Pulled {{ item.item.name }}: {{ 'OK' if item.rc == 0 else 'SKIPPED (not available for this platform)' }}" + msg: "Pulled {{ item.item.name }}: {{ 'OK' if (item.rc is defined and item.rc == 0) else 'SKIPPED (not available for this platform)' }}" loop: "{{ pull_result.results | default([]) }}" loop_control: label: "{{ item.item.name }}"