mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Retrying mongodb keyfile auth.
This commit is contained in:
parent
925c13bd6e
commit
4ddb345e32
3 changed files with 8 additions and 4 deletions
|
@ -16,6 +16,5 @@
|
||||||
- {role: 'consul', tags: 'consul'}
|
- {role: 'consul', tags: 'consul'}
|
||||||
- {role: 'consul-client', tags: 'consul'}
|
- {role: 'consul-client', tags: 'consul'}
|
||||||
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
|
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
|
||||||
- {role: 'monitor', tags: 'monitor'}
|
|
||||||
- {role: 'letsencrypt', tags: 'letsencrypt'}
|
- {role: 'letsencrypt', tags: 'letsencrypt'}
|
||||||
- {role: 'haproxy', tags: 'haproxy'}
|
- {role: 'haproxy', tags: 'haproxy'}
|
||||||
|
|
|
@ -7,10 +7,14 @@
|
||||||
path: /var/log/mongodb
|
path: /var/log/mongodb
|
||||||
|
|
||||||
- name: Copy MongoDB keyfile
|
- name: Copy MongoDB keyfile
|
||||||
|
become: yes
|
||||||
copy:
|
copy:
|
||||||
content: "{{ mongodb_keyfile }}"
|
content: "{{ mongodb_keyfile }}"
|
||||||
dest: /srv/newsblur/config/mongodb_keyfile.key
|
dest: /srv/newsblur/config/mongodb_keyfile.key
|
||||||
|
owner: root
|
||||||
mode: 0400
|
mode: 0400
|
||||||
|
tags:
|
||||||
|
- keyfile
|
||||||
|
|
||||||
- name: Make docker network for newsblurnet
|
- name: Make docker network for newsblurnet
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -27,9 +27,10 @@ net:
|
||||||
processManagement:
|
processManagement:
|
||||||
timeZoneInfo: /usr/share/zoneinfo
|
timeZoneInfo: /usr/share/zoneinfo
|
||||||
|
|
||||||
#security:
|
security:
|
||||||
# keyFile: /srv/newsblur/config/mongodb_keyfile.key
|
keyFile: /srv/newsblur/config/mongodb_keyfile.key
|
||||||
# authorization: enabled # No RBAC
|
authorization: enabled
|
||||||
|
transitionToAuth: true
|
||||||
|
|
||||||
operationProfiling:
|
operationProfiling:
|
||||||
mode: slowOp
|
mode: slowOp
|
||||||
|
|
Loading…
Add table
Reference in a new issue