---
- hosts: all
  tasks:
  - name: Patch CVE-2014-0160
    apt: pkg={{ item }}
    with_items:
    - libssl1.0.0
    - openssl
    notify: restart haproxy
  handlers:
  - name: restart haproxy
    shell: service haproxy status && service haproxy restart || true


---
- hosts: all
  tasks:
  - name: Patch CVE-2014-0160
    apt: update_cache=true pkg={{ item }}
    with_items:
    - libssl1.0.0
    - openssl
    notify: restart haproxy
  handlers:
  - name: restart haproxy
    shell: service haproxy status && service haproxy restart || true


Update apt-cache for one off upgrade
Update apt-cache for one off upgrade
