Fix issue with amazonlinux

This commit is contained in:
Sergei Antipov 2019-05-28 15:55:35 -04:00
parent 79aea9ac40
commit 02f3334b1a
No known key found for this signature in database
GPG Key ID: B167B87787407B3A
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
dest: /etc/yum.repos.d/mongodb.repo dest: /etc/yum.repos.d/mongodb.repo
mode: 0644 mode: 0644
with_items: "{{ mongodb_major_version }}" with_items: "{{ mongodb_major_version }}"
loop_control:
loop_var: version_item
when: mongodb_package == 'mongodb-org' when: mongodb_package == 'mongodb-org'
- name: Install MongoDB package - name: Install MongoDB package