- hosts: [{{host}}] sudo: yes tasks: - rabbitmq_vhost: name={{vhost_name}} state=absent