From 88335f85de12b0b5d008299c247b341ade6573c2 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 10 Jul 2014 17:43:14 +0000 Subject: [PATCH] Adjust openvpn rules for rhel7 --- playbooks/groups/download.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/download.yml b/playbooks/groups/download.yml index de70e8522d..c9c40148a0 100644 --- a/playbooks/groups/download.yml +++ b/playbooks/groups/download.yml @@ -68,7 +68,9 @@ when: env != "staging" - include: "{{ tasks }}/apache.yml" - include: "{{ tasks }}/openvpn_client.yml" - when: datacenter != 'phx2' + when: datacenter != 'phx2' and ansible_distribution_major_version != '7' + - include: "{{ tasks }}/openvpn_client_7.yml" + when: datacenter != 'phx2' and ansible_distribution_major_version == '7' - name: put in script for syncing action: copy src="{{ files }}/download/sync-up-downloads.sh" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755 when: datacenter == 'ibiblio'