We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da7e837 + 3e25167 commit 5c7e56bCopy full SHA for 5c7e56b
etc/kayobe/ansible/growroot.yml
@@ -77,7 +77,7 @@
77
vars:
78
pv: "{{ pvs.stdout | from_json }}"
79
disk_tmp: "{{ pv.report[0].pv[0].pv_name[:-1] }}"
80
- disk: "{{ disk_tmp[:-1] if disk_tmp[-1] == 'p' else disk_tmp }}"
+ disk: "{{ disk_tmp[:-1] if disk_tmp[-1] == 'p' and disk_tmp[:4] == 'nvme' else disk_tmp }}"
81
part_num: "{{ pv.report[0].pv[0].pv_name[-1] }}"
82
become: true
83
failed_when: "growpart.rc != 0 and 'NOCHANGE' not in growpart.stdout"
releasenotes/notes/fix-growroot-playbook-6a8ee02d7c0fbcb3.yaml
@@ -0,0 +1,6 @@
1
+---
2
+fixes:
3
+ - |
4
+ Fixes an issue with the growroot playbook where disks such as 'sdp' would
5
+ become 'sd' due to the removal of the trailing 'p' when dealing with nvme
6
+ devices.
0 commit comments