Adding MongoDB config and keyfile.
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 18s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Successful in 3m8s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Successful in 3m18s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Successful in 3m42s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 15s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Successful in 3m21s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Successful in 3m25s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Successful in 4m1s
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 18s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Successful in 3m8s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Successful in 3m18s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Successful in 3m42s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 15s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Successful in 3m21s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Successful in 3m25s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Successful in 4m1s
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token)['secret']['MONGODB_REPLICA_SET_KEY'] }}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
# mongod.conf
|
||||||
|
# for documentation of all options, see:
|
||||||
|
# http://docs.mongodb.org/manual/reference/configuration-options/
|
||||||
|
|
||||||
|
# where and how to store data.
|
||||||
|
storage:
|
||||||
|
dbPath: /data/mongodb/dbs
|
||||||
|
directoryPerDB: true
|
||||||
|
|
||||||
|
# where to write logging data.
|
||||||
|
systemLog:
|
||||||
|
destination: file
|
||||||
|
quiet: false
|
||||||
|
logAppend: true
|
||||||
|
logRotate: reopen
|
||||||
|
path: /data/mongodb/logs/mongodb.log
|
||||||
|
verbosity: 1
|
||||||
|
|
||||||
|
# network interfaces
|
||||||
|
net:
|
||||||
|
port: 27017
|
||||||
|
unixDomainSocket:
|
||||||
|
enabled: true
|
||||||
|
pathPrefix: /data/mongodb/tmp
|
||||||
|
ipv6: false
|
||||||
|
bindIpAll: true
|
||||||
|
#bindIp:
|
||||||
|
|
||||||
|
# replica set options
|
||||||
|
replication:
|
||||||
|
replSetName: rinoa
|
||||||
|
enableMajorityReadConcern: true
|
||||||
|
|
||||||
|
# sharding options
|
||||||
|
#sharding:
|
||||||
|
#clusterRole:
|
||||||
|
|
||||||
|
# process management options
|
||||||
|
processManagement:
|
||||||
|
fork: false
|
||||||
|
pidFilePath: /data/mongodb/tmp/mongodb.pid
|
||||||
|
|
||||||
|
# set parameter options
|
||||||
|
setParameter:
|
||||||
|
enableLocalhostAuthBypass: false
|
||||||
|
|
||||||
|
# security options
|
||||||
|
security:
|
||||||
|
authorization: enabled
|
||||||
|
keyFile: /etc/mongodb/keyfile
|
||||||
Reference in New Issue
Block a user