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 module for waiting until action is finished #38

Open
stdevel opened this issue Nov 2, 2023 · 0 comments
Open

Add module for waiting until action is finished #38

stdevel opened this issue Nov 2, 2023 · 0 comments
Labels
enhancement New feature or request plugin Ansible plugin

Comments

@stdevel
Copy link
Owner

stdevel commented Nov 2, 2023

For some actions (e.g. installing patches) it is required to wait until they are finished before the next step (e.g. rebooting the host) is executed. For this specific example, we can't rely on the Uyuni task scheduler, as requests are in mixed order sometimes. A module like stdevel.uyuni.wait_for_task could be a benefit. Another option would be to add wait parameters to the corresponding modules.

Requires #37.

@stdevel stdevel added enhancement New feature or request plugin Ansible plugin labels Nov 2, 2023
KinzelL added a commit to KinzelL/ansible-collection-uyuni that referenced this issue Jan 14, 2025
timedelta is now imported from datetime
the function wait_for_action is used to wait for an action to finish
it requires action_id, system_id, timeout=3600, interval=30 as parameters
This should solve stdevel#38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin Ansible plugin
Projects
None yet
Development

No branches or pull requests

1 participant