mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Default registry to docker hub
This commit is contained in:
parent
a64bae30b5
commit
4ea0125dc6
1 changed files with 4 additions and 3 deletions
|
@ -33,8 +33,9 @@ description:
|
||||||
options:
|
options:
|
||||||
registry:
|
registry:
|
||||||
description:
|
description:
|
||||||
- URL of the registry, for example: https://index.docker.io/v1/
|
- URL of the registry, defaults to: https://index.docker.io/v1/
|
||||||
required: true
|
required: false
|
||||||
|
default: https://index.docker.io/v1/
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- The username for the registry account
|
- The username for the registry account
|
||||||
|
@ -214,7 +215,7 @@ def main():
|
||||||
|
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
registry = dict(required=True),
|
registry = dict(required=False, default='https://index.docker.io/v1/'),
|
||||||
username = dict(required=True),
|
username = dict(required=True),
|
||||||
password = dict(required=True),
|
password = dict(required=True),
|
||||||
email = dict(required=False, default='anonymous@localhost.local'),
|
email = dict(required=False, default='anonymous@localhost.local'),
|
||||||
|
|
Loading…
Reference in a new issue