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

Allow WAL-G tasks execution in check_mode #847

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Allow WAL-G tasks execution in check_mode #847

merged 2 commits into from
Dec 13, 2024

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Dec 13, 2024

Added the check_mode: false parameter for the WAL-G tasks.

This ensures that the task executes even in --check mode, preventing it from being skipped and ensuring the file is downloaded. This change addresses an error where subsequent tasks fail due to the missing downloaded archive.

Fixed:

TASK [wal-g : Download WAL-G v3.0.3 binary] ************************************
changed: [10.0.0.5]
changed: [10.0.0.6]
changed: [10.0.0.7]
TASK [wal-g : Extract WAL-G into /tmp] *****************************************
fatal: [10.0.0.5]: FAILED! => {"changed": false, "msg": "Source '/tmp/wal-g-pg-ubuntu-20.04-amd64.tar.gz' does not exist"}
fatal: [10.0.0.7]: FAILED! => {"changed": false, "msg": "Source '/tmp/wal-g-pg-ubuntu-20.04-amd64.tar.gz' does not exist"}
fatal: [10.0.0.6]: FAILED! => {"changed": false, "msg": "Source '/tmp/wal-g-pg-ubuntu-20.04-amd64.tar.gz' does not exist"}
NO MORE HOSTS LEFT *************************************************************

@vitabaks vitabaks self-assigned this Dec 13, 2024
@vitabaks vitabaks merged commit 86b8cf0 into master Dec 13, 2024
15 checks passed
@vitabaks vitabaks deleted the walg-check-mode branch December 13, 2024 18:28
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.

1 participant