--- - hosts: all handlers: - import_tasks: handlers.yml vars_prompt: - name: password prompt: "Enter new root and admin password" roles: - immortal become: yes - hosts: web handlers: - import_tasks: handlers.yml roles: - web become: yes - hosts: database handlers: - import_tasks: handlers.yml roles: - database become: yes - hosts: all roles: - geerlingguy.docker become: yes