Skip to content

Commit

Permalink
Remove workaround with ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Thulium-Drake committed Jan 4, 2023
1 parent b37a65d commit 4d7d9b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/modules/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ def main():
upstream_url=dict(required=False),
upstream_username=dict(required=False),
upstream_password=dict(required=False, no_log=True),
# upstream_ca_cert=dict(required=False, type='entity', resource_type='content_credentials', scope=['']),
upstream_ca_cert_id=dict(required=False),
upstream_ca_cert=dict(required=False, type='entity', resource_type='content_credentials', scope=['organization']),
upstream_organization=dict(required=False),
upstream_lifecycle_environment=dict(required=False),
upstream_content_view=dict(required=False),
Expand Down Expand Up @@ -222,7 +221,7 @@ def main():
if module.foreman_params['upstream_type'] == 'network_sync':
cdn_config = {
'url': module.foreman_params['upstream_url'],
'ssl_ca_credential_id': module.foreman_params['upstream_ca_cert_id'],
'ssl_ca_credential_id': module.foreman_params['upstream_ca_cert'],
'username': module.foreman_params['upstream_username'],
'password': module.foreman_params['upstream_password'],
'upstream_organization_label': module.foreman_params['upstream_organization'],
Expand Down

0 comments on commit 4d7d9b1

Please sign in to comment.