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
|
- packages
|
||||||
|
|
||||||
- name: Prefer HAProxy package from backports
|
- name: Prefer HAProxy package from backports
|
||||||
copy:
|
template:
|
||||||
src: haproxy_apt_preferences
|
src: haproxy_apt_preferences.j2
|
||||||
dest: /etc/apt/preferences.d/999-haproxy
|
dest: /etc/apt/preferences.d/999-haproxy
|
||||||
force: yes
|
force: yes
|
||||||
mode: "0640"
|
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