Commit a66f98ee by Feanil Patel

Updates to get ecom service up.

parent e47788f8
......@@ -3,7 +3,7 @@
- name: Build application artifacts
hosts: all
connection: local
gather_facts: True
gather_facts: False
vars:
state: "present"
auto_scaling_service: True
......
......@@ -2,7 +2,7 @@
- name: Create a simple empty vpc
hosts: all
connection: local
gather_facts: True
gather_facts: False
vars:
vpc_state: present
tasks:
......
......@@ -96,11 +96,15 @@ def main():
aws_secret_key=dict(aliases=['ec2_secret_key', 'secret_key'],
no_log=True),
aws_access_key=dict(aliases=['ec2_access_key', 'access_key']),
tags=dict(default=None, type='dict'),
tags=dict(default=None, type='list'),
)
)
tags = module.params.get('tags')
tags = {}
for item in module.params.get('tags'):
for k,v in item.iteritems():
tags[k] = v
aws_secret_key = module.params.get('aws_secret_key')
aws_access_key = module.params.get('aws_access_key')
region = module.params.get('region')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment