From 566b253f5b1fb6b33d408b80932947c15dbfdc23 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 20 Jul 2014 01:34:41 +0000 Subject: [PATCH] Adjust for rhel7 --- playbooks/groups/keyserver.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/keyserver.yml b/playbooks/groups/keyserver.yml index 162ae4b9ed..aac4a3f9fd 100644 --- a/playbooks/groups/keyserver.yml +++ b/playbooks/groups/keyserver.yml @@ -34,7 +34,7 @@ roles: - base - rkhunter - - denyhosts + - { role: denyhosts, when: ansible_distribution_major_version != '7' } - nagios_client - hosts - fas_client @@ -46,6 +46,9 @@ - include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks }}/openvpn_client.yml" + when: ansible_distribution_major_version != '7' + - include: "{{ tasks }}/openvpn_client_7.yml" + when: ansible_distribution_major_version == '7' - include: "{{ tasks }}/motd.yml" - include: "{{ tasks }}/apache.yml"