Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flaconi/ansible-role-aws-vpc-cgw
Ansible role to create an arbitrary number of Customer Gateways
https://github.com/flaconi/ansible-role-aws-vpc-cgw
ansible ansible-role aws cgw role vpc
Last synced: about 5 hours ago
JSON representation
Ansible role to create an arbitrary number of Customer Gateways
- Host: GitHub
- URL: https://github.com/flaconi/ansible-role-aws-vpc-cgw
- Owner: Flaconi
- License: apache-2.0
- Created: 2018-05-28T16:36:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-13T16:57:28.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T19:23:33.735Z (over 1 year ago)
- Topics: ansible, ansible-role, aws, cgw, role, vpc
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 23
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role: AWS VPC CGW
This role handles the creation of any number of customer gateways.
[![Backup Github Respository](https://github.com/Flaconi/ansible-role-aws-vpc-cgw/actions/workflows/backups.yml/badge.svg)](https://github.com/Flaconi/ansible-role-aws-vpc-cgw/actions/workflows/backups.yml)
[![Build Status](https://travis-ci.org/Flaconi/ansible-role-aws-vpc-cgw.svg?branch=master)](https://travis-ci.org/Flaconi/ansible-role-aws-vpc-cgw)
[![Version](https://img.shields.io/github/tag/Flaconi/ansible-role-aws-vpc-cgw.svg)](https://github.com/Flaconi/ansible-role-aws-vpc-cgw/tags)
[![Ansible Galaxy](https://img.shields.io/ansible/role/d/25936.svg)](https://galaxy.ansible.com/Flaconi/aws-vpc-cgw/)## Requirements
* Ansible 2.5
## Additional variables
Additional variables that can be used (either as `host_vars`/`group_vars` or via command line args):
| Variable | Description |
|------------------------------|------------------------------|
| `aws_vpc_vgw_profile` | Boto profile name to be used |
| `aws_vpc_cgw_default_region` | Default region to use |## Example definition
#### Required parameter only
```yml
aws_vpc_cgws:
- name: playground-cgw-provider-ext
ip_address: 185.28.50.12
- name: playground-cgw-office-hq
ip_address: 185.28.50.10
```#### All available parameter
```yml
aws_vpc_cgws:
- name: playground-cgw-provider-ext
ip_address: 185.28.50.12
bgp_asn: 65000
routing: dynamic
region: eu-central-1
tags:
- key: env
val: playground
- key: department
val: devops
- name: playground-cgw-office-hq
ip_address: 185.28.50.10
bgp_asn: 65000
routing: dynamic
region: eu-central-1
tags:
- key: env
val: playground
- key: department
val: devops
```## Testing
#### Requirements
* Docker
* [yamllint](https://github.com/adrienverge/yamllint)#### Run tests
```bash
# Lint the source files
make lint# Run integration tests with default Ansible version
make test# Run integration tests with custom Ansible version
make test ANSIBLE_VERSION=2.4
```