Created
March 12, 2019 04:37
-
-
Save nivleshc/2175d449738f9c612e7332e371436987 to your computer and use it in GitHub Desktop.
Piece 6 of Ansible-create-AWS-environment.yml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: create private subnet in AZ {{ az_in_region.availability_zones[1].zone_name }} | |
ec2_vpc_subnet: | |
state: present | |
cidr: 172.32.2.0/24 | |
az: "{{ az_in_region.availability_zones[1].zone_name }}" | |
vpc_id: "{{ ansibleVPC.vpc.id }}" | |
region: "{{ vpc_region }}" | |
resource_tags: | |
Name: private subnet | |
register: private_subnet | |
- name: show private subnet details | |
debug: var=private_subnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment