--- - hosts: backend sudo: yes roles: - role: webserver vhosts: - { hostname: 'webserver.local', dir: '/var/www/htdocs' }