Ansible Variables all of a Sudden Go Missing?
fatal: [192.168.1.233] => {'msg': "One or more undefined variables: 'ansible_lsb' is undefined", 'failed': True}
It turned out, that ansible gets it’s facts through different programs on the remote machine. If some of these programs are not available (in this instance it was lsb_release
) the variables are not populated resulting in this error.
$ ansible -m setup <yourhost>