Giter Club home page Giter Club logo

ansible-role-aws-vpc-eip's Introduction

Ansible role: AWS VPC EIP

This role is able to create any number of EIP's

Build Status Version Ansible Galaxy

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_eip_profile Boto profile name to be used
aws_vpc_eip_default_region Default region to use
aws_vpc_eip_release_on_disassociation Release EIP upon disassociation
aws_vpc_eip_reuse_existing_ip_allowed Reuse any unassociated EIP if it exists

Example definition

With sane defaults

When using the sane defaults, the only thing to configure for each eip is its name tag.

aws_vpc_eips:
  - name: my-eip-1
  - name: my-eip-2

All available parameter

Instead of using somebody's sane defaults, you can also add your custom overwrites.

aws_vpc_eips:
  - name: my-eip-1
    region: eu-central-1
    tags:
      - key: department
        val: devops
      - key: env
        val: production
  - name: my-eip-2
    region: eu-central-1
    release_on_disassociation: True
    reuse_existing_ip_allowed: True
    tags:
      - key: department
        val: devops
      - key: env
        val: testing

Testing

Requirements

Run tests

# 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

ansible-role-aws-vpc-eip's People

Contributors

cytopia avatar snovikov avatar vikkasyousaf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.