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

Only restart Apache2 and Icinga2 when necessary #50

Open
andreasscherbaum opened this issue May 14, 2017 · 1 comment
Open

Only restart Apache2 and Icinga2 when necessary #50

andreasscherbaum opened this issue May 14, 2017 · 1 comment
Assignees

Comments

@andreasscherbaum
Copy link
Contributor

The web2 Playbook restarts Apache2 and Icinga2 everytime the Playbook runs. (around line 70 in icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml). Another Icinga2 is triggered earlier as well, which might lead to yet another restart once the Playbook finished.

Looking at the code, it is not entirely clear why Apache2 is restarted, all the changed happen in the database and not the webserver configuration.

@aflatto aflatto self-assigned this Sep 7, 2017
@aflatto
Copy link
Contributor

aflatto commented Sep 7, 2017

Looking at the code, the web server restart does seem redundant,I'll investigate further.

regarding the icinga2 service restart, I'll look at improving the code.

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

No branches or pull requests

2 participants