keepalived: do not install the PPA on Ubuntu bionic.
This commit is contained in:
parent
22051c8a21
commit
ff7f2b6188
|
@ -2,10 +2,11 @@
|
|||
- block:
|
||||
|
||||
- name: Install the keepalived repository
|
||||
apt_repository: repo={{ keepalived_repo }}
|
||||
apt_repository: repo={{ keepalived_repo }} update_cache=yes
|
||||
when: ansible_distribution_major_version <= '16'
|
||||
|
||||
- name: Install the keepalived package
|
||||
apt: name={{ item }} state={{ keepalived_pkg_state }} update_cache=yes
|
||||
apt: name={{ item }} state={{ keepalived_pkg_state }} update_cache=yes cache_valid_time=1800
|
||||
with_items: '{{ keepalived_pkgs }}'
|
||||
|
||||
- name: Install the keepalived configuration
|
||||
|
|
Loading…
Reference in New Issue