This patch fixes issue with duplicate task IDs when multiple loopback devices should be added, and they stored in the same directory. Change-Id: Iae0027b6ee187f5366967e667380dfb3eae232fc Related-Prod: PROD-17620pull/144/head
{%- if loopback.get('enabled', True) %} | {%- if loopback.get('enabled', True) %} | ||||
{{ salt['file.dirname'](loopback.file) }}: | |||||
{{ loopback.file }}_directory: | |||||
file.directory: | file.directory: | ||||
- name: {{ salt['file.dirname'](loopback.file) }} | |||||
- makedirs: true | - makedirs: true | ||||
- require_in: | - require_in: | ||||
- file: {{ loopback.file }} | - file: {{ loopback.file }} |