workstation/roles/distro/tasks/netbsd.yml

21 lines
555 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: Install NetBSD CLI packages
become: true
pkgin:
name: git,gnupg2,mc,mozilla-rootcerts-openssl,nmap,openvpn,pkgin,py37-pip,python37,sqlite3,sudo,tmux,zsh
state: present
- name: Enable wheel group to use sudo
become: true
lineinfile:
path: /usr/pkg/etc/sudoers.d/wheel
regexp: 'wheel'
line: '%wheel ALL=(ALL) ALL'
create: yes
mode: '0644'