/ansible-magento2

Ansible Playbook for Magento 2

Apache License 2.0Apache-2.0

ansible-magento2

N|Solid

This is an Ansible playbook to install Magento 2 Open Source on a single server using Amazon Linux. Follow the steps below to get it all set up!

Requirements

Installation

All variables are inside group_vars/all.yml and I added as many comments as possible so you can edit as you like.

Edit file hosts.yml, add the AWS EC2 public IP by replacing AWS_IP with the IP.

After editing the files, you can run the command:

ansible-playbook -i hosts.yml ansible-magento2.yml -k -vvv --private-key ~/.ssh/id_rsa --become

It should take 5 to 10 minutes depending on the size of the instance.

That should be it. Have fun with your Magento 2 installation.