-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathRedHat.yml
More file actions
24 lines (20 loc) · 1.31 KB
/
RedHat.yml
File metadata and controls
24 lines (20 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
mongodb_repository:
"3.6": "https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.6/$basearch/"
"4.0": "https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/$basearch/"
"4.2": "https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/$basearch/"
"4.4": "https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.4/$basearch/"
"5.0": "https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/5.0/$basearch/"
mongodb_repository_gpgkey:
"3.6": "https://www.mongodb.org/static/pgp/server-3.6.asc"
"4.0": "https://www.mongodb.org/static/pgp/server-4.0.asc"
"4.2": "https://www.mongodb.org/static/pgp/server-4.2.asc"
"4.4": "https://www.mongodb.org/static/pgp/server-4.4.asc"
"5.0": "https://www.mongodb.org/static/pgp/server-5.0.asc"
mongodb_pidfile_path: "{{ '/var/run/mongodb/mongod.pid' if ('mongodb-org' in mongodb_package) else '' }}"
yum_lock_timeout: 180
mongodb_pymongo_package: "{{ 'python3-pymongo' if ansible_facts['python'].version.major == 3 else 'python-pymongo' }}"
mongodb_pymongo_deps:
- "{{ 'python3-devel' if ansible_facts['python'].version.major == 3 else 'python-devel' }}"
- "{{ 'python3-pip' if ansible_facts['python'].version.major == 3 else 'python-pip' }}"
mongodb_pip_executable: "{{ 'pip3' if ansible_facts['python'].version.major == 3 else 'pip' }}"