Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
import copy | |
import logging | |
import os | |
import boto3 | |
logging.basicConfig(level=os.environ.get('LOG_LEVEL', 'INFO')) | |
ec2 = boto3.client('ec2') | |
logger = logging.getLogger(__name__) |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
from __future__ import print_function | |
import json | |
import boto3 | |
import logging | |
#setup simple logging for INFO | |
logger = logging.getLogger() | |
logger.setLevel(logging.ERROR) |