Created
March 12, 2019 03:09
-
-
Save nivleshc/ba66c35235eb1f4cfbb11fb6213f67c4 to your computer and use it in GitHub Desktop.
Piece 3 of the 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 internet gateway for ansibleVPC | |
ec2_vpc_igw: | |
state: present | |
region: "{{ vpc_region }}" | |
vpc_id: "{{ ansibleVPC.vpc.id }}" | |
tags: | |
Name: ansibleVPC_IGW | |
register: ansibleVPC_igw | |
- name: display ansibleVPC IGW details | |
debug: var=ansibleVPC_igw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment