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: run backup task only when specified #825

Merged

Conversation

giem-git
Copy link
Contributor

@giem-git giem-git commented Dec 8, 2023

Which issue(s) this PR fixes

Fixes #824

Additional comments

backup tasks will now be launched by using the following syntax :

ansible-playbook <playbook.yml> --tags all,backup

Agreements

@giem-git giem-git linked an issue Dec 8, 2023 that may be closed by this pull request
@giem-git giem-git force-pushed the 824-run-backup-task-only-when-backup-tag-is-specified branch from c123804 to 02f11ec Compare December 8, 2023 09:12
Copy link
Contributor

@gonzaloetjo gonzaloetjo left a comment

Choose a reason for hiding this comment

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

tested by adding export ANSIBLE_RUN_TAGS='all,backup' in env and works correctly.

@rpignolet rpignolet merged commit 7ffd1a6 into master Jan 5, 2024
3 checks passed
@rpignolet rpignolet deleted the 824-run-backup-task-only-when-backup-tag-is-specified branch January 5, 2024 13:06
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.

Run 'backup' task only when backup tag is specified
3 participants