Skip to content

fr34k8/ansible-role-grub

 
 

Repository files navigation

ROLE GRUB

https://img.shields.io/github/license/adfinis-sygroup/ansible-role-grub.svg?style=flat-square https://img.shields.io/travis/adfinis-sygroup/ansible-role-grub.svg?style=flat-square https://img.shields.io/badge/galaxy-adfinis--sygroup.grub-660198.svg?style=flat-square

A brief description of the role goes here.

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

start grub and linux on these consoles

grub_consoles:
  - tty0
  - 'ttyS0,{{ grub_serial.speed }}'

grub serial command settings

grub_serial:
  speed: 115200
  unit: 0
  word: 8
  parity: 0
  stop: 1

grub timeout (in seconds)

grub_timeout: 5

disable predictable network interface names

grub_disable_network_predictable_interface_names: True

additional cmdline arguments type: list

grub_cmdline_linux_list: []

additional cmdline default arguemnts type: list

grub_cmdline_linux_default_list: [ ]

An example how to add additional parameters to the kernel:

grub_cmdline_linux_list:
  - ip=192.0.2.2::192.0.2.1:255.255.255.0:host.example.com:eth0:off
  - vnc
  - vncpassword=password

grub_cmdline_linux_default_list:
  - transparent_hugepage=never
  - numa=off

Dependencies

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: adfinis-sygroup.grub }

License

GPL-3.0

Author Information

grub role was written by:

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%