ansible plays to downgrade and place on hold:
tasks: - name: downgrade monit apt: name=monit=1:5.16-2 force=yes state=present - dpkg_selections: name: monit selection: hold
ansible plays to downgrade and place on hold:
tasks:
- name: downgrade monit
apt: name=monit=1:5.16-2 force=yes state=present
- dpkg_selections:
name: monit
selection: hold