Are you responsible for Solace PubSub+ DevOps?
Using Ansible modules for PubSub+ may make your life easier … check out this blog post
https://solace.com/blog/using-ansible-automate-config-pubsub-plus/
@swenhelge Thank you for sharing this!
Thanks @swenhelge, I had no idea this existed!
@marc - but wait there’s more - even including a cat pic: Event Mess to Event Mesh - Automating the Configuration of a Hybrid IoT Event Mesh with Ansible — Solace Community
how can i rollback the provisioning, especially the patch request to update some parameters?
hi @Joy - rollback is not a concept that ansible supports directly. I.e. ansible does not keep state of before and after.
So, what I typically do is to manage state manually. roughly:
- you create a separate parameters yaml / json file that describes a state - let’s call it ‘state1.yml’
- you run your playbook with state1.yml ==> broker is configured with state1 parameters
- you apply state2.yml and then you realize you want to go back to ‘state1.yml’
- you run the playbook again with state1.yml ==> rollback done.
I usually only work with roll-forward, never with roll-back. otherwise you end up with a management challenge of your state files.