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-23 12:43:51 +00:00
|
|
|
- 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
|
2019-11-20 10:07:43 +00:00
|
|
|
- name: Install CLI packages
|
2019-11-10 17:05:01 +00:00
|
|
|
become: true
|
|
|
|
pkgin:
|
2019-11-23 13:19:08 +00:00
|
|
|
name: '{{ packages }}'
|
2019-11-10 17:05:01 +00:00
|
|
|
state: present
|
2019-11-23 13:19:08 +00:00
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- ansible
|
|
|
|
- git
|
|
|
|
- gnupg2
|
2019-11-28 15:53:33 +00:00
|
|
|
- heirloom-doctools
|
2019-11-23 13:19:08 +00:00
|
|
|
- mc
|
|
|
|
- mozilla-rootcerts-openssl
|
|
|
|
- nmap
|
|
|
|
- openvpn
|
|
|
|
- pkgin
|
|
|
|
- py37-pip
|
|
|
|
- python37
|
2019-11-23 13:43:30 +00:00
|
|
|
- ruby
|
2019-11-23 13:19:08 +00:00
|
|
|
- sqlite3
|
|
|
|
- sudo
|
|
|
|
- zsh
|