Install and configures directory structure and required packages on RedHat/CentOS and Debian/Ubuntu
- Ansible >=2.3
- EPEL Repo for RedHat/CentOS
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 |
Just install Libraries and utilities
- hosts: all
become: yes
gather_facts: yes
roles:
- role: common
Licensed under the Apache License V2.0. See the LICENSE file for details.
You can find me on Twitter: @skydevops
- Shashi Yebbare (@skydevops)