of course lsblk likes to re-order the partitions listed for REASONS
This commit is contained in:
parent
1ed7a30854
commit
ecff8f2050
1 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@
|
|||
item[part_index+1]
|
||||
]
|
||||
}}
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') }}"
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') | sort }}"
|
||||
vars:
|
||||
part_index: 0
|
||||
|
||||
|
@ -117,7 +117,7 @@
|
|||
item[part_index+1]
|
||||
]
|
||||
}}
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') }}"
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') | sort }}"
|
||||
vars:
|
||||
part_index: 1
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
|||
item[part_index+1]
|
||||
]
|
||||
}}
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') }}"
|
||||
loop: "{{ lsblk.results | map(attribute='stdout_lines') | sort }}"
|
||||
vars:
|
||||
part_index: 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue