- hosts: [{{ ip }}] sudo: yes tasks: - rabbitmq_user: user={{user_name}} vhost={{vhost_name}} state=absent