--- - name: Create HAProxy section hosts: localhost connection: local become: yes become_method: sudo gather_facts: yes roles: - role: haproxy_section