I am trying to share some variables between multiple hosts in a playbook, and am using the technique described in this stack overflow question. It works, however each run ansible complains that the dummy host (K8S_MASTER_CA_HASH) does not exist, so it can't gather facts about it.
Is it possible to tell ansible not to gather facts for a single host in a play run against various hosts?
I tried using 'localhost' as the dummy host to hold the variables, but then ansible complains it can't ssh to localhost. (Seems like wrong approach)