Fix role - shift haproxy_apt_preferences file to the templates directory
This commit is contained in:
parent
e83ca81776
commit
db683ea9c3
|
@ -1,3 +0,0 @@
|
|||
Package: haproxy libssl1.0.0
|
||||
Pin: release a=jessie-backports
|
||||
Pin-Priority: 999
|
|
@ -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"
|
||||
|
|
3
haproxy/templates/haproxy_apt_preferences.j2
Normal file
3
haproxy/templates/haproxy_apt_preferences.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
Package: haproxy libssl1.0.0
|
||||
Pin: release a={{ ansible_distribution_release }}-backports
|
||||
Pin-Priority: 999
|
Loading…
Reference in a new issue