NodeJs Test website with Ansible.
macOS: Sonoma 14.1.1
Vagrant Box: bento-rockylinux-9-aarch64
Parallels: 19.1.1
ATTENTION
- If you are using bento-rockylinux-9-aarch64, remember to install firstly nodejs package (dnf) to use npm command in the future.
- remote_src works only on EXTERNAL ENVIRONMENT, if you are using virtual machine like me, leave it. (remote_scr=false default value)
- Use physical path to copy files from your local machine, or u can add variable with your file path and use it this way.
- Remember to specify good path to start node.js app
-- Links --
https://github.com/geerlingguy/ansible-for-devops/tree/master
2nd edition of Ansible for DevOps Jeff Geerling