You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will turn archiving on or off for each run, making the Ansible runs non-idempotent.
Is there a way to circumvent that? Conceptually, running systemctl enable/disable pgbackrest-archiving@<cluster-name> would be the best from a UX perspective, but systemd won't invoke the /usr/share/elephant-shed/pgbackrest-toggle-archiving script in this case but bail out.
The text was updated successfully, but these errors were encountered:
AFAICT,
systemctl start pgbackrest-toggle-archiving@<cluster-name>
turns archiving on or off, depending on the previous state.That makes it really difficult to handle with Ansible, as running something like
Will turn archiving on or off for each run, making the Ansible runs non-idempotent.
Is there a way to circumvent that? Conceptually, running
systemctl enable/disable pgbackrest-archiving@<cluster-name>
would be the best from a UX perspective, but systemd won't invoke the/usr/share/elephant-shed/pgbackrest-toggle-archiving
script in this case but bail out.The text was updated successfully, but these errors were encountered: