That make sense. I am trying to upgrade grub-pc which then prompts for the
hard drive where / is mounted. When I type in debconf-show grub-pc I get a
number of variables, including "install_devices". I expect this to be
something like /dev/sda or dev/nvme0n1p1, but instead it reads something
similar to "/dev/disk/by-id/ata-LITEONIT_LCS256M6S......
This is what I expected to do with the debconf module:
ansible.builtin.debconf:
name: grub-pc
question: Grub Install devices
value: /dev/nvme0n1p1 (or whatever ansible facts gives me)
vtype: select
Is that correct or do I have to someone figure out the /dev/disk/by-id.....
variable?
On Monday, December 18, 2023 at 12:04:59 PM UTC-5 Brian Coca wrote:
> Sorry, I meant debconf, not dpkg_selections (not sure why I keep
> confusing those), here is an example of me doing the same for
> installing java package.
>
>
> https://github.com/bcoca/ansible-oracle_java7-role/blob/master/tasks/main.yml#L17
>
> --
> ----------
> Brian Coca (he/him/yo)
>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c78add27-0867-4669-b69f-f3a44af260c4n%40googlegroups.com.