|
Question
|
Answer
|
|
What tools are best used for pipeline and IaS?
|
Ansible does not care where your servers are running. They can be on-premises or on any cloud provider.
|
|
Is there an open source Ansible playbook sample avaliable ? For Linux ? For Windows ?
|
Yes, the playbooks and tasks I've set up to do installation and configuration management for a base installation of either Enterprise or Community are available here: https://github.com/jpotts/ansible-alfresco
|
|
Video quality is very poor.
|
I will record my demo and post it on YouTube.
|
|
Do we need to worry about the differences between Ansible and Ansible Tower?- any changes to the language or deployment approach? - How would you tie this into an infrastructure deployment ?
|
Ansible is the command line tool that runs the playbooks. Ansible Tower is a web application that can be used to help teams execute playbooks from a GUI rather than only from the command line. If you decide to use Ansible Tower any playbooks you created with Ansible will still function as-is, as far as I know.
|
|
Which installation you recommend if I want to go production with a client today and "on premis"? Docker-compose, K8s, Ansible or Zip? Can you answer for both requirements HA with cluster or a single installation. Thx
|
I cannot provide a generic answer to this question because it depends on the people, processes, and technology that the client has in place. If the client is already experienced with Docker and Kubernetes, I would go with Docker and Kubernetes. If they are not, I would go with Ansible.
|
|
What’s the difference between ansible and puppet? - they do similar things?
|
But can be categorized under "IT automation" tools, but beyond that, I am not a Puppet expert so I will differ to others on how they differ from a technical standpoint.
|
|
Would you suggest to use Ansible also to automate backups, log rotation and generic alfresco maintenance?
|
You could use Ansible to automate backups and perform other maintenance tasks. For log rotation I would use something like logrotate.
|
|
Is it compatible with Windows? Is this ansible project supported by alfresco and downloadable? Can it run on Windows?
|
You can use Ansible to manage Windows servers, but you cannot yet run Ansible from a Windows machine, according to the Ansible Windows FAQ (link below). The Ansible project I've linked to is an example project based on what has worked well for my customers. Alfresco does not officially support that project or any community-contributed add-on/extension. However, Alfresco has said that providing supported Ansible playbooks is on their roadmap.
|
|
Would you say that Ansible is better than Chef or Puppet? if so why?
|
I like Ansible better because it does not require me to install anything on any of the servers being managed. However, all tools have trade-offs, and you should consider what works best for your projects given your context.
|
|
How do you deal with files that need to be removed on a rollback?
|
A rollback is not a different action that simply pushing out config. If you have a file that gets updated when you push from one branch and also gets updated when you push from another branch, then no special rollback handling is needed. You simply push config from the appropriate branch. If your playbook creates a new file, then your playbook would need to handle when that file should be present and when it should be absent. It would probably base this decision on a variable. When this is working properly, rolling back is, again, just a matter of running the playbook with the variables set to the desired values.
|
|
Do you also have tested to use ZFS features together with ansible changes to roll back and forward?
|
I have not used ZFS features together with Ansible to manage changes.
|
|
For the testing playbooks, are there unit testing tools you would recommend?
|
I use locally installed Vagrant boxes to test my playbooks. I just bring up the Vagrant boxes, which will be provisioned by Vagrant to be configured as if the box was just handed to me by the infrastructure team, and then I test my playbooks against those boxes. Other than that, I have no specific testing frameworks in mind.
|
|
For the install steps, how do you get the binaries by switching git branches
|
I don't. If I have multiple branches that install different versions of Alfresco, for example, then my files/third-party directory will have all versions of all binaries that I need for those playbooks to run. We do not check binaries into source code control. On some of my clients we have a script that downloads the binaries from various sources prior to running the install playbook. In the example playbook I've provided, it is up to you to gather those manually.
|
|
You can't run on Windows yet (but Ansible does manage Windows hosts)
|
Thanks, that's what I suspected.
|
|
https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html
|
|