All Projects → plone → Ansible Playbook

plone / Ansible Playbook

An Ansible playbook for automated deployment of full-stack Plone servers.

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to Ansible Playbook

Vue Leaflet
vue-leaflet compatible with vue3
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Acex
ACE3 Extra misc modules and components
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
C
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
Stars: ✭ 11,897 (+14408.54%)
Mutual labels:  hacktoberfest
Shlink Web Client
A React-based client application for Shlink
Stars: ✭ 81 (-1.22%)
Mutual labels:  hacktoberfest
Doctor Command
Diagnose problems within WordPress by running a series of checks for symptoms
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
React Native Merlin
🧙 Simple web-like forms in react native.
Stars: ✭ 83 (+1.22%)
Mutual labels:  hacktoberfest
Passwd
A beautiful, cross-platform, encrypted password manager 🔐
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Node Mongodb Fixtures
🍏 Setup and tear down test fixtures with MongoDB.
Stars: ✭ 83 (+1.22%)
Mutual labels:  hacktoberfest
Docker Mycroft
Mycroft Development Environment inside Docker!
Stars: ✭ 81 (-1.22%)
Mutual labels:  hacktoberfest
Bioconda Recipes
Conda recipes for the bioconda channel.
Stars: ✭ 1,247 (+1420.73%)
Mutual labels:  hacktoberfest
Fab Speed Dial
Angular Material FAB speed dial
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Graphql Doctrine
Automatic GraphQL types from Doctrine entities
Stars: ✭ 81 (-1.22%)
Mutual labels:  hacktoberfest
Free Certifications
Curated list of free courses & certifications
Stars: ✭ 1,241 (+1413.41%)
Mutual labels:  hacktoberfest
Binari
Interactive code editor with a live binary tree visual designed to teach new developers the fundamentals of dynamic programming.
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Eleventy
A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.
Stars: ✭ 10,867 (+13152.44%)
Mutual labels:  hacktoberfest
React Builder
⚙ A GUI tool to build your react app in the fastest way with all components and pages with routing.
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Avro Builder
Ruby DSL to create Avro schemas
Stars: ✭ 82 (+0%)
Mutual labels:  hacktoberfest
Fog Google
Fog for Google Cloud Platform
Stars: ✭ 83 (+1.22%)
Mutual labels:  hacktoberfest
Wiki
Archive of free60.org mediawiki
Stars: ✭ 83 (+1.22%)
Mutual labels:  hacktoberfest
Monday
⚡️ A dev tool for microservice developers to run local applications and/or forward others from/to Kubernetes SSH or TCP
Stars: ✭ 1,246 (+1419.51%)
Mutual labels:  hacktoberfest

====================== Plone Ansible playbook

.. admonition:: Description

Use Ansible to provision a full-stack Plone server

.. warning::

**Before you update***: If you're using version 1.2.x, you should note that version 1.3.0+ sets up client monitors for each ZEO client.
These monitors will use the client port + 100.
haproxy will use these monitor ports as a mechanism to check ZEO client status without using an http thread.
See ``tcpcheck`` variables in the documentation for plone setup if you wish to alter or turn off this feature.

Introduction

Plone's Ansible Playbook can completely provision a remote server to run the full stack of Plone, including:

  • Plone in a cluster configuration;

  • Automatic starting and process control of the Plone cluster with supervisor <http://supervisord.org>_;

  • Load balancing of the cluster with HAProxy <http://www.haproxy.org/>_;

  • Caching with Varnish <https://www.varnish-cache.org/>_;

  • Nginx <http://wiki.nginx.org/Main>_ as a world-facing remote proxy and URL rewrite engine;

  • An outgoing-mail-only mail server using Postfix <http://www.postfix.org/>_;

  • Monitoring and log analysis with munin-node <http://munin-monitoring.org/>_ and logwatch <http://linuxcommand.org/man_pages/logwatch8.html>_ and fail2ban <http://www.fail2ban.org/wiki/index.php/Main_Page>_.

  • Use of a local VirtualBox <https://www.virtualbox.org/>_ provisioned via vagrant <https://www.vagrantup.com/>_ to test and model your remote server.

An ansible playbook and roles describe the desired condition of the server. The playbook is used both for initial provisioning and for updating.

We generally support relatively current CentOS and Debian/Ubuntu environments. Versions currently supported are Ubuntu 18.04 (Bionic) LTS, 16.0.4 (Xenial) LTS, Ubuntu 15, Debian jessie, Debian stretch, and CentOS 7.

See the docs subdirectory or readthedocs <http://plone-ansible-playbook.readthedocs.org/en/latest/>_ for complete documentation.

Detailed, tutorial-style documentation with lots of real-life examples is available at the Plone Training <https://training.plone.org/5/deployment/index.html>_ site.

TL;DR ^^^^^

  1. Install a current version of Ansible (use virtualenv and pip -- not your OS package manager);

  2. If you wish to test locally, install Vagrant and VirtualBox;

  3. Check out or download a copy of the STABLE branch of this package <https://github.com/plone/ansible-playbook>_;

  4. Run ansible-galaxy install -r requirements.yml to install required roles;

  5. Copy one of the sample*.yml files to local-configure.yml and edit as needed.

  6. To test in a local virtual machine, run vagrant up or vagrant provision;

  7. To deploy, create an Ansible inventory file <http://docs.ansible.com/ansible/latest/intro_inventory.html>_ for the remote host and run ansible-playbook -K -i myhost.cfg playbook.yml (-K prompts for the sudo password on the remote host)

  8. Set a real password for your Plone instance on the target server;

  9. Set up appropriate firewalls.

.. warning::

**Python required:** Ansible requires that the target server have a recent Python 2.x on the server. Newer platforms (like Ubuntu Xenial and later) may not have this activated on pristine new machines.

If you get connection errors from Ansible, check the remote machine to make sure Python 2.7 is available.
``which python2.7`` will let you know.
If it's missing, use your package manager to install it.

On Ubuntu Xenial and Bionic (16.0.4 LTS), ``sudo apt-get install -y python`` will do the trick.

**sshpass**: You may need to install ``sshpass`` on the host machine to manage sending passwords to the remote machine over ssh. ``sudo apt-get install sshpass`` will do the trick in the Debian universe.

License

BSD-3-Clause

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].