ansible-lint --fix
This commit is contained in:
parent
5634cd32d3
commit
faa046aa21
21 changed files with 181 additions and 179 deletions
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
- name: Inspect EFI boot partitions
|
||||
become: true
|
||||
command: "blkid {{ item }}"
|
||||
ansible.builtin.command: "blkid {{ item }}"
|
||||
loop: "{{ base_efi_partitions | default([]) }}"
|
||||
register: blkid
|
||||
|
||||
- name: Format EFI partitions fat32
|
||||
command: "mkfs.vfat -v -F 32 -n EFI {{ item.item }}"
|
||||
ansible.builtin.command: "mkfs.vfat -v -F 32 -n EFI {{ item.item }}"
|
||||
loop: "{{ blkid.results | rejectattr('stdout', 'contains', 'TYPE=\"vfat\"') }}"
|
||||
register: mkfs_vfat_efi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue