adfinis-sygroup.grub

GitHub Readme

========== 角色 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

角色的简要描述在此处。

要求

在这里列出任何可能没有被 Ansible 自身或该角色覆盖的前提条件。例如,如果该角色使用 EC2 模块,可能好提到在此部分需要 boto 包。

角色变量

在这些控制台上启动 grub 和 linux

.. code-block:: YAML

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

grub 串行命令设置

.. code-block:: YAML

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

grub 超时(以秒为单位)

.. code-block:: YAML

grub_timeout: 5

禁用可预测的网络接口名称

.. code-block:: YAML

grub_disable_network_predictable_interface_names: True

额外的命令行参数 类型:列表

.. code-block:: YAML

grub_cmdline_linux_list: []

额外的命令行默认参数 类型:列表

.. code-block:: YAML

grub_cmdline_linux_default_list: [ ]

添加额外参数到内核的示例:

.. 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

依赖

在这里列出其他在 Galaxy 上托管的角色,以及其他角色可能需要设置的参数或使用的变量的任何细节。

示例剧本

包含如何使用您的角色的示例(例如,作为参数传递的变量)对用户总是很有帮助:

.. code-block:: yaml

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

许可证

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

作者信息

grub 角色由以下人员编写:

  • Adfinis SyGroup AG | 网站 <https://www.adfinis-sygroup.ch/>_ | 推特 <https://twitter.com/adfinissygroup>_ | GitHub <https://github.com/adfinis-sygroup>_
关于项目

Install and manage grub2

安装
ansible-galaxy install adfinis-sygroup.grub
许可证
gpl-3.0
下载
6.4k
拥有者
Adfinis SyGroup was rebranded to Adfinis, follow the link below: