aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-18 02:55:02 +0000
committerGerrit Code Review <review@openstack.org>2016-10-18 02:55:02 +0000
commit62b7fc99e675c88b5102cd9483729662eb5b6c0c (patch)
tree9d827d1bae88b60c3c9ad518c92f6f0f175b8309 /ansible
parenta67e632ad3468d93f41655fa0a43d6d30088e35d (diff)
parente95722522a66161d9bb2e6fe4bc4050c962bfcbd (diff)
downloadkolla-62b7fc99e675c88b5102cd9483729662eb5b6c0c.tar.gz
kolla-62b7fc99e675c88b5102cd9483729662eb5b6c0c.zip
Merge "Fix influxdb upgrade permission issue"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/influxdb/templates/influxdb.json.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/influxdb/templates/influxdb.json.j2 b/ansible/roles/influxdb/templates/influxdb.json.j2
index 2c4c6b3b0..3ffa2fe3a 100644
--- a/ansible/roles/influxdb/templates/influxdb.json.j2
+++ b/ansible/roles/influxdb/templates/influxdb.json.j2
@@ -7,5 +7,17 @@
"owner": "influxdb",
"perm": "0600"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/lib/influxdb",
+ "owner": "influxdb:influxdb",
+ "recurse": true
+ },
+ {
+ "path": "/var/log/kolla/influxdb",
+ "owner": "influxdb:influxdb",
+ "recurse": true
+ }
]
}