I am running multiple ansible plays defined in YAML files.
In the last play I get the following error:
{"failed": true, "msg": "The conditional check 'ansible_os_family == \"RedHat\"' failed. The error was: error while evaluating conditional (ansible_os_family == \"RedHat\"): 'ansible_os_family' is undefined\n
Do I need to change anything with the facts gathering or something in the ansible.cfg
?