2017-07-13 09:47:29 +02:00
|
|
|
---
|
|
|
|
|
2017-07-13 14:16:51 +02:00
|
|
|
- include_role:
|
2019-11-29 14:00:25 +01:00
|
|
|
name: evolix/apt
|
2017-07-13 14:16:51 +02:00
|
|
|
tasks_from: backports.yml
|
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- packages
|
|
|
|
|
2018-07-24 12:29:42 +02:00
|
|
|
- name: Prefer HAProxy package from backports
|
2018-07-24 15:43:45 +02:00
|
|
|
template:
|
|
|
|
src: haproxy_apt_preferences.j2
|
2017-07-13 09:47:29 +02:00
|
|
|
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
|
2019-12-31 15:34:48 +01:00
|
|
|
when: haproxy_apt_preferences is changed
|
2017-07-13 09:47:29 +02:00
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- packages
|