Skip to content

Commit

Permalink
elnappo#26 Support upgrading CMK package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Kleynhans committed Apr 23, 2020
1 parent 99e54bd commit d01be8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Tested on Ubuntu 16.04, 18.04 and CentOS 7, should also run under Debian and Red
* `check_mk_agent_setup_firewall: true` Add firewall rule (ufw/firewalld) when using systemd-socket or xinetd
* `check_mk_agent_manual_install: false` Leave agent package installation to the user
* `check_mk_agent_verify_certs: true` Verify SSL certs when callimg WATO API (default is true)
* `check_mk_package_state: present` Package state present/latest, determines whether to upgrade existing packages.

## Included check_mk extra plugins
Could be found under `files/plugins/`. As it is hard to keep these plugins
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ check_mk_agent_monitoring_host_discovery_mode: "new"
check_mk_agent_setup_firewall: true
check_mk_agent_manual_install: false
check_mk_agent_validate_certs: true
chck_mk_agent_package_state: present
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Install check_mk_agent
package:
name: check-mk-agent
state: present
state: "{{ chck_mk_agent_package_state }}"
when: not check_mk_agent_manual_install

- name: Install plugin requirements
Expand Down

0 comments on commit d01be8b

Please sign in to comment.