ansible-role-check-mk-agent
ansible-role-check-mk-agent copied to clipboard
allow for upgrading the check-mk-agent
Seems to install the agent, but not allow for upgrading the agent because state is set to present.
- name: Install check_mk_agent
package:
name: check-mk-agent
state: present
Would be nice to have an option to allow for latest, or a version.
I get your point, but I'm unsure if the role should be responsible to upgrade the package. I usually have an extra playbook which handles system upgrades.