Do not install lsyncd when it's not needed

We don't need to build lsyncd when only 1 host is in repo_server group

Change-Id: I913531ce37af68d881c8968a966a94681a1abae9
This commit is contained in:
Dmitriy Rabotyagov 2020-06-15 18:43:48 +03:00
parent 3640957e1b
commit fff1fc516d
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
when:
- ansible_os_family | lower == 'redhat'
- ansible_distribution_major_version is version('8', '=')
- groups['repo_all'] | length > 1
tags:
- build-lsyncd