This repository contains a set of Ansible playbooks that set up VPCs (or their equivalents) in AWS, Azure, and OpenStack. In addition, it connects them together using a DMVPN overlay using a Cisco Cloud Services Router 1000v.
yum install epel-release
yum install python-devel python-pip
yum groupinstall development
pip install python-openstackclient
pip install 'setuptools>=11.3'
pip install shade
pip install awscli
yum -y install libffi-devel openssl-devel
pip install git+git://github.com/ansible/ansible.git@stable-2.1
pip install --no-cache-dir --upgrade 'azure==2.0.0rc5'
yum -y install npm
npm install azure-cli -g
- Create a hosts file (named "hosts") in the working directory:
[hubs]
[spokes]
[hosts]
- Update "cloud_vars.yml" with regions, amis, ssh-keys, etc.
ansible-playbook build_aws_vpc.yml
ansible-playbook -i hosts configure_csrs.yml
ansible-playbook -i hosts destroy_aws_vpc.yml