adfinis-sygroup.grub

GitHub Readme

========== ROLE GRUB ==========

.. image:: https://img.shields.io/github/license/adfinis-sygroup/ansible-role-grub.svg?style=flat-square :target: https://github.com/adfinis-sygroup/ansible-role-grub/blob/master/LICENSE

.. image:: https://img.shields.io/travis/adfinis-sygroup/ansible-role-grub.svg?style=flat-square :target: https://github.com/adfinis-sygroup/ansible-role-grub

.. image:: https://img.shields.io/badge/galaxy-adfinis--sygroup.grub-660198.svg?style=flat-square :target: https://galaxy.ansible.com/adfinis-sygroup/grub

This role helps manage GRUB settings easily.

Requirements

List any necessary tools or packages that are not included with Ansible or this role. For example, if you're using the EC2 module, make sure to mention that you need the boto package.

Role Variables

Here are the settings you can configure for GRUB:

Start GRUB and Linux on these consoles:

.. code-block:: YAML

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

GRUB serial command settings:

.. code-block:: YAML

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

Time GRUB waits (in seconds):

.. code-block:: YAML

grub_timeout: 5

Disable predictable network interface names:

.. code-block:: YAML

grub_disable_network_predictable_interface_names: True

Additional command line arguments (list type):

.. code-block:: YAML

grub_cmdline_linux_list: []

Default additional command line arguments (list type):

.. code-block:: YAML

grub_cmdline_linux_default_list: [ ]

Here’s an example of how to add extra parameters to the kernel:

.. code-block:: YAML

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

List other roles available on Galaxy that work with this role, and note any required parameters or variables from those roles.

Example Playbook

Here’s a simple example of how to use this role, with variables included:

.. code-block:: yaml

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

License

This role is licensed under GPL-3.0 <https://github.com/adfinis-sygroup/ansible-role-grub/blob/master/LICENSE>_

Author Information

This GRUB role was created by:

  • Adfinis SyGroup AG | Website <https://www.adfinis-sygroup.ch/>_ | Twitter <https://twitter.com/adfinissygroup>_ | GitHub <https://github.com/adfinis-sygroup>_
Informazioni sul progetto

Install and manage grub2

Installa
ansible-galaxy install adfinis-sygroup.grub
Licenza
gpl-3.0
Download
6.4k
Proprietario
Adfinis SyGroup was rebranded to Adfinis, follow the link below: