What is the best practice to manage project `foobar` uninstall action ?

30 views
Skip to first unread message

Stéphane Klein

unread,
Dec 16, 2018, 5:13:06 AM12/16/18
to Ansible Project
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

Stéphane Klein

unread,
Dec 18, 2018, 8:17:38 AM12/18/18
to Ansible Project

Jonathan Lozada De La Matta

unread,
Dec 18, 2018, 8:19:35 AM12/18/18
to ansible...@googlegroups.com
Sounds correct by me.

On Tue, Dec 18, 2018 at 8:17 AM Stéphane Klein <klein.s...@gmail.com> wrote:
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0d98d97b-3748-46c1-8597-7b1d04f5df13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION PRACTICE



 

chafik bel

unread,
Dec 18, 2018, 10:30:16 AM12/18/18
to Ansible Project
LGTM as well.

Karl Auer

unread,
Dec 18, 2018, 4:23:15 PM12/18/18
to ansible-project
What is "LGTM"?

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Karl Auer

Email  : ka...@2pisoftware.com
Website: http://2pisoftware.com


GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

Kai Stian Olstad

unread,
Dec 19, 2018, 10:54:41 AM12/19/18
to ansible...@googlegroups.com
On Tuesday, 18 December 2018 22:22:51 CET Karl Auer wrote:
> What is "LGTM"?

Looks Good To Me
https://en.wiktionary.org/wiki/LGTM


--
Kai Stian Olstad


Reply all
Reply to author
Forward
0 new messages