Release of EvoBSD 6.8.0 #37

Merged
jlecour merged 168 commits from dev into master 2020-10-23 12:13:36 +02:00
3 changed files with 6 additions and 10 deletions
Showing only changes of commit f57e0e24f0 - Show all commits

View file

@ -9,9 +9,7 @@
- name: Install packages (vim rsync mtr etc)
openbsd_pkg:
name: "{{ item }}"
state: present
with_items:
name:
- wget
- vim--no_x11
- rsync--

View file

@ -1,17 +1,15 @@
---
- name: Install nrpe
openbsd_pkg:
name: "{{ item }}"
name:
- nrpe--
state: present
with_items:
- nrpe--
- name: Install monitoring-plugins
openbsd_pkg:
name: "{{ item }}"
name:
- monitoring-plugins
state: present
with_items:
- monitoring-plugins
- name: Create nrpe.d dir
file:

View file

@ -64,7 +64,7 @@ __EOT
# Total memory size (in MB)
tot_mem=$(( `/sbin/sysctl -n hw.physmem` / BYTES_IN_MB))
# Free memory size (in MB)
{% if ansible_distribution_version | version_compare("6.2",'<') %}
{% if ansible_distribution_version is version_compare("6.2",'<') %}
free_mem=$(( `/usr/bin/vmstat | /usr/bin/tail -1 | /usr/bin/awk '{ print $5 }'` / KB_IN_MB ))
{% else %}
free_mem=$(/usr/bin/vmstat | /usr/bin/tail -1 | /usr/bin/awk '{ print $4 }' | tr -d 'M')