Created
March 12, 2019 02:53
-
-
Save nivleshc/0d707cd2bf8e6b87cd0000e8dbfcbdca to your computer and use it in GitHub Desktop.
Piece 2 of ansible-create-AWS-environment.yml
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
tasks: | |
- name: create VPC for Ansible | |
ec2_vpc_net: | |
name: ansibleVPC | |
state: present | |
cidr_block: 172.32.0.0/16 | |
region: "{{ vpc_region }}" | |
register: ansibleVPC | |
- name: display ansibleVPC results | |
debug: var=ansibleVPC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment