Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensures that the update of PM2 occurs right after install #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xcambar
Copy link

@xcambar xcambar commented Aug 3, 2017

closes #19

The issue in #19 is that in Ansible, handlers are called once all the tasks are finished.
But for some reason, the update should occur before the service is started.

This PR updates PM2 right after it is installed, by replacing the notification with an explicit task.
The handler is left untouched, as it could be used by other tasks, somewhere.

@franklinkim
Copy link
Member

see comment on #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PM2 won't start at initial deploy
2 participants