aboutsummaryrefslogtreecommitdiffstats
path: root/roles/grub/README.md
blob: b1194205b3bbf1228e0b0af15ead0e1e301fd232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Grub
====

Description
-----------

The `grub` role sets the Grub prompt timeout and the default Linux kernel
command line.

Variables
---------

This role **accepts** the following variables:

Variable       | Default | Description
---------------|---------|------------
`grub_timeout` | 1       | Grub menu timeout (seconds)
`grub_cmdline` |    | Kernel command line

Usage
-----

Example playbook:

````yaml
- name: configure grub bootloader
  hosts: proxmox_instances
  roles:
    - role: grub
      vars:
        grub_timeout: 1
        grub_cmdline: console=ttyS0,115200n8 no_timer_check net.ifnames=0
````