Skip to content
Snippets Groups Projects
Commit b40fcaa4 authored by nimrod's avatar nimrod
Browse files

- Cleaner OpenBSD package installation.

parent a5bd5ee6
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@
- ansible_os_family in collectd_conf
- ansible_os_family in aliases_file
- ansible_os_family in collectd_user
- ansible_os_family != 'OpenBSD' or ansible_distribution_release in collectd_openbsd_version
- name: APT install
when: ansible_pkg_mgr == 'apt'
......@@ -21,7 +20,7 @@
- name: pkg install
when: ansible_pkg_mgr == 'openbsd_pkg'
openbsd_pkg:
name: '{{ collectd_openbsd_version[ansible_distribution_release] }}'
name: collectd%5
state: present
- name: Create configuration directory
......
......@@ -5,14 +5,6 @@ collectd_conf:
OpenBSD: /etc/collectd.conf
Debian: /etc/collectd/collectd.conf
collectd_openbsd_version:
'5.5': 'collectd-4.10.2p4'
'5.6': 'collectd-4.10.2p4'
'5.7': 'collectd-5.4.1p1'
'5.8': 'collectd-5.5.0p1'
'5.9': 'collectd-5.5.0p3'
'6.0': 'collectd-5.5.1'
aliases_file:
OpenBSD: /etc/mail/aliases
Debian: /etc/aliases
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment