Skip to content
Snippets Groups Projects

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

Closed Pullyvan Krishnamoorthy requested to merge fixdevicenotfound into master
1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
+ 10
0
@@ -36,6 +36,15 @@
state: unmounted
ignore_errors: yes
- 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 }}"
@@ -43,6 +52,7 @@
state: present
fs_type: "{{ fstype }}"
label: gpt
ignore_errors: yes
- name: Create a filesystem on device
community.general.filesystem:
Loading