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

- Cleaner OpenBSD package installation.

parent a5bd5ee6
Branches
No related tags found
No related merge requests found
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
- ansible_os_family in collectd_conf - ansible_os_family in collectd_conf
- ansible_os_family in aliases_file - ansible_os_family in aliases_file
- ansible_os_family in collectd_user - ansible_os_family in collectd_user
- ansible_os_family != 'OpenBSD' or ansible_distribution_release in collectd_openbsd_version
- name: APT install - name: APT install
when: ansible_pkg_mgr == 'apt' when: ansible_pkg_mgr == 'apt'
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
- name: pkg install - name: pkg install
when: ansible_pkg_mgr == 'openbsd_pkg' when: ansible_pkg_mgr == 'openbsd_pkg'
openbsd_pkg: openbsd_pkg:
name: '{{ collectd_openbsd_version[ansible_distribution_release] }}' name: collectd%5
state: present state: present
- name: Create configuration directory - name: Create configuration directory
......
...@@ -5,14 +5,6 @@ collectd_conf: ...@@ -5,14 +5,6 @@ collectd_conf:
OpenBSD: /etc/collectd.conf OpenBSD: /etc/collectd.conf
Debian: /etc/collectd/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: aliases_file:
OpenBSD: /etc/mail/aliases OpenBSD: /etc/mail/aliases
Debian: /etc/aliases Debian: /etc/aliases
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment