aws_dynamic_inventory
Generate dynamic AWS inventory lists for Ansible playbooks by specifying regions, filters, hostnames, and keyed groups to manage cloud resources efficiently.
Instructions
Create AWS dynamic inventory
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compose | No | ||
filters | No | ||
hostnames | No | ||
keyed_groups | No | ||
region | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"compose": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"filters": {
"additionalProperties": {},
"type": "object"
},
"hostnames": {
"items": {
"type": "string"
},
"type": "array"
},
"keyed_groups": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"prefix": {
"type": "string"
},
"separator": {
"type": "string"
}
},
"required": [
"prefix",
"key"
],
"type": "object"
},
"type": "array"
},
"region": {
"minLength": 1,
"type": "string"
}
},
"required": [
"region"
],
"type": "object"
}