On Mon, 25 Nov 2013, Gonzalo Servat wrote:
I'm thinking of writing a kernel_arg module to help with modifying kernel
arguments in /boot/grub/menu.lst, but before I do that just wanted to make
sure no such module exists? (I had a look at the Ansible Modules list...
not there)
Ideally I'd like to be able to do something like:
kernel_arg: name={{ item.0 }} value={{ item.1 }} state=present
with_items:
- [ 'splash', 'silent' ] # splash=silent
- [ 'showopts', None ] # this should become just 'showopts'
- [ 'biosdevname', 1 ] # biosdevname=1
- [ 'crashkernel', '' ] # crashkernel=
How are others modifying kernel arguments?
I need the same module, haven't got around it yet.
It is important however to understand that options can be repeated and
that order is important to retain. So it has some similarity to
lineinfile.
--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
--
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].
For more options, visit https://groups.google.com/groups/opt_out.