Skip to content

Ansible Role linuxfabrik.lfops.repo_mongodb

This role deploys the MongoDB repository.

Tags

repo_mongodb

  • Deploys the MongoDB repository.
  • Triggers: none.

Mandatory Role Variables

repo_mongodb__version

Example:

# mandatory
repo_mongodb__version: '6.0'

Optional Role Variables

repo_mongodb__basic_auth_login

  • Use HTTP basic auth to login to the repository. Defaults to lfops__repo_basic_auth_login, making it easy to set this for all repo_* roles.
  • Type: String.
  • Default: '{{ lfops__repo_basic_auth_login | default("") }}'

repo_mongodb__mirror_url

  • Set the URL to a custom mirror server providing the repository. Defaults to lfops__repo_mirror_url to allow easily setting the same URL for all repo_* roles. If lfops__repo_mirror_url is not set, the default mirrors of the repo are used.
  • Type: String.
  • Default: '{{ lfops__repo_mirror_url | default("") }}'

Example:

# optional
repo_mongodb__basic_auth_login:
  username: 'my-username'
  password: 'linuxfabrik'
repo_mongodb__mirror_url: 'https://mirror.example.com'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich