Added default email address

reviewable/pr18780/r1
Olaf Kilian 10 years ago
parent 3d3efa3614
commit 30fa6e3ea4

@ -47,6 +47,7 @@ options:
description: description:
- The email address for the registry account - The email address for the registry account
required: false required: false
default: anonymous@localhost.local
reauth: reauth:
description: description:
- Whether refresh existing authentication on the Docker server (boolean) - Whether refresh existing authentication on the Docker server (boolean)
@ -214,7 +215,7 @@ def main():
registry = dict(required=True), registry = dict(required=True),
username = dict(required=True), username = dict(required=True),
password = dict(required=True), password = dict(required=True),
email = dict(required=False, default=None), email = dict(required=False, default='anonymous@localhost.local'),
reauth = dict(required=False, default=False, type='bool'), reauth = dict(required=False, default=False, type='bool'),
dockercfg_path = dict(required=False, default='~/.dockercfg'), dockercfg_path = dict(required=False, default='~/.dockercfg'),
docker_url = dict(default='unix://var/run/docker.sock'), docker_url = dict(default='unix://var/run/docker.sock'),

Loading…
Cancel
Save