Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Piece 2 of ansible-create-AWS-environment.yml
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
You can’t perform that action at this time.