So far I'ved done the following:
set the following in my local-configure.yml
plone_version =5.0
plone_major_version = 5.0
Customized roles/plone.plone_server/templates/addPloneSite.py.j2
I removed reference to the sunburst and classic theme which don't exist for Plone 5 and therefore broke the installation.
default_extension_profiles = (
'plonetheme.classic:default',
'plonetheme.sunburst:default',
{% if plone_extension_profiles %}
In my
roles/plone.plone_server/files/zeocluster/ folder I did the following:
replace the bootstrap.py with one from here: https://raw.githubusercontent.com/plone/buildout.coredev/5.0/bootstrap.py
I also replaced the versions.cfg with the one from: http://dist.plone.org/release/5.0/versions.cfg
Finally I had to edit roles/plone.plone_server/templates/buildout.cfg.j2 which was pinning setuptools to 7.x so I changed that line to read:
setuptools =
Now when I run:
ansible-playbook -i myhost.cfg playbook.yml
I get the following output:
www.mysite.com : ok=76 changed=6 unreachable=0 failed=0
But when I attempt to visit the Plone site I get the following error:
Site Error
An error was encountered while publishing this resource.
Resource not found
Sorry, the requested resource does not exist.Check the URL and try again.
Resource: Plone GET
Troubleshooting Suggestions
- The URL may be incorrect.
- The parameters passed to this resource may be incorrect.
- A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your patience.
So it seems that it is failing on the roles/plone.plone_server/templates/addPloneSite.py.j2 script.