Skip to content

Commit

Permalink
update mongodb default version (#22)
Browse files Browse the repository at this point in the history
- Upgrade MongoDB `6.0.10` to `6.0.11`
  • Loading branch information
trfore authored Oct 14, 2023
2 parents 850c9e8 + 6209520 commit a77a113
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
fail-fast: false
matrix:
distro: [centos8, debian10, debian11, ubuntu2004]
version: ["6.0.10"]
version: ["6.0.11"]
experimental: [false]
molecule_scenario: ["-s default", "-s install_tarball"]
include:
- distro: ubuntu2204
version: "6.0.10"
version: "6.0.11"
experimental: false
molecule_scenario: "-s default"
- distro: ubuntu2204
version: "6.0.10"
version: "6.0.11"
experimental: true
molecule_scenario: "-s install_tarball"
uses: ./.github/workflows/test.yml
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![CI](https://github.com/trfore/ansible-role-mongodb-install/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/trfore/ansible-role-mongodb-install/actions/workflows/ci.yml)
[![CD](https://github.com/trfore/ansible-role-mongodb-install/actions/workflows/cd.yml/badge.svg?branch=main)](https://github.com/trfore/ansible-role-mongodb-install/actions/workflows/cd.yml)

This role installs the MongoDB Community edition server metapackage, `mongodb-org`, via the OS's package manager (default) or the server binaries via tar file. It currently defaults to installing the **latest release from version 4**, you can install a newer major version by setting `mongodb_version: 6.0.10`, see 'Tested Platforms and Versions' section for a compatibility matrix.
This role installs the MongoDB Community edition server metapackage, `mongodb-org`, via the OS's package manager (default) or the server binaries via tar file. It currently defaults to installing the **latest release from version 4**, you can install a newer major version by setting `mongodb_version: 6.0.11`, see 'Tested Platforms and Versions' section for a compatibility matrix.

Alternatively, you can install the MongoDB server binaries - `mongo`, `mongod`, `mongos`, by setting `mongodb_pkg_install: false` and the role will download the **latest tarball from version 4** or a newer major version by setting `mongodb_version`. If you would like to install the binary from your local Ansible control host, download the appropriate tar file, `mongodb-linux-x86_64-{DISTRO}-{VERSION}.tgz`, to your `files` directory and set the following two variables in your playbook:

Expand All @@ -30,7 +30,7 @@ roles:
## Tested Platforms and Versions
### MongoDB Community `6.0.10`
### MongoDB Community `6.0.11`

- CentOS Stream 8
- Debian 10 & 11
Expand Down Expand Up @@ -133,7 +133,7 @@ Common variables are listed below, along with default values (see `defaults/main
become: true
vars:
mongodb_pkg_install: true
mongodb_version: '6.0.10'
mongodb_version: '6.0.11'
roles:
- name: Install MongoDB
role: trfore.mongodb_install
Expand All @@ -146,7 +146,7 @@ Common variables are listed below, along with default values (see `defaults/main
become: true
vars:
mongodb_pkg_install: false
mongodb_version: '6.0.10'
mongodb_version: '6.0.11'
roles:
- name: Install MongoDB
role: trfore.mongodb_install
Expand Down
2 changes: 1 addition & 1 deletion mongodb.versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"4.4": "4.4.25",
"5.0": "5.0.21",
"6.0": "6.0.10"
"6.0": "6.0.11"
}

0 comments on commit a77a113

Please sign in to comment.