ERROR! no action detected in task. This often indicates a misspelled
module name, or incorrect module path.
The error appears to have been in
'/vagrant/roles/aws-vpc-nat-gateway/tasks/main.yml': line 3, column 3,
but may be elsewhere in the file depending on the exact syntax
problem.
The offending line appears to be:
Creating a VPC with Public and Private subnet in a VPC and setup NAT gateway for the private network.
- name: setup vpc
^ here
The error appears to have been in
'/vagrant/roles/aws-vpc-nat-gateway/tasks/main.yml': line 3, column 3,
but may be elsewhere in the file depending on the exact syntax
problem.
The offending line appears to be:
Creating a VPC with Public and Private subnet in a VPC and setup NAT gateway for the private network.
- name: setup vpc
^ here
---
- hosts: local
connection: local
sudo: no
gather_facts: yes
vars:
region: ap-southeast-2
cidr: 172.23.0.0/16
public_subnet: 172.23.0.0/24
private_subnet: 172.23.1.0/24
public_subnet_az: ap-southeast-2a
private_subnet_az: ap-southeast-2a
roles:
- aws-vpc-nat-gateway
# ./ansible.cfg
[defaults]
library = /usr/share/ansible:library