Merge pull request #7 from quarkslab/fix/official-repo
Missing when statement preventing MongoDB repository to be added
This commit is contained in:
commit
8fda783c87
|
@ -8,6 +8,7 @@
|
|||
|
||||
- name: Add APT repository
|
||||
apt_repository: repo="{{mongodb_repository}}" update_cache=yes
|
||||
when: mongodb_package == 'mongodb-org'
|
||||
|
||||
- name: Install MongoDB package
|
||||
apt: pkg={{mongodb_package}} state=present
|
||||
|
|
Loading…
Reference in New Issue