Apt update cache before installing mogodb
Fix "No package matching 'mongodb' is available" error
This commit is contained in:
parent
44c20620c3
commit
282591852a
|
@ -55,6 +55,7 @@
|
|||
- "{{mongodb_package}}"
|
||||
- numactl
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: Add systemd configuration if present
|
||||
copy: src=mongodb.service dest=/lib/systemd/system/mongodb.service owner=root group=root mode=0640
|
||||
|
|
Loading…
Reference in New Issue