This tutorial explains how to deploy a Java-based WAR package stored on Nexus Repository Manager to a virtual machine running on AWS EC2 using Ansible playbooks.
This document assumes you're familiar with the following concepts:
- Nexus Repository Quick Start
- AWS EC2
- Ansible Playbooks
- Ansible maven_artifact module
- Ansible shell module
- Ansible copy module
The best way to get started is to install Ansible on your local machine, and run your playbook manually. Follow the instructions in this blog to achieve this workflow. Once you understand the mechanics of it, you should consider automating your workflow by following our documentation on Automated deployment of a JAR/WAR package from Nexus to AWS using Ansible.