Add recurse option when creating grafana dirs.
Should not hurt if they are empty and can avoid issues when moving data between servers
This commit is contained in:
parent
464781ec2c
commit
a17ac0a9e7
1 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,9 @@ grafana_{{ theme_name }}_css_override:
|
|||
- mode: 755
|
||||
- user: {{ server.user }}
|
||||
- group: {{ server.group }}
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
|
||||
{{server.path.logs}}:
|
||||
file.directory:
|
||||
|
@ -90,6 +93,9 @@ grafana_{{ theme_name }}_css_override:
|
|||
- mode: 755
|
||||
- user: {{ server.user }}
|
||||
- group: {{ server.group }}
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
|
||||
grafana_service:
|
||||
service.running:
|
||||
|
|
Loading…
Reference in a new issue