mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-20 08:48:15 +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: mongodb-org
|
||||||
|
mongodb_package_state: present
|
||||||
mongodb_version: "3.6"
|
mongodb_version: "3.6"
|
||||||
mongodb_apt_keyserver: keyserver.ubuntu.com
|
mongodb_apt_keyserver: keyserver.ubuntu.com
|
||||||
mongodb_apt_key_id:
|
mongodb_apt_key_id:
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
name:
|
name:
|
||||||
- "{{mongodb_package}}"
|
- "{{mongodb_package}}"
|
||||||
- numactl
|
- numactl
|
||||||
state: present
|
state: "{{ mongodb_package_state }}"
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Add systemd configuration if present
|
- name: Add systemd configuration if present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user