diff --git a/tasks/install.yml b/tasks/install.yml index 1bd22c3b2c98ba680f511f16927df240e625c1e1..7ced71ba5ae159e69a4a925832b29a054837187e 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,15 +1,15 @@ --- +- name: install apt key + apt_key: + state: present + keyserver: 'https://keyserver.ubuntu.com' + id: 'CFFB779AADC995E4F350A060505D97A41C61B9CD' - name: Add HAProxy 2.0 PPA apt_repository: - repo: 'ppa:vbernat/haproxy-2.0' + repo: "deb http://ppa.launchpad.net/vbernat/haproxy-2.0/ubuntu bionic main" state: present -- name: Remove HAProxy 1.8 PPA - apt_repository: - repo: 'ppa:vbernat/haproxy-1.8' - state: absent - - name: Install HAProxy apt: name: "haproxy=2.0.*"