Giter Club home page Giter Club logo

cpanel-ansible's Introduction

cPanel Server Setup Playbook

Ansible Playbook for setting up cPanel/CoudLinux Server. Compatible with CentOS 6 and 7. Works with physical servers, KVM, and OpenVZ Containers.

Included Roles:

  • install-cpanel Installs the latest cPanel version. Requires License but defaults to Trial mode.
  • install-cloudlinux Converts cPanel server to Cloudlinux. Requires IP or Key license or install will fail.
  • install-cloudlinux-cagesfs Installs and initiates CageFS
  • install-cloudlinux-alt-packages Installs all CloudLinux ALT packages including PHP, Ruby, and Python
  • install-configserver-csf Installs CSF and uploads firewall configuration and allowed IPs. Can handle OpenVZ containers.
  • install-configserver-cmc
  • install-configserver-cmm
  • install-configserver-cmq
  • install-configserver-cse
  • install-configserver-cxs Installs ConfigServer eXploit Scanner
  • install-softaculous Installs Softaculous cPanel Plugin
  • install-cloudflare Installs CloudFlare cPanel Plugin
  • install-letsencrypt Installs Let's Encrypt cPanel Plugin
  • install-spamexperts Installs SpamExperts cPanel Plugin
  • install-imunify Installs Imunify360. Requires Key License
  • install-sitepad Installs and configures SitePad Website Builder

Variables & Settings:

General Variables

  • control_panel: 'cPanel' (default: cPanel) Sanity Check, only effective when using Tower/AWX Workflows.
  • is_openvz: false(default: false), Change to true if the target server is OpenVZ Container

CloudLinux Variables

  • cloudlinux_key: (default: Blank) Change to use CloudLinux key based license.

Imunify360 Variables

  • imunify_key: (default: Blank) Change to use Imunify360 key based license.

Plugin Variables

Changing any of he below settings to true will ensure correspoding packages are installed.

  • install_csf: true (default: true)
  • install_cmc: true (default: true)
  • install_cmm: true (default: true)
  • install_cmq: true (default: true)
  • install_cse: true (default: true)
  • install_cxs: false (default: false)
  • install_softaculous: false (default: false)
  • install_cloudflare: false (default: false)
  • install_cloudlinux: false (default: false)
  • install_kernelcare: true (default: true)
  • install_cloudlinux_cagefs: false (default: false)
  • install_cloudlinux_alt: false (default: false)
  • install_letsencrypt: false (default: false)
  • install_spamexperts: false (default: false)
  • install_imunify: false (default: false)
  • install_sitepad: false (default: false)

cPanel Settings

Cloudflare Settings

  • cloudflare_company: (default: Blank) Required to install CloudFlare Plugin
  • cloudflare_mode: extended (default: extended)
  • cloudflare_key: (default: Blank) Required to install CloudFlare Plugin

License

This ansible playbook is licensed under the MIT license; you can find a full copy of the license itself in the file /LICENSE

This playbook is largely based on Lithium Hosting - Ansible cPanel Boostrap

cpanel-ansible's People

Contributors

ashibani avatar darwick avatar shumbashi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cpanel-ansible's Issues

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.