kolla-ansible/ansible/roles/mongodb/templates/mongodb.json.j2
James McCarthy 274291463e Change default permissions in jinja templates.
Many of the templates use 600, remove unnecessary permission
on these templates to bring them in line with the others.

Change-Id: I30fe1b3822b9c7bb6ab98729fc519dc1d603db27
2017-05-26 12:29:02 +01:00

24 lines
615 B
Django/Jinja

{
"command": "/usr/bin/mongod --unixSocketPrefix=/var/run/mongodb --config /etc/mongodb.conf run",
"config_files": [
{
"source": "{{ container_config_directory }}/mongodb.conf",
"dest": "/etc/mongodb.conf",
"owner": "mongodb",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/mongodb",
"owner": "mongodb:mongodb",
"recurse": true
},
{
"path": "/var/log/kolla/mongodb",
"owner": "mongodb:mongodb",
"recurse": true
}
]
}