workstation/roles/netbsd/tasks/packages-cli.yml
2019-11-23 12:43:51 +00:00

20 lines
618 B
YAML

---
- name: Configure pkg to ignore OSABI
become: true
lineinfile:
path: /etc/pkg_install.conf
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:
name: ansible,git,gnupg2,mc,mozilla-rootcerts-openssl,nmap,openvpn,pkgin,py37-pip,python37,sqlite3,sudo,zsh
state: present