This project help DevOps teams to configure Mautic installation on EC2 servers, it automates the process of creation with a single ansible playbook
- This project assume you are using AWS EC2 using Ubuntu 22.04.
- You need to provide
key.pem
which the deployment key for your server - It installs Mautic using
git
so you will need to providegit
repo
You need to have Ansible
installed on your machine
You also need to add
ansible-galaxy collection install community.general community.general.apache2_module
ansible-galaxy collection install community.mysql
In order to use this playbook you need to do the following:
-
Make a copy of
vars.example.yaml
and provide details about your configuration, some vars are already configured for you -
In folder
roles/mautic/templates/home/ubuntu/.ssh
add your deployment key inside the filegithub_deploy.pem.j2
this key will be used to dogit clone
-
In
hosts
file insert the IP/domain of your server -
Run the play book either by tags or as a whole
ansible-playbook -v playbook.yaml -i hosts
ansible-playbook -v playbook.yaml -i hosts --tags="install_mautic"
- init
- apache
- fpm
- site
- mautic
- install
- crons
- create_db
- create_user
- make_local
- install_mautic
Contributions are always welcome!
Please make a PR with the changes you wish to see