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
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -26,7 +26,7 @@
- name: "Check if {{ devpart }} exists"
stat:
path: "{{ dev }}"
path: "{{ devpart }}"
register: devpart_exist
- name: "Unmount a {{ mount }} mounted volume"
@@ -42,7 +42,7 @@
state: absent
fs_type: "{{ fstype }}"
label: gpt
when: devpart_exist.stat.islnk is defined
when: device_exist.stat.islnk is defined
- name: "Check if {{ devpart }} exists"
stat:
Loading