scylladb / scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
44 stars 38 forks source link

replace_node.yml: Cleanup job aliases for 'nodetool drain' and 'stop scylla service' async tasks #397

Closed igorribeiroduarte closed 4 months ago

igorribeiroduarte commented 4 months ago

As explained in the documentation of the async module { https://github.com/scylladb/scylla-ansible-roles/tree/master/example-playbooks/async_extra#failures }, if an async job finishes with a bad result the task will not cleanup the job alias. So we need a separate task for doing that.