{"action":"closed","issue":{"url":"https://api.github.com/repos/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins/issues/2","repository_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins","labels_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins/issues/2/comments","events_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins/issues/2/events","html_url":"https://github.com/CSC-IT-Center-for-Science/ansible-role-nrpe-plugins/issues/2","id":140192686,"number":2,"title":"Does not handle restarting of nrpe on changes","user":{"login":"rlaurika","id":5939676,"avatar_url":"https://avatars.githubusercontent.com/u/5939676?v=3","gravatar_id":"","url":"https://api.github.com/users/rlaurika","html_url":"https://github.com/rlaurika","followers_url":"https://api.github.com/users/rlaurika/followers","following_url":"https://api.github.com/users/rlaurika/following{/other_user}","gists_url":"https://api.github.com/users/rlaurika/gists{/gist_id}","starred_url":"https://api.github.com/users/rlaurika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlaurika/subscriptions","organizations_url":"https://api.github.com/users/rlaurika/orgs","repos_url":"https://api.github.com/users/rlaurika/repos","events_url":"https://api.github.com/users/rlaurika/events{/privacy}","received_events_url":"https://api.github.com/users/rlaurika/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-11T14:09:31Z","updated_at":"2016-06-28T10:26:36Z","closed_at":"2016-06-28T10:26:36Z","body":"If I deploy new checks using this role, those new checks won't be available through the nrpe daemon initially because this role doesn't handle refreshing that daemon. I could also call this role before calling the main nrpe role, but then this role would fail if the correct directories are not yet in place, right?\r\n\r\nThings do work correctly on the first go if you first call the nrpe role and then this role, as then the handler for restarting nrpe will be run after this role has deployed plugins. But when you make subsequent changes that only affect plugins deployed using this role then this issue happens.\r\n\r\nI'm not sure what the best way to handle this would be. The easiest way would be to add a handler in this role as well for refreshing nrpe, but then you would have that handler in two places. Another option might be to combine the two roles?"}}
{"actor":{"display_login":"martbhell"}}