diff --git a/tasks/install.yml b/tasks/install.yml index 3fcf6de..fe46883 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -9,15 +9,19 @@ enabled: yes gpgkey: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc" - - name: Install package + - name: Install packages package: - name: mongodb-org + name: "{{ item }}" state: present + with_items: + - mongodb-org + - python2-pip become: True - name: Install pymongo as ansible dependency pip: name: pymongo + state: present extra_args: --user - block: