• Blog
  • Ansible community forum
  • Documentation
Ansible Logo
Ansible Collections Documentation
Ansible collections

Collections:

  • Collection Index
    • Collections in the Amazon Namespace
      • Amazon.Aws
        • Description
        • Communication
        • Changelog
        • Scenario Guide
        • Module Development Guidelines
        • Dynamic Inventory Plugin Guide
        • Plugin Index

Plugin indexes:

  • Index of all Callback Plugins
  • Index of all Connection Plugins
  • Index of all Inventory Plugins
  • Index of all Lookup Plugins
  • Index of all Modules

Reference indexes:

  • Index of all Collection Environment Variables
Ansible collections
  • Collection Index
  • Collections in the Amazon Namespace
  • Amazon.Aws
  • amazon.aws.aws_collection_constants lookup – expose various collection related constants
  • Edit on GitHub

amazon.aws.aws_collection_constants lookup – expose various collection related constants

Note

This lookup plugin is part of the amazon.aws collection (version 11.0.0-dev0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install amazon.aws.

To use it in a playbook, specify: amazon.aws.aws_collection_constants.

New in amazon.aws 6.0.0

  • Synopsis

  • Terms

  • Return Value

Synopsis

  • Exposes various collection related constants for use in integration tests.

Terms

Parameter

Comments

Terms

string / required

Name of the constant.

Choices:

  • "MINIMUM_BOTOCORE_VERSION"

  • "MINIMUM_BOTO3_VERSION"

  • "HAS_BOTO3"

  • "AMAZON_AWS_COLLECTION_VERSION"

  • "AMAZON_AWS_COLLECTION_NAME"

  • "COMMUNITY_AWS_COLLECTION_VERSION"

  • "COMMUNITY_AWS_COLLECTION_NAME"

Return Value

Key

Description

Return value

string

Value.

Returned: success

Authors

  • Mark Chappell (@tremble)

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

Collection links

  • Issue Tracker
  • Repository (Sources)
  • Communication
Previous Next

© Copyright Ansible contributors.