Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 931 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 931 Bytes

Node.js Role Example

This example is an extension of the Node.js example. Please read through the directions in that example's README to get this example running locally through Vagrant.

The primary difference in this example (as explained in Ansible for DevOps) is that the actual installation of Node.js is done in a new nodejs role.

After running vagrant up, perform the following steps to access the app via a hostname:

  1. Edit your hosts file, adding the line 192.168.55.56 nodejs-role.test so you can connect to the VM.
  2. Open your browser and access http://nodejs-role.test/.

About the Author

This project was created by Jeff Geerling as an example for Ansible for DevOps.