mirror of https://github.com/ceph/ceph-ansible.git
Remove dupes in raw_journal_devices in a consistent manner
parent
b906693762
commit
564a8486b0
|
@ -32,7 +32,7 @@
|
|||
shell: "sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }} || sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }}"
|
||||
with_together:
|
||||
- "{{ journal_partition_status.results }}"
|
||||
- "{{ raw_journal_devices }}"
|
||||
- "{{ raw_journal_devices|default([])|unique }}"
|
||||
changed_when: false
|
||||
when:
|
||||
- raw_multi_journal
|
||||
|
|
Loading…
Reference in New Issue