You may use block and rescue module in ansible to do that. https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html#id2
On Wed, Jan 25, 2023, 2:14 PM Fabiuscom <[email protected]> wrote: > Hello, I need some information: if I want to install a patch using > ansible, for example RHSA-2000:2023 and then I want to rollback because the > patch has "brought" problems to the system, what could be a valid way to > follow? Thank you > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/cce52b18-6e14-4df7-9939-064f71c25895n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cce52b18-6e14-4df7-9939-064f71c25895n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALJDb0mfxNMqnBMojyNJQbLMXGkueuK%3D-683RAM9vzGN7NFX0g%40mail.gmail.com.
