TechDufus / FluxNodeInstall

Install a RunOnFlux Node with 100% Ansible.
MIT License
8 stars 4 forks source link

Creating a more robust nvm-purge. #75

Closed TechDufus closed 9 months ago

TechDufus commented 9 months ago

This is to prep for future functionality to upgrade nvm/node versions in the future, or upgrade when running FluxNodeInstall against a previously non-ansible managed FluxNode (node started with multitoolbox only).

This pull request introduces changes to the roles and tasks related to the daemon and nvm. The most important changes include the addition of new tasks for starting and stopping the daemon service, modifications to the nvm installation task to install a specific version of Node, and the addition of tasks to stop Flux via PM2 and stop the Daemon.

Summary of changes:

TechDufus commented 9 months ago

Merging because i want to test more on stream. Sorry @JKTUNING