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

base-linux

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    defaults
    meta
    tasks
    vars
    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 Varies by OS Additional prerequisites required for Ansible, modules, etc.
    common_utils [curl, git, 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