lsyncd: use relative paths in exclude statement

It seems only relative paths should be used in the exclude
statement. This has probably gone unnoticed since there is a second
sync for these files.

Change-Id: Ife4c1ab05e135930da8706d96af5b23648cee800
This commit is contained in:
Erik Berg 2020-02-03 10:46:52 +01:00
parent 48daf9453d
commit 9cb92db21b
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ sync {
rsync,
source = "{{ repo_service_home_folder }}/repo",
target = "{{ hostvars[node]['ansible_host'] }}:{{ repo_service_home_folder }}/repo",
exclude = {"{{ repo_git_cache_dir }}"},
exclude = {"{{ repo_git_cache_dirname }}"},
rsync = {
compress = true,
acls = true,