Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.65 KB

README.md

File metadata and controls

62 lines (40 loc) · 2.65 KB

Ansible Role: common

License GitHub release Website Build Status

Description

Install and configures directory structure and required packages on RedHat/CentOS and Debian/Ubuntu

Requirements

  • Ansible >=2.3
  • EPEL Repo for RedHat/CentOS

Role Variables

All variables which can be overridden are stored in vars/main.yml file as well as in table below.

Name Default Value Description
data_dir /data Creates a data directory
apps_dir /apps Creates a application installation directory
apt_libraries_utilities ntp, lsof, wget, zip,
python-software-properties,
unzip,
build-essentials
Install the list of packages needed for Debian/Ubuntu family VM's, add them as named variables
yum_libraries_utilities ntp, lsof, wget, dkms,
kernel-devel,
kernel-tools,
zip,
unzip,
iptables-services,
policycoreutils-python,
build-essentials
Install the list of packages needed for RedHat/CentOS family VM's, add them as named variables

Example

Playbook

Just install Libraries and utilities

- hosts: all
  become: yes
  gather_facts: yes
  roles:
    - role: common

License

Licensed under the Apache License V2.0. See the LICENSE file for details.

Author Information

You can find me on Twitter: @skydevops

Contributors