- hosts: all remote_user: hyung-hwan tasks: - name: delete user group 'tomcat' group: name=tomcat state=absent become: true become_method: sudo