mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Ability to remove credentials owned by a user
This commit is contained in:
parent
7676f14114
commit
1d57f1c355
@ -257,6 +257,8 @@ def main():
|
||||
copy_lookup_data = lookup_data
|
||||
if organization:
|
||||
lookup_data['organization'] = org_id
|
||||
if user:
|
||||
lookup_data['organization'] = None
|
||||
|
||||
credential = module.get_one('credentials', name_or_id=name, check_exists=(state == 'exists'), **{'data': lookup_data})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user