I have a playbook that starts out with a task that holds a number of 
packages on debian machines relating to postgres and java stuff, and that 
part works well... I know that for sure.

And then when I perform a general upgrade of the debian serrver in a later 
task, the apt module seem to remove my holds on the packages. Is there 
anyway to prevent this unwanted behaviour?

  - name: Install updates on Debian
    apt:
      update_cache: yes
      cache_valid_time: 10
      upgrade: safe
    when:
      - ansible_os_family == "Debian"

Kind regards, 
Goran

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2e448ffe-ac2d-40b3-9036-4cd134648779n%40googlegroups.com.

Reply via email to