diff --git a/roles/netbsd/tasks/packages-cli.yml b/roles/netbsd/tasks/packages-cli.yml index 27ee8d8..41720ef 100644 --- a/roles/netbsd/tasks/packages-cli.yml +++ b/roles/netbsd/tasks/packages-cli.yml @@ -6,6 +6,13 @@ regexp: '^CHECK_OSABI=' line: 'CHECK_OSABI=no' create: yes +- name: Configure PKG_PATH + become: true + lineinfile: + path: /etc/pkg_install.conf + regexp: '^PKG_PATH=' + line: 'PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/{{ ansible_machine }}/{{ ansible_distribution_release }}/All' + create: yes - name: Install CLI packages become: true pkgin: