Skip to content

Installs and configures custom directory structure and packages

License

Notifications You must be signed in to change notification settings

5KYDEV0P5/common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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