-
Notifications
You must be signed in to change notification settings - Fork 353
Run logrotate only logrotate config changes #302
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
Conversation
There're some issues with the Travis Docker service atm. Not entirely sure if it's on their end or whether some package broke (I can't reproduce the issue myself so I'm going to go with the former).I'll rerun the tests when the issue gets fixed. |
@alessfg Can this be removed with this PR? |
Hm I would rather leave it there since the debug output tasks can also fail if NGINX isn't running already (which happens to be the case in some distros where the service doesn't get started upon installation of NGINX). Is there any particular reason why you'd like to see it removed? |
@alessfg Not really just a warning that can be ignored I think
|
Yep. That warning doesn't apply in this case. |
According to #298 (comment) if this repo is going to deprecate, is there any reason there is no logrotate config in your mentioned repo? |
This repo won't deprecate. It's going to continue being used to install and setup NGINX, while NGINX config related tasks while move to another repo. |
@alessfg So this repo is just used for installing and the repo you mentioned is used to configure an installed nginx? |
Check #306 for a brief explanation as to why. |
@alessfg Makes sense, thanks. So could you please check the CI why it fails again? 😃 |
I cancelled the build to make #306 go faster. I'll rerun it once I merge that PR. |
Proposed changes
Use notify handler to run logrotate if logrotate config changes.
Checklist
Before creating a PR, run through this checklist and mark each as complete.
defaults/main/*.yml
,README.md
andCHANGELOG.md
)