From ad64d226995750abd5e118f5c2da721de06484d4 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 16 Apr 2017 07:56:49 +0300 Subject: [PATCH] - Don't configure pkg.conf in 6.1 or later, was removed in 6.1. --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 72ac6ed..d2f2d19 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -33,6 +33,7 @@ mode: 0o0755 - name: Configure pkg + when: ansible_distribution_version|version_compare('6.1', '<') lineinfile: dest: /etc/pkg.conf line: 'installpath = {{ openbsd_pkg_mirror }}/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/' -- GitLab