This repository is part of the Automating Server Setup - a DigitalOcean Workshop Kit.
TL;DR:
Make sure you have Ansible installed on your control node, which can be your local machine or a remote server dedicated to running Ansible. You'll need one Ubuntu 18.04 server to serve as node / host.
- Clone this repository
- Set up your inventory file - you can use
inventory-example
as base - Adjust values on your
group_vars/all.yml
file - Run the
server-setup.yml
playbook to set up the LEMP server - Run the
laravel-deploy.yml
playbook to deploy the demo Laravel application - Access your server's IP address or hostname to test the setup