Issue with lookup('dig') not finding 'dnspython'
Issue with lookup('dig') not finding 'dnspython' Question: On a Red Hat 8.3 machine I try to use this ansible code: – debug: msg: "{{ lookup(‘dig’, ‘localhost’) }}" But I get an error: TASK***************************************** fatal: [demo.example.com]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin ‘dig’. Error was a <class ‘ansible.errors.AnsibleError’>, original message: …