Skip to content

Commit

Permalink
add description parameter to activation_key
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 17, 2020
1 parent 3ff8873 commit 2fffbd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/915-activation_key-description.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- activation_key - add ``description`` parameter (https://github.com/theforeman/foreman-ansible-modules/issues/915)
5 changes: 5 additions & 0 deletions plugins/modules/activation_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
- Name of the activation key
required: true
type: str
description:
description:
- Description of the activation key
type: str
lifecycle_environment:
description:
- Name of the lifecycle environment
Expand Down Expand Up @@ -207,6 +211,7 @@ def main():
foreman_spec=dict(
name=dict(required=True),
new_name=dict(),
description=dict(),
lifecycle_environment=dict(type='entity', flat_name='environment_id', scope=['organization']),
content_view=dict(type='entity', scope=['organization']),
host_collections=dict(type='entity_list', scope=['organization']),
Expand Down

0 comments on commit 2fffbd2

Please sign in to comment.