Debian Codegraph @

ansible_collections/community/mongodb/roles/mongodb_install/README.md

raw
1 mongodb_install
2 ===============
3
4 Install MongoDB packages on Debian and RedHat based platforms. Installs the mongodb-org meta-package which then installs the following packages: mongodb-org-server, mongodb-org-shell, mongodb-org-mongos, mongodb-org-tools.
5
6 Role Variables
7 --------------
8
9 `specific_mongodb_version` - Install a specific version of mongodb i.e. 4.4.1. The specified version must be available in the system repositories. By default this variable is undefined.
10
11 `mongodb_hold_packages` - Runs the lock_mongodb_packages.sh script to either lock mongodb-org packages at a specific version or to release the lock. Set to "HOLD" or "NOHOLD" as desired. No checks are made to see if the hold already exists or not. By default this variable is undefined and the script is not executed. The task is executed at the end and it is possible that packages could be upgraded before the lock is initially applied.
12
13 Dependencies
14 ------------
15 mongodb_repository
16
17 Example Playbook
18 ----------------
19
20 ```yaml
21 - hosts: servers
22 roles:
23 - mongodb_repository
24 - mongodb_install
25 ```
26
27 License
28 -------
29
30 BSD
31
32 Author Information
33 ------------------
34
35 Rhys Campbell (https://github.com/rhysmeister)