-
Notifications
You must be signed in to change notification settings - Fork 92
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
Make firewalld operations idempotent #173
Make firewalld operations idempotent #173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add a requirements.yml
file with the ansible.posix
collection as well.
---
collections:
- name: ansible.posix
Sorry for the delay I've been very busy IRL with work and exams, I'll resume working on this some time next week |
No rush! Thank you for your time on improving these playbooks and the Lemmy ecosystem as a whole! |
No problem, need a good reddit alternative 😄 |
With immediate:true in ansible.posix.firewalld we don't need reload. Thanks @codyro
If you don't mind, that'd be fantastic. While doing that, could you add that these playbooks require Thank you! |
I believe it's possible to use Btw, should we be tying down the collections in the |
* Use firewalld module instead of command module * Reload firewalld with systemd module * Convert firewalld reload to a handler * Explicit firewalld reload is not needed With immediate:true in ansible.posix.firewalld we don't need reload. Thanks @codyro * Add requirements.yml
I haven't worked much with
ansible.posix.firewalld
before, so let me know if there's something which needs changing. Think I've translated it over correctly though.