Skip to content

Commit

Permalink
Fix haproxy pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zempashi committed Apr 17, 2024
1 parent 6e3c0aa commit 80d7257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/apiserver_haproxy/tasks/pkg_Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
version: '{{ _apiserver_proxy_haproxy_version }}'
when:
- not(_haproxy_repo_just_added is changed and ansible_check_mode)
- packages.haproxy|default([])|select('match', _apiserver_proxy_haproxy_version)|list|length == 0
- packages.haproxy|default([])|selectattr('version', 'match', _apiserver_proxy_haproxy_version)|list|length == 0
register: haproxy_version

- name: "Create pinning files"
Expand Down

0 comments on commit 80d7257

Please sign in to comment.