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

Fix change that broke notify/reload, update nginx handler #167

Merged
merged 3 commits into from Sep 12, 2023
Merged

Fix change that broke notify/reload, update nginx handler #167

merged 3 commits into from Sep 12, 2023

Conversation

codyro
Copy link
Collaborator

@codyro codyro commented Sep 12, 2023

  • Update handler in lemmy-almalinux.yml to use ansible.builtin.systemd module
  • Fixes a bug introduced in Fix ansible-lint warnings #166
  • Utilize handler & systemd module for nginx reloading in lemmy.yml

I will make similar changes to the primary playbook later, but since this is breaking, I want to merge it ASAP. This is another good use case for getting proper testing (e.g., Molecule). The only hindrance I've had in that realm is requiring Docker In Docker to fully test the playbooks.

- Update handler to use ansible.builtin.systemd module
- Use `loop` instead of `with_items`
- Use a handler & systemd module to handle nginx reloads
- Refs #166 changes suggested by @sanatsathaye
@codyro codyro mentioned this pull request Sep 12, 2023
Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx!

@dessalines dessalines merged commit 8503e65 into LemmyNet:main Sep 12, 2023
1 check passed
snowe2010 pushed a commit to programming-dot-dev/lemmy-ansible that referenced this pull request Jan 30, 2024
* Fix change that broke notify/reload
- Update handler to use ansible.builtin.systemd module

* Clean up `lemmy.yml` a bit more
- Use `loop` instead of `with_items`
- Use a handler & systemd module to handle nginx reloads
- Refs LemmyNet#166 changes suggested by @sanatsathaye

* Move `notify` key higher to satiate `ansible-lint`
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

Successfully merging this pull request may close these issues.

None yet

2 participants