workstation/roles/distro/tasks/netbsd.yml

22 lines
555 B
YAML
Raw Normal View History

2019-11-10 17:05:01 +00:00
---
2019-11-10 17:20:35 +00:00
- name: Configure pkg to ignore OSABI
become: true
lineinfile:
path: /etc/pkg_install.conf
regexp: '^CHECK_OSABI='
line: 'CHECK_OSABI=no'
create: yes
2019-11-10 17:05:01 +00:00
- 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
2019-11-10 17:05:01 +00:00
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'