pre_tasks.yml - ansible-roles - A collection of ansible roles I have created over the years.
 (HTM) git clone git://jay.scot/ansible-roles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       pre_tasks.yml (590B)
       ---
            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