Caus,
mam tyhle konfigy:
server:
/etc/apt/preferences.d/preferences
Package: *
Pin: release a=buster-backports
Pin-Priority: 450
ansible:
---
- name: Install haproxy packages
apt:
name: "{{ haproxy_packages }}"
state: present
update_cache: true
tags: haproxy_packages
Pri spusteni tohoto tasku doslo k upgradu stable verze haproxy v Deb 10 z 1.8.x na 2.0.x z backportu. Pritom podle priority by mel byt preferovan stable. V host_vars pro dany server bylo:
haproxy_version="*"
Je mozny, ze to prebilo prioritu v aptu a proc? Cekal jsem, ze to bude drzet maximalni stable verzi (aneb, priprava, pokud by to muselo byt v presne dane verzi).
Diky.