mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
Add variable to customize mongodb package state
This commit is contained in:
parent
45309059e9
commit
6ba243a486
@ -1,6 +1,7 @@
|
||||
---
|
||||
|
||||
mongodb_package: mongodb-org
|
||||
mongodb_package_state: present
|
||||
mongodb_version: "3.6"
|
||||
mongodb_apt_keyserver: keyserver.ubuntu.com
|
||||
mongodb_apt_key_id:
|
||||
|
@ -55,7 +55,7 @@
|
||||
name:
|
||||
- "{{mongodb_package}}"
|
||||
- numactl
|
||||
state: present
|
||||
state: "{{ mongodb_package_state }}"
|
||||
update_cache: yes
|
||||
|
||||
- name: Add systemd configuration if present
|
||||
|
Loading…
x
Reference in New Issue
Block a user