Skip to content

Instantly share code, notes, and snippets.

@nilsmeyer
Created October 16, 2016 07:31
Show Gist options
  • Save nilsmeyer/b4da931f9907a00cdca872e589cb026f to your computer and use it in GitHub Desktop.
Save nilsmeyer/b4da931f9907a00cdca872e589cb026f to your computer and use it in GitHub Desktop.
- name: enrich partition data
set_fact:
_partitions: >
{{
_partitions|combine({_partuuids[item.0.device + '_' + item.1.num|string]:
_partitions[_partuuids[item.0.device + '_' + item.1.num|string]]|combine(item.1)})
}}
with_subelements:
- "{{ layout }}"
- partitions
- "{{ {'skip_missing': True} }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment