Git Product home page Git Product logo

monarx_agent_role's Introduction

Monarx Agent Role

Ansible role to configure and install Monarx Agent and Monarx cPanel/WHM Plugins (where applicable).

Tested on:

  • AlmaLinux 9 / Rocky Linux 9 / CloudLinux 9
  • CentOS 8 / AlmaLinux 8 / Rocky Linux 8 / CloudLinux 8
  • CentOS 7 / CloudLinux 7
  • Ubuntu 23 (Lunar Lobster)
  • Ubuntu 22 (Jammy Jellyfish)
  • Ubuntu 20 (Focal Fossa)
  • Ubuntu 18 (Bionic Beaver)
  • Ubuntu 16 (Xenial Xerus)
  • Debian 10 (Buster)
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)

Requirements

None

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

client_id: "CLIENTID" # Required - Monarx API Client ID
client_secret: "SECRET" # Required - Monarx API Client Secret

The client_id and client_secret variables are required to register the Monarx Agent with the administration dashboard

The following variables are optional and can be used to customize the agent, if not provided, the default values are used:

user_bases: # Optional - Base Directory(-ies) for Users
  - /home/
  - /var/www/
exclude_dirs: # Optional - Excluded directories
  - /virtfs
  - /(clam_|\.)?quarantine
  - ^/home/quarantine/
exclude_users: # Optional - Excluded users
  - ^virtfs$
advanced_options: # Optional - Advanced Options
  - { name: "quarantine.global", value: "/var/log/.quarantine/" }
  - { name: "quarantine.user", value: "$USER/.quarantine/ $USER $USER 0700" }
agent_tags: # Optional - Agent Tafs
  - tag1
  - tag2

The following variables indicate whether you want to install the cPanel and WHM Plugins. if set to true, the playbook would check if cPanel is installed before attempting to install the plugins:

install_cpanel_plugin: true # Optional - Install cPanel Plugin
install_whm_plugin: true # Optional - Install WHM Plugin

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - { role: libyanspider.monarx_agent, client_id: "MYCLIENTID", client_secret: "MYSECRET", agent_tags: [upsell, vps] }

License

BSD

Author Information

Ahmed Shibani (#shumbashi) [email protected].

monarx_agent_role's People

Contributors

shumbashi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.