workstation/roles/netbsd/tasks/packages-cli.yml

21 lines
618 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-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
- name: Install CLI packages
2019-11-10 17:05:01 +00:00
become: true
pkgin:
2019-11-21 12:41:11 +00:00
name: ansible,git,gnupg2,mc,mozilla-rootcerts-openssl,nmap,openvpn,pkgin,py37-pip,python37,sqlite3,sudo,zsh
2019-11-10 17:05:01 +00:00
state: present