Fix common role upgrade permission issue

Change-Id: I0f989b8a0ebd30424f71619981775d75ff1db691
Partial-Bug: #1631503
This commit is contained in:
Jeffrey Zhang 2016-10-17 14:13:29 +08:00
parent 57203424c2
commit ecab56a182
2 changed files with 19 additions and 1 deletions

View File

@ -101,5 +101,17 @@
}{% if not loop.last %},{% endif %} }{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}
],
"permissions": [
{
"path": "/var/cache/hekad",
"owner": "heka:heka",
"recurse": true
},
{
"path": "/var/lib/kolla/heka",
"owner": "heka:heka",
"recurse": true
}
] ]
} }

View File

@ -1,4 +1,10 @@
{ {
"command": "sleep infinity", "command": "sleep infinity",
"config_files": [] "config_files": [],
"permissions": [
{
"path": "/var/log/kolla/ansible.log",
"owner": "ansible:ansible"
}
]
} }