- hosts: [{{ ip }}] sudo: yes tasks: - service: name: haproxy state: reloaded