- boot configuration can be checked using ansible_cmdline.root which is an option passed to grub, device path like /dev/sda6 or search condition like "UUID=xxx".
- when already configured, we can notice it by checking ansible_cmdline.root having UUID= or not
- we can get uuid for mounted device via ansible_mounts[?].uuid (.mount is mount target)
|
|
we may specify to use uuid for one mounted as /boot, but considering possibility to configure all in one partition, it could be better to check current configuration of grub.
|
|
opened PR for check on landfill+@ipmu
|
|
I close this as ansible is not used now.
|
Generated at Sat Feb 10 16:24:17 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.