Skip to content
Snippets Groups Projects

fix crash on creating partition table GPT by adding a ignore_errors condition...

Merged Pullyvan Krishnamoorthy requested to merge fixdevicenotfound2 into master
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
+ 9
0
@@ -49,6 +49,15 @@
path: "{{ dev }}"
register: devpart2_exist
- name: Make nvme visible on /dev/
community.general.parted:
device: "{{ dev }}"
number: 1
state: present
fs_type: "{{ fstype }}"
label: gpt
ignore_errors: yes
- name: Create a new partition on disk
community.general.parted:
device: "{{ dev }}"
Loading