mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-01-21 02:29:25 +00:00
Missing when statement preventing MongoDB repository to be added
This commit is contained in:
parent
505f75aa06
commit
538813020d
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
- name: Add APT repository
|
- name: Add APT repository
|
||||||
apt_repository: repo="{{mongodb_repository}}" update_cache=yes
|
apt_repository: repo="{{mongodb_repository}}" update_cache=yes
|
||||||
|
when: mongodb_package == 'mongodb-org'
|
||||||
|
|
||||||
- name: Install MongoDB package
|
- name: Install MongoDB package
|
||||||
apt: pkg={{mongodb_package}} state=present
|
apt: pkg={{mongodb_package}} state=present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user