From e2481ff1e68780db73fc90fe0ca151585bca9d8b Mon Sep 17 00:00:00 2001 From: whiter Date: Wed, 2 Sep 2015 14:34:56 +0100 Subject: [PATCH] Remove debug print statement. Fixed ensure_propagation call to pass 'route_table' and 'connection'. --- lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py index a65efaa78fc..70f53bad26a 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py @@ -496,7 +496,6 @@ def ensure_route_table_present(connection, module): # If no route table returned then create new route table if route_table is None: - print route_table.keys() try: route_table = connection.create_route_table(vpc_id, check_mode) changed = True @@ -511,7 +510,7 @@ def ensure_route_table_present(connection, module): module.fail_json(msg=e.message) if propagating_vgw_ids is not None: - result = ensure_propagation(vpc_conn, route_table_id, + result = ensure_propagation(connection, route_table, propagating_vgw_ids, check_mode=check_mode) changed = changed or result['changed']