Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Steve's Blog / Plone's Ansible Playbook: What's New

Plone's Ansible Playbook: What's New

Posted by Steve McMahon at Dec 14, 2015 05:55 AM |
Filed under:
Multiple Zope/Plone instances, vivid & jessie compatibility, VCL 4.
Plone's Ansible Playbook: What's New

Decorative element :)

Just a quick post on recent updates to Plone's Ansible Playbook.

Multiple Instances

You may now deploy multiple Zope/Plone instances to the same server with the same playbook. You can even have some Plone 4 instances and some Plone 5. See the multiserver example for a quick introduction.

Note, if you're updating from an earlier version of the playbook: adding this facility required some fiddling with the supervisor setup. When you do the update, it will be best to stop supervisor and remove all the playbook-installed cfg files from supervisor's /etc/supervisor/conf.d directory. Then run the new playbook.

Vivid & Jessie

Our main target is Ubuntu's latest LTS release (and the matching Debian release). That's currently Ubuntu 14.04 (Tasty) and Debian 7.9 (Wheezy). For those who like living in a slightly faster lane, the playbook now also will install to Ubuntu 15.04 (Vivid) and Debian 8.2 (Jessie).

VCL 4

If you're running servers with vivid or jessie, you probably know that their package kit includes Varnish 4.x, which has a slightly incompatible (from 3.x) version of Varnish Control Language. The playbook has been updated to install a VCL 4.0 setup when appropriate. It also detects the systemd setup and updates it rather than the init.d setup file.

Tests!

Getting all this working right required a new testing mechanism that could handle multiple vagrant boxes. It now sets up and tests eight virtual boxes, 2 for each target distribution.

CentOS

The playbook still only supports the .deb world. However, the plone_server role now supports some versions of CentOS thanks to the work of Juan Pablo Gimenez. You'll need to write your own playbook, but Juan Pablo's done the hard part.