thbe.rhel
Ansible Role thbe-rhel
This role sets up and configures basic settings on a RHEL system or a clone of RHEL.
Requirements
To make the most of this role, you need to be registered with RHN and have at least a standard RHEL subscription.
Role Variables
- role_directory - The main path for the directories used by thbe roles (do not change!)
- net_manage - Manage local network (default: false)
- net_mtu - Set the MTU size (default: 1500)
- net_connection_prefix - Prefix for network connection names (default: 'System ')
- net_interface - Name of the network interface (default: 'eth0')
- net_hostname_primary - Primary hostname (default: not defined)
- net_hostname_secondary - Secondary hostname/alias (default: not defined)
- net_ip_primary - Primary IP address (default: not defined)
- net_ip_secondary - Secondary IP address (default: not defined)
- net_route_1 - Additional route 1 (default: not defined)
- net_route_2 - Additional route 2 (default: not defined)
- net_gw - Default gateway (default: not defined)
- net_packages - List of packages needed for NetworkManager
- fw_manage - Manage local firewall (default: true)
- cockpit_packages - List of packages needed for Cockpit
- nfs_manage - Manage local NFS (default: false)
- nfs_packages - List of packages needed for NFS
- nfs_server - Manage local NFS server (default: false)
- ansible_manage - Manage Ansible deployment (default: false)
- rhn_manage - Manage RHN subscriptions (default: false)
- rhn_organization_id - RHN organization ID (default: 'unset')
- rhn_activation_key - RHN activation key (default: 'unset')
- rhel_release_version - Fixed RHEL release version (default: 'latest')
- rhel_kernel_version - Fixed RHEL kernel version (default: 'latest')
- rhel_repos_8 - List of standard RHEL 8 repositories
- rhel_repos_9 - List of standard RHEL 9 repositories
- rhel_packages_common - List of standard RHEL packages
- rhel_packages_8 - List of standard packages for RHEL 8 only
- rhel_packages_rhn - List of standard packages for RHN only
- external_repos_epel - Enables the EPEL repository (default: false)
Dependencies
This role depends on:
- thbe.common
Example Playbook
You can include this role in the site.yml like this:
# Site playbook
- name: Ansible playbooks for all nodes
hosts: all
collections:
- ansible.posix
- community.general
gather_facts: true
tasks:
- name: "Include thbe.common"
ansible.builtin.include_role:
name: "thbe.common"
- name: "Include thbe.rhel"
ansible.builtin.include_role:
name: "thbe.rhel"
vars:
external_repos_epel: true
License
GPL-3.0-only
Author Information
Thomas Bendler - https://www.thbe.org/
Informazioni sul progetto
This role deploy RHEL specific settings/ tools to a freshly installed machine
Installa
ansible-galaxy install thbe.rhel
Licenza
gpl-3.0
Download
785
Proprietario
Professional hobbyist