First of all: my apologies for the chosen subject. I can’t think of anything better than this…
Anyway - what I’d like to accomplish is the following: I have a brand new, shiny, fresh host which I’ll bootstrap with our current ansible playbooks. We set 2 host vars for our backup solution: backup server & backup password. With those vars we configure our backup client on the host.
From that same playbook I’d like to run a playbook (to check if the client has been created in it’s config) on the defined backup server (the one from the host_var).
What is the ansible way of accomplishing such an action? I know I could do something with a post task, but that seems a bit nasty to me.