I have managed in the same playbook to generate certain facts and also to go over to my local pc and create the file that will receive them.
What hasn’t worked is the transfer of said facts. Below you can see what I’m generating in the 1st play, I’m using delegate_to & delegate_facts to send the data and in the 2nd play, the last task has to gather those facts to add them to the file.
Am I using “delegate” correctly or do I have to gather the delegated facts differently? Any help would be greatly appreciated