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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/19f49520-1d23-47d1-938f-592d778aca31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to