Skip to content

Latest commit

 

History

History

common

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Common

Description

The common role is a meta-role that performs base configuration common to all Rocky Linux hosts.

This role pulls in the following roles as dependencies:

Role Description
proxmox_instance Builds a Proxmox VM if host is a member of proxmox_instances
dns_records Creates A, PTR, and CNAME records for the host in FreeIPA
gather_facts Runs the Ansible setup module once the host is reachable.
udev Configures udev rules
root_authorized_keys Sets authorized_keys for the root user
root_password Sets password for the root user
polkit Adds a polkit rule for the specified admin group
grub Configures kernel command line in grub
sudo Configures sudo
hostname Sets the hostname
timezone Sets the timezone
journald Configures systemd journal
yum_disable_default_repos Disables upstream Rocky Linux yum repos
yum Configures internal yum repos
dnsmasq Configures dnsmasq for local DNS caching
locale Sets the locale
selinux Enables SELinux and setroubleshootd
qemu_guest_agent Enables qemu-guest-agent for Proxmox VMs
firewalld Enables local firewall with firewalld
chrony Enables chrony NTP client
dnf_automatic Configures automatic package updates and reboots
ssh Generates global ssh_config
tuned Configures tuned profile
motd Disables cockpit MOTD message
packages Installs common packages
postfix_client Configures postfix client for internal mailserver
freeipa_client Joins host to FreeIPA domain
rsyslog_client Configures rsyslog forwarding to internal syslog server
nagios_client Configures nagios user and plugin scripts

Usage

Example playbook:

- name: apply base configuration
  hosts: all
  roles:
    - common