DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Deploying a Node.js app using Ansible

3 years ago sagar-gadewar.medium.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Playbooks are one of the core features of Ansible and tell Ansible what to execute. They are like a to-do list for Ansible that contains a list of tasks.Module: Basically, a module is a command or set of similar Ansible commands meant to be executed on the client-sideTask: A task is a section that consists of a single procedure to be completedInventory: File containing data about the ansible client servers. Intention of this blog is not to tell you how to deploy node application on server.

I am trying to share my experience that might help you to get familiarity with some amazing ansible modules like git, npm, file etc.

If you are not fan of git clone on EC2 you could locally build your node app and copy to remote server create nginx configuration file

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com