Skip to content
Snippets Groups Projects
Select Git revision
  • f3d2eb5f607e76f0984bf70a585c63ebf2c95f05
  • master default protected
2 results

base-linux

Chris's avatar
Chris Coley authored and Chris Coley committed
f3d2eb5f
History
Name Last commit Last update
defaults
meta
tasks
LICENSE.md
README.md

Base Linux

This role does bootstrapping and common configuration for a base Linux server.

Requirements

Ansible 2.4 or later.

Role Variables

Variable Default Purpose
hostname The hostname to set on the server. If blank or undefined, the hostname will not be changed.
required_utils [] Additional prerequisites required for Ansible, modules, etc.
common_utils [curl, git, gzip, htop, screen, unzip, vim] Common packages and utilities to install.

OS specific variable overrides will be read from the vars/ directory. The first OS specific var file found will be loaded, and they are queried in descending order by specificity. For example, Ubuntu would check files in this order:

  1. ubuntu-18.04.yml # Distribution name + full version number
  2. ubuntu-bionic.yml # Distribution name + release name
  3. ubuntu-18.yml # Distribution name + major version number
  4. ubuntu.yml # Distribution name
  5. debian.yml # OS family name