I’m trying to access facts that are cached in AWX from within my custom network module, preferably without having to make an API call. I need to check if an element already exists in the fact cache so that it doesn’t get overwritten by running the module
Is it possible to access these cached facts by using ansible_facts, and how can I make that available to my custom module?
Can’t do that sadly as the custom module needs to run regardless; it’s just a small part of a function that I need to reference the fact cache before that particular fact gets set.