This project provides an Ansible playbook capable of deploying Alfresco Content Services (ACS).
Ansible is an open-source software provisioning, configuration management and application-deployment tool enabling infrastructure as code.
A user runs a playbook that deploys to any number of hosts as shown in the diagram below.
- Nexus credentials for https://artifacts.alfresco.com
Please refer to the Documentation for an overview of the project and the playbook or go directly to the deployment guide to learn how to run the playbook.
The code in this repository is released under the Apache License, see the LICENSE file for details.
Please use this guide to make a contribution to the project and information to report any issues.
The roles developed for this playbook are tested with Molecule.
You can run test for each role by entering the role folder and running molecule test
:
cd roles/activemq
molecule test
On the root folder there is a molecule scenario to run the entire playbook on EC2 instances with different operating systems.
Some environment variables are required to execute integration tests locally, please take a look at the .envrc file.
To have environment variables automatically loaded when entering the project folder on your machine, you may want to install direnv.
Scenario-specific variables are defined in the vars-scenario.yml
files inside the molecule/default
folder.
To run an integration test you need execute molecule with -e molecule/default/vars-scenario.yml
parameter:
molecule -e molecule/default/vars-rhel8.yml test