jpartain89 / ansible-role-install-monit-from-source

Installing Monit from Source (git) through Ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jpartain89.install_monit_from_source

I have chosen to no longer work on this repo myself. My apologies.

Installation of Monit from their Git Repo

Role Variables

There are two sets of variable files I use in this role, one in the defaults directory (which contains the variables that are the easiest for you to override) and a debian.yml file in the vars directory, which are "stickier" variables, so-to-speak (these are usually best left alone).

Here is a list of the variables in the default directory:

# This is where the actual monit program will be installed
monit_executable: '/usr/bin/monit'

# This is used for how often the apt-based tasks will also
# update the cache from the source repo's online.
cache_valid_time_var: 86400

# This is monit's git repo address.
monit_git_repo_http: https://tildeslash@bitbucket.org/tildeslash/monit.git

# This is where the git repo will be cloned to on your destination computer
# This role will actually use the repo to compare version numbers for future
# easy updates.
monit_git_repo_dest: "{{ ansible_env.HOME }}/git/monit"

monit_configure_options: "--enable-optimized"

Example Playbook

- hosts: servers

  roles:
     - jpartain89.install_monit_from_source

License

GPLv3

Author Information

Justin Partain and JPCDI, github.com/jpartain89

About

Installing Monit from Source (git) through Ansible

License:GNU General Public License v3.0


Languages

Language:Shell 52.5%Language:Jinja 26.3%Language:Python 21.2%