elnappo / ansible-role-check-mk-agent

Ansible role for check_mk agent
MIT License
24 stars 27 forks source link

allow for upgrading the check-mk-agent #26

Open divansantana opened 4 years ago

divansantana commented 4 years ago

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.

elnappo commented 3 years ago

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.