EvoBSD/roles/base/tasks/packages.yml
Jérémy Dubois 99ff7284a3 base, collectd, etc-git, logsentry, nagios-nrpe: install packages manually
Because openbsd_pkg module is broken since OpenBSD 7.4 with the version of Ansible we currently use
2024-03-13 15:17:20 +01:00

52 lines
908 B
YAML

---
- name: "Configure installurl"
ansible.builtin.copy:
content: "{{ evobsd_install_url }}\n"
dest: /etc/installurl
mode: "0644"
tags:
- pkg
# openbsd_pkg is broken since OpenBSD 7.4 with the version of Ansible we currently use
#- name: "Install packages (vim rsync mtr etc)"
# community.general.openbsd_pkg:
# name:
# - wget
# - vim--no_x11
# - rsync--
# - mtr--
# - iftop
# - sudo--
# - bash
# - ncdu
# - htop
# ignore_errors: true
# tags:
# - pkg
- name: "Install packages (vim rsync mtr etc)"
include: openbsd_pkg_custom.yml
vars:
package: "{{ item }}"
loop:
- wget
- vim--no_x11
- rsync--
- mtr--
- iftop
- sudo--
- bash
- ncdu
- htop
tags:
- pkg
- name: "Disable sndiod"
ansible.builtin.service:
name: sndiod
enabled: false
state: stopped
tags:
- pkg