diff options
author | Ralph Bean <rbean@redhat.com> | 2015-10-21 14:33:11 +0000 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2015-10-21 14:33:11 +0000 |
commit | e1edce6717ef06a224c7044f52eddf5f9979c24d (patch) | |
tree | f6a6c6ccbdf328f6ed64e5cabe92db67be4bee41 | |
parent | 7e48000e907f0ae0b6f790d382a4939da05677e0 (diff) | |
download | ansible-e1edce6717ef06a224c7044f52eddf5f9979c24d.tar.gz ansible-e1edce6717ef06a224c7044f52eddf5f9979c24d.tar.xz ansible-e1edce6717ef06a224c7044f52eddf5f9979c24d.zip |
Setup logging for fedimg cronjob.
-rw-r--r-- | roles/fedimg/files/cron/kill_ec2_nodes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/fedimg/files/cron/kill_ec2_nodes.py b/roles/fedimg/files/cron/kill_ec2_nodes.py index 7e654f7b0..4bfb96c5b 100644 --- a/roles/fedimg/files/cron/kill_ec2_nodes.py +++ b/roles/fedimg/files/cron/kill_ec2_nodes.py @@ -4,12 +4,15 @@ # NOTE this is taken from the github repo # https://github.com/fedora-infra/fedimg/blob/develop/bin/kill_ec2_nodes.py +import logging +logging.basicConfig() from libcloud.compute.types import Provider from libcloud.compute.providers import get_driver import datetime import fedimg + EC2_ACCESS_ID = fedimg.AWS_ACCESS_ID EC2_SECRET_KEY = fedimg.AWS_SECRET_KEY |