2017-07-13 09:47:29 +02:00
|
|
|
---
|
|
|
|
|
2017-07-13 14:16:51 +02:00
|
|
|
- include_role:
|
2017-07-19 08:56:46 +02:00
|
|
|
name: apt
|
2017-07-13 14:16:51 +02:00
|
|
|
tasks_from: backports.yml
|
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- packages
|
|
|
|
|
2017-07-13 09:47:29 +02:00
|
|
|
- name: Prefer HAProxy package from jessie-backports
|
|
|
|
copy:
|
|
|
|
src: haproxy_apt_preferences
|
|
|
|
dest: /etc/apt/preferences.d/999-haproxy
|
|
|
|
force: yes
|
|
|
|
mode: "0640"
|
|
|
|
register: haproxy_apt_preferences
|
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- packages
|
|
|
|
|
|
|
|
- name: update apt
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
when: haproxy_apt_preferences | changed
|
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- packages
|