Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikepruett3/ansible-role-grub-security
Ansible role to configure Grub2 boot loader security settings on Linux Servers.
https://github.com/mikepruett3/ansible-role-grub-security
Last synced: about 1 month ago
JSON representation
Ansible role to configure Grub2 boot loader security settings on Linux Servers.
- Host: GitHub
- URL: https://github.com/mikepruett3/ansible-role-grub-security
- Owner: mikepruett3
- License: mit
- Created: 2022-08-01T16:44:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T18:56:55.000Z (7 months ago)
- Last Synced: 2024-05-22T01:16:45.297Z (7 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Grub2 Boot Loader Settings
=========Ansible role to configure Grub2 boot loader security settings on Linux Servers.
Requirements
------------The role does not require anything to run on RHEL and its derivatives.
Role Variables
--------------Available variables are listed below, along with default values (see ```defaults/main.yml```):
``` yaml
grub_pass: "grub.pbkdf2.sha512.00000.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
grub_timeout: "10"
enable_apparmor: True
``````grub_pass``` **(Required)** The encrypted password to assign to the Grub Bootloader. Made using grub-mkpasswd-pbkdf2.
```grub_timeout``` **(Required)** The ammount (in seconds) to display the Grub Boot Menu on startup.
```enable_apparmor``` **(Required)** If AppArmor is installed, this switch (True or False) will configure AppArmor to start at boot.
Role variables can be stored with the ```hosts.yaml``` file, or in the main variables file.
Dependencies
------------None.
Example Playbook
----------------``` yaml
- hosts: servers
roles:
- role: mikepruett3.grub-security
```License
-------MIT
Author Information
------------------Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-grub-security)