Hi,
What is the best practice to manage project foobar uninstall action ?
a. Write two playbooks example: foobar_install.yml and foobar_uninstall.yml
and two roles roles/foobar_install_and_upgrade/... and roles/foobar_uninstall/...
b. Or only one playbook foobar and one roles roles/foobar/... and use --extra-vars to select action to execute install (by default) or uninstall ?
Something as explained in https://medium.com/@mykidong/howto-organize-ansible-playbook-to-install-uninstall-start-and-stop-kafka-and-kafka-connect-e7250c5def9d
Best regards,
Stéphane