From f99666b61cec992cb5a05b357fa6ef0e15508fb4 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 9 Dec 2015 21:30:47 +0200
Subject: [PATCH] - Can't include a tasks file with a variable in the name, so
 manually specify   OpenBSD and Debian cases.

---
 tasks/tls_cert.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tasks/tls_cert.yml b/tasks/tls_cert.yml
index d8115cb..39e903f 100644
--- a/tasks/tls_cert.yml
+++ b/tasks/tls_cert.yml
@@ -1,6 +1,10 @@
 ---
 
-- include: 'tls_cert_{{ ansible_os_family }}.yml'
+- include: 'tls_cert_Debian.yml'
+  when: ansible_os_family == 'Debian'
+
+- include: 'tls_cert_OpenBSD.yml'
+  when: ansible_os_family == 'OpenBSD'
 
 - name: Check if dhparams exists and its length
   ignore_errors: yes
-- 
GitLab