Ansible Playbooks for Alfresco Content Services

cancel
Showing results for 
Search instead for 
Did you mean: 

Ansible Playbooks for Alfresco Content Services

parapadakis
Active Member II
6 16 5,915

 

Screenshot 2020-08-11 at 15.49.59.pngAs some of you know, with the move to support containerised deployments in version 6.0 onwards, the standard Alfresco installer was removed in favour of Helm charts (which we are currently upgrading to Helm 3 and support for Kubernetes 1.16+) and Docker Compose scripts.

For non-containerised installations, the ZIP distribution is available, which requires a manual installation process.

As part of a larger scale review of our installation & deployment strategy across the Alfresco portfolio, we are developing a set of configurable Ansible Playbooks, specifically to simplify installation for customers with non-containerised environments, such as bare-metal, Cloud VMs (i.e. AWS EC2 or Azure VM), and VMware. In terms of components, it will include everything that is currently provided with the Docker Compose script.

Our aim is to create a fairly universal and easily configurable Ansible Playbook, which can be used to support new deployments for Alfresco Content Services 6.x, 7.x (when available) and Community Edition. We will share an updated post when these are availble to review.

Once this Playbook is stable for new installations, the next step is to look at using Ansible to support upgrades, and then build up Playbooks for the rest of the portfolio, as well as bringing Packer and Terraform into the picture for cloud deployments.

If you have any specific thoughts on this, or if are already using Ansible to deploy ACS into non-containerised environments, we'd be very pleased to hear from you.

16 Comments
Giuliano
Active Member II

May I ask if the Ansible files are the following:

https://github.com/jpotts/ansible-alfresco

 

BR

parapadakis
Active Member II

Hi @Giuliano. No, that project is kindly shared by @jpotts based on his own Ansible playbooks.

The official Alfresco Ansible playbooks are currently being tested and will be available around mid-March. I will post an update here with the link, once they are released.

Regards

George

jpmmahon
Member II

Hi

How is the project going. You had hoped to be finished by Mid March which is very close.

Thanks

John

 

parapadakis
Active Member II

Hi John, we are still targetting the same dates. I will post a new blog and an update here as soon as it's released.

Regards, George

Vincent_D
Member II

Hi ! Any update on that ? We need to deploy Alfresco for a new project and we were hoping to avoid the long task of developpoing deployment scripts from scratch :-)

Thanks in advance.

 

Regards,

Vincent

oounoughi
Established Member
HI @parapadakis, Is the future playbook aimed to be used for Windows OS ? Regards, Omar
parapadakis
Active Member II

Hello everyone. The Ansible playbook for ACS is now available. Please find additional information here.

Best Regards

George Parapadakis

parapadakis
Active Member II

Hi @oounoughi . This first release of the playbook is only targetting Linux installations. Depending on the demand for Windows deployment and the capabilities of Ansible, we will be looking to add Windows target platforms in the future.

Regards

George

jpmmahon
Member II

George

 

I was very happy to see that the ansible approach had been released but disappointed to see that it seems to only work on CentOS and Redhat. How difficult is it to modify the playbooks to work on Ubuntu or Mint?

 

Thanks

John

 

denapoli
Member II

Hello, when is the Ubuntu playbook will be released?

Thanks.

EddieMay
Alfresco Employee

Hi @denapoli 

While I don't have a definitive timeline for a release I can say it's being worked on at this moment.

Granitize
Customer

@parapadakis 

Good stuff,

Thanks for your work.

Any time line on a playbook for Ubuntu?..

Specifically Ubuntu 20.04?

 

EddieMay
Alfresco Employee

@Granitize 

It's already in Master 18 & 20, and will be in1.1 release - but you can already use it from master.

HTH

Granitize
Customer

Nice!

How/where can I test / contribute / get some help :-)

I get this:

fatal: [activemq_1]: FAILED! => {"changed": false, "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service                enabled         enabled      "}

 

Granitize
Customer

Might not be the best spot to report this...

The error may resolve is a newer version of ansible is installed.

See https://github.com/ansible/ansible/issues/68536

sergiuvidrascu
Member II

Hi @Granitize, this is working in our test builds with 2.9.18 on master branch. Please post an issue on the repo if any other issue arrises. Thank you very much Smiley Happy