-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathUbuntu.yml
More file actions
14 lines (13 loc) · 1.1 KB
/
Ubuntu.yml
File metadata and controls
14 lines (13 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
mongodb_repository:
"3.6": "deb http://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/3.6 multiverse"
"4.0": "deb http://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/4.0 multiverse"
"4.2": "deb http://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/4.2 multiverse"
"4.4": "deb http://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/4.4 multiverse"
"5.0": "deb http://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/5.0 multiverse"
mongodb_pymongo_package: "{{ 'python3-pymongo' if ansible_facts['python'].version.major == 3 else 'python-pymongo' }}"
mongodb_pymongo_deps:
- "{{ 'python3-dev' if ansible_facts['python'].version.major == 3 else 'python-dev' }}"
- "{{ 'python3-pip' if ansible_facts['python'].version.major == 3 else 'python-pip' }}"
mongodb_python_setuptools: "{{ 'python3-setuptools' if ansible_facts['python'].version.major == 3 else 'python-setuptools' }}"
mongodb_pip_executable: "{{ 'pip3' if ansible_facts['python'].version.major == 3 else 'pip' }}"