Skip to content

Commit

Permalink
add inherit to possible values of download_policy for proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jul 4, 2022
1 parent 767eba4 commit ae1da71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- smart_proxy - add ``inherit`` to possible values of ``download_policy`` (https://github.com/theforeman/foreman-ansible-modules/issues/1438)
3 changes: 2 additions & 1 deletion plugins/modules/smart_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- background
- immediate
- on_demand
- inherit
required: false
type: str
notes:
Expand Down Expand Up @@ -112,7 +113,7 @@ def main():
name=dict(required=True),
url=dict(required=True),
lifecycle_environments=dict(required=False, type='entity_list'),
download_policy=dict(required=False, choices=['background', 'immediate', 'on_demand']),
download_policy=dict(required=False, choices=['background', 'immediate', 'on_demand', 'inherit']),
),
required_plugins=[('katello', ['lifecycle_environments', 'download_policy'])],
)
Expand Down

0 comments on commit ae1da71

Please sign in to comment.