launchdarkly_feature_flag_info – Return a list of Feature Flags

New in version 0.2.8.

Synopsis

  • Return value from Feature Flag Evaluation

Parameters

Parameter Choices/Defaults Comments
api_key
string / required
LaunchDarkly API Key. May be set as LAUNCHDARKLY_ACCESS_TOKEN environment variable.
archived
boolean
    Choices:
  • no
  • yes
Include archived flags.
env
string
Filter for a specific environment.
key
string / required
Unique key for feature flag.
project_key
- / required
Default:
"default"
Project key will group flags together
summary
boolean
    Choices:
  • no
  • yes
Flags will not include their list of prerequisites, targets or rules. Set to false to include these fields for each flag returned
tag
string
Filter for a specific tag.

Examples

# Get list of flags filtered to production environment.
- launchdarkly_feature_flag_info:
    api_key: api-12345
    project_key: dano-test-project
    env: production

Return Values

Common return values are documented here, the following are the fields unique to this :

Key Returned Description
results
-
always
List of Feature Flags.

type
string
always
Type of return value



Status

  • This is not guaranteed to have a backwards compatible interface. [preview]

  • This is maintained by the Ansible Community. [community]

Hint

If you notice any issues in this documentation, you can edit this document to improve it.

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.