# name : create, terminate, start or stop an instance in ec2, return instanceid # key : ec2_instance # condition: ansible # -- - name: ${1:create, terminate, start or stop an instance in ec2, return instanceid} ec2_instance: instance_type=$2 image_id=$3 region=$4 $0