Fix role - shift haproxy_apt_preferences file to the templates directory

This commit is contained in:
Tristan PILAT 2018-07-24 15:43:45 +02:00
parent e83ca81776
commit db683ea9c3
3 changed files with 5 additions and 5 deletions

View file

@ -1,3 +0,0 @@
Package: haproxy libssl1.0.0
Pin: release a=jessie-backports
Pin-Priority: 999

View file

@ -8,8 +8,8 @@
- packages
- name: Prefer HAProxy package from backports
copy:
src: haproxy_apt_preferences
template:
src: haproxy_apt_preferences.j2
dest: /etc/apt/preferences.d/999-haproxy
force: yes
mode: "0640"

View file

@ -0,0 +1,3 @@
Package: haproxy libssl1.0.0
Pin: release a={{ ansible_distribution_release }}-backports
Pin-Priority: 999