ansible_aws_vpc

Provision AWS VPC, Subnets, Internet and NAT gateways and routes.
git clone git://git.beardyjay.co.uk/ansible_aws_vpc
Log | Files | Refs | README

pre_tasks.yml (587B)


      1 
      2 - name: "AWS | VPC | check region has been defined (aws_region)"
      3   fail: msg="You must specify a AWS region."
      4   when: aws_region is undefined
      5 
      6 - name: "AWS | VPC | check VPC name has been defined (vpc_name)"
      7   fail: msg="You must specify a VPC name."
      8   when: vpc_name is undefined
      9 
     10 - name: "AWS | VPC | check cidr_block been defined (vpc.cidr_block)"
     11   fail: msg="You must specify a CIDR block."
     12   when: vpc.cidr_block is undefined
     13 
     14 - name: "AWS | VPC | check at least one been defined (vpc.subnets)"
     15   fail: msg="You must specify at least one subnet."
     16   when: vpc.subnets is undefined