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

Add option to only restart the PostgreSQL service when needed #19

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

davidassigbi
Copy link
Contributor

@davidassigbi davidassigbi commented Dec 4, 2024

Description

Add option to only restart the PostgreSQL service when needed

Motivation and Context

closes #16
closes #7

How Has This Been Tested?

Tests performed with Molecule both locally and using Github Actions

Types of Changes

  • feat: add var postgresql_config_change_allow_restart to allow only restarting the PostgreSQL service when needed
  • chore: update rockylinux images used in github actions and pinned molecule-action to v2.7.40
  • fix(install): venv creation tasks always reporting as changed in dry-run has been with when: not ansible_check_mode

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

David ASSIGBI added 2 commits December 3, 2024 09:11
…d added variable to control when restarting is allowed
…core 2.16

Ansible 2.17 is incompatible with Python 3.6, which is the default on Rocky Linux 8. Even when manually
installing newer Python versions (e.g., Python 3.9), Ansible incorrectly defaults to using
/usr/libexec/platform-python (Python 3.6), causing task failures.

More here: ansible/ansible#82068
@davidassigbi davidassigbi added this to the 2.1.0 milestone Dec 4, 2024
@davidassigbi davidassigbi merged commit 06afb60 into main Dec 5, 2024
60 checks passed
@davidassigbi davidassigbi deleted the add_service_no_restart_option branch December 5, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants