From f2fc857f3b3fb57426279af6ddb3c893af553473 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 16 Apr 2017 07:54:20 +0300
Subject: [PATCH] - Replace ansible_distribution_release with
 ansible_distribution_version because the facts were reversed prior to Ansible
 2.3.0.0 for OpenBSD.

---
 tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index c13085f..72ac6ed 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -35,7 +35,7 @@
 - name: Configure pkg
   lineinfile:
     dest: /etc/pkg.conf
-    line: 'installpath = {{ openbsd_pkg_mirror }}/OpenBSD/{{ ansible_distribution_release }}/packages/{{ ansible_architecture }}/'
+    line: 'installpath = {{ openbsd_pkg_mirror }}/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/'
     regexp: '^installpath ='
     state: present
     create: yes
-- 
GitLab