toolbox: Allow different users logging to ansible.log

Currently only operations done with default kolla_toolbox user are logged
to /var/log/kolla/ansible.log.

In order to fix logging, permissions to ansible.log must allow writing
for other users in kolla group - and then a separate patch will follow
to make custom ansible.cfg file usable by other toolbox users.

Partial-Bug: #1942846
Change-Id: I1be60ac7647b1a838e97f05f15ba5f0e39e8ae3c
This commit is contained in:
Michał Nasiadka 2021-09-07 09:40:43 +02:00
parent b16e676be7
commit 24e6a6ced0
2 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,8 @@
"permissions": [
{
"path": "/var/log/kolla/ansible.log",
"owner": "ansible:ansible"
"perm": "0664",
"owner": "ansible:kolla"
}
]
}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes kolla-toolbox ansible.log logging for different users than ansible.
`LP#1942846 <https://launchpad.net/bugs/1942846>`__