Hello there. Currently using ansible 2.0.0.2-1ppa~vivid on ubuntu and I am having issues using one of the aws modules. Getting the following when trying to use the ec2_vpc_route_table module: ‘ERROR: ec2_vpc_route_table is not a legal parameter in an Ansible task or handler’. does this mean the this extra module is not installed?
Example I currently have in place:
- name: Set up Internal Subnet route table
ec2_vpc_route_table:
vpc_id: “{{ vpc.vpc_id }}”
region: “{{ aws_region }}”
subnets: - “{{ subnet_internal }}”
routes: - dest: 0.0.0.0/0
instance_id: “{{ nat.instance[0]id }}”
when: nat|changed
tags: - vpcsetup
Can you please remove this and install via pip.
I have install the ansible 2 via pip and this module worked for me.
Step on ubuntu:
sudo apt-get install python-pip
sudo pip install ansible
That worked. Thanks!