-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add an option to skip logrotate installation #5
Comments
I'm not very familiar with Gentoo but it sounds like whatever other management tool you're using relies on or can use the /etc/logrotate configuration, is that correct? What would be the typical setup steps then? Sorry for the delayed reply, this didn't make it to my inbox for some reason. |
This one fails: - name: nickhammond.logrotate | Install logrotate
action: "{{ansible_pkg_mgr}} pkg=logrotate state=present" In Gentoo Error: I think we could change task to this: - name: nickhammond.logrotate | Install logrotate
action: "{{ansible_pkg_mgr}} pkg=logrotate state=present"
when: logrotate_install_package With default value of What do you think? |
That makes sense to me, let me know if you still want to submit a PR or I can work on it too. |
I had a need for this flag so I made PR #43. |
Some people run on weird systems without apt (like Gentoo), but still want to use configuration management tools. I can come up with PR that allows to skip logrotate installation. What do you think?
The text was updated successfully, but these errors were encountered: