mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
committed by
Matt Davis
parent
7ae3539eb5
commit
38d42e8b36
@@ -318,8 +318,8 @@ def main():
|
||||
login_result={}
|
||||
)
|
||||
|
||||
if module.params['state'] == 'present' and module.params['registry_url'] == DEFAULT_DOCKER_REGISTRY and not module.params['email']:
|
||||
module.fail_json(msg="'email' is required when loging into DockerHub")
|
||||
if client.module.params['state'] == 'present' and client.module.params['registry_url'] == DEFAULT_DOCKER_REGISTRY and not client.module.params['email']:
|
||||
client.module.fail_json(msg="'email' is required when logging into DockerHub")
|
||||
|
||||
LoginManager(client, results)
|
||||
if 'actions' in results:
|
||||
|
||||
Reference in New Issue
Block a user