StackStorm / ansible-st2

Ansible Roles and Playbooks to deploy StackStorm
https://galaxy.ansible.com/StackStorm/stackstorm/
Apache License 2.0
100 stars 75 forks source link

For EL7 and U16, Install Mongo 4.0 (Ansible) #264

Closed punkrokk closed 4 years ago

punkrokk commented 4 years ago

While newer recently added platforms like Ubuntu18 and CentOS8 rely on MongoDB 4, older systems like EL7 and U16 are still on MongoDB 3.4

MongoDB v3.4 has reached its EOL in January 2020. ~Switch to MongoDB v3.6 instead~, following the StackStorm/st2docs#968 Update: Switch to MongoDB v4.0 across all the OSes, including EL7 and U16 as we found that's supported by Mongo.

See stackstorm/st2-packages#643 for the changes needed.

amanda11 commented 4 years ago

Started on a PR...

arm4b commented 4 years ago

Update: Based on discussion in #development team decided to use MongoDB 4.0 across all the platforms. Turns out previously Mongo 4 wasn't supported for EL7 and U16.

Now Mongo 4.0 is available for both platforms: https://docs.mongodb.com/v4.0/tutorial/install-mongodb-on-ubuntu/#platform-support https://docs.mongodb.com/v4.0/tutorial/install-mongodb-on-red-hat/#platform-support

This will guarantee consistency in Mongo version everywhere and less code hacks in installers.