Fix the mongodb-org tasks packages so that they work also without the external repository.
This commit is contained in:
parent
732997b256
commit
3a54594c0d
|
@ -52,7 +52,6 @@
|
||||||
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=1800
|
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=1800
|
||||||
with_items: '{{ mongodb_server_pkgs }}'
|
with_items: '{{ mongodb_server_pkgs }}'
|
||||||
when:
|
when:
|
||||||
- mongodb_install_from_external_repo
|
|
||||||
- mongodb_install_packages
|
- mongodb_install_packages
|
||||||
- mongodb_upgrade_from_older_version
|
- mongodb_upgrade_from_older_version
|
||||||
|
|
||||||
|
@ -60,7 +59,6 @@
|
||||||
apt: pkg={{ item }} state={{ mongodb_pkg_state }} update_cache=yes cache_valid_time=1800
|
apt: pkg={{ item }} state={{ mongodb_pkg_state }} update_cache=yes cache_valid_time=1800
|
||||||
with_items: '{{ mongodb_server_pkgs }}'
|
with_items: '{{ mongodb_server_pkgs }}'
|
||||||
when:
|
when:
|
||||||
- mongodb_install_from_external_repo
|
|
||||||
- mongodb_install_packages
|
- mongodb_install_packages
|
||||||
|
|
||||||
- name: Create the mongodb log directory
|
- name: Create the mongodb log directory
|
||||||
|
|
Loading…
Reference in New Issue