Skip to content
Snippets Groups Projects
Verified Commit cdfac5b3 authored by Chris Croome's avatar Chris Croome
Browse files

no linuxfabrik-monitoring-plugins by default

parent 1d91562a
No related branches found
No related tags found
No related merge requests found
Pipeline #37135 passed
......@@ -11,7 +11,7 @@
repos:
# https://github.com/adrienverge/yamllint/tags
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.36.2
rev: v1.37.0
hooks:
- id: yamllint
name: YAML Lint
......
......@@ -13,7 +13,7 @@ icinga_api_users_dir: /etc/icinga2/conf.d/api-users
# Add The Linuxfabrik Monitoring Plugins Collection
# https://github.com/Linuxfabrik/monitoring-plugins
icinga_linuxfabrik: true
icinga_linuxfabrik: false
# The local_tmp variable appears not to work
# icinga_local_tmp: "{{ local_tmp }}"
......
......@@ -34,6 +34,17 @@
- icinga_linuxfabrik is defined
- icinga_linuxfabrik | bool
- name: Linuxfabrik packages absent
ansible.builtin.apt:
pkg:
- linuxfabrik-monitoring-plugins
state: absent
update_cache: true
cache_valid_time: 60
when: >-
( icinga_linuxfabrik is not defined ) or
( not icinga_linuxfabrik | bool )
- name: Run apt show monitoring-plugins-systemd -a
ansible.builtin.command: apt show monitoring-plugins-systemd -a
check_mode: false
......
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