diff --git a/playbooks/groups/elections.yml b/playbooks/groups/elections.yml index b13aa7ba1c..22f7402c45 100644 --- a/playbooks/groups/elections.yml +++ b/playbooks/groups/elections.yml @@ -29,7 +29,7 @@ roles: - base - rkhunter - - denyhosts + - { role: denyhosts, when: ansible_distribution_major_version != '7' } - nagios_client - hosts - fas_client