Looks like the same error from #14. We're running on Amazon Linux, have the ddagent installed on the box. When I try to run a playbook from the box I get
$ansible-playbook -i ec2.py -l tag_Service_myService playbooks/datadog.yml ERROR! Unexpected Exception: No module named datadog
If I delete the callback_plugins directory, the playbook runs fine.
My callback plugins directory is just:
$ ls -l total 16 -rwxr----- 1 jlove jlove 10045 Dec 7 20:40 datadog_callback.py -rw-r----- 1 jlove jlove 42 Dec 7 20:39 datadog_callback.yml
datadog_callback.yml just contains my api key, and the callback script is from this repository.
Looks like the same error from #14. We're running on Amazon Linux, have the ddagent installed on the box. When I try to run a playbook from the box I get
$ansible-playbook -i ec2.py -l tag_Service_myService playbooks/datadog.yml ERROR! Unexpected Exception: No module named datadog
If I delete the callback_plugins directory, the playbook runs fine.
My callback plugins directory is just:
$ ls -l total 16 -rwxr----- 1 jlove jlove 10045 Dec 7 20:40 datadog_callback.py -rw-r----- 1 jlove jlove 42 Dec 7 20:39 datadog_callback.yml
datadog_callback.yml just contains my api key, and the callback script is from this repository.
Any insight would be helpful, thanks!