I usually develop apps in NodeJs or Golang when deploying the app for development and testing I setup a VM (VPS) for that. So I thought it would be nice to it automated. Feel free to to add your tasks too, all PRs are welcomed!. If you don't want a task you can just comment it out in the playbook.yml file.
- Ansible
- VM with SSH access
- Clone this repo
git clone
-
Edit the playbook.yml file to your needs
-
Edit the inventory/host_vars/server-1.yml with your VM IP.
-
Edit the inventory/group_vars/web.yml with your VM ssh user and local keys.
-
Run the playbook
ansible-playbook playbook.yml -i inventory