--- - hosts: defender user: ansible become: true become_user: root become_method: sudo roles: - { role: waitpls } - { role: ndpi } - { role: fastnetmon } - group: router user: ansible become: true become_user: root become_method: sudo roles: - { role: waitpls } - { role: ansible-gobgp } - hosts: edge user: ansible become: true become_user: root become_method: sudo roles: - { role: waitpls } - { role: ansible-fprobe }