--- - hosts: "{{ ip_addr }}" become: yes become_method: sudo gather_facts: no tasks: - name: "[FAIL2BAN CONFIG] Install and configure fail2ban service" import_role: name: configure-fail2ban