- hosts: [{{ ip }}] sudo: yes tasks: - new_rabbitmq_vhost: name={{vhost_name}} state=absent