Skip to main content

A dynamic AWS inventory for Ansible which groups nodes using regular expressions.

Project description

# aws_inventory

A dynamic AWS inventory for Ansible - https://pypi.org/project/aws_inventory/

Install examples:
  • pip install aws_inventory

  • pip install git+https://github.com/zahna/aws_inventory.git#egg=master

  • pip install -e git+https://github.com/zahna/aws_inventory.git#egg=master

git clone https://github.com/zahna/aws_inventory.git#egg=master pip install -e /path/to/aws_inventory

## Config file options

First, see the examples/ directory for example files that use aws_inventory.

Hostnames in the config file can use tags or metadata.

Metadata examples:
  • EC2 tags such as “Name”

  • InstanceId

  • PublicDnsName

  • PublicIpAddress

  • PrivateIpAddress

  • PrivateDnsName

## Using an AWS profile credentials

aws_inventory can use an AWS profile’s credentials. If the environment variable AWS_PROFILE is set, aws_inventory will use it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_inventory-0.5.8.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page